search for: free_cached_pkt

Displaying 1 result from an estimated 1 matches for "free_cached_pkt".

Did you mean: free_cached_pkts
2012 Oct 03
1
[PATCH] pxedump.c32: Simple PXE cached packet dumping
...f *(arr)) +#define cached_pkt_count 3 +#define ipaddr_str_template "AAA.BBB.CCC.DDD" + +struct ipaddr_str; +struct cached_pkt; +struct cached_pkts; + +static int get_cached_pkts(struct cached_pkts * cached_pkts); +static int dump_cached_pkts(struct cached_pkts * cached_pkts); +static void free_cached_pkts(struct cached_pkts * cached_pkts); +static void dump_cached_pkt(struct cached_pkt * cached_pkt); +static int mk_ipaddr(struct ipaddr_str * str, in_addr_t addr); +static void hexdump(const void * memory, size_t bytes); + +struct ipaddr_str { + char v[countof(ipaddr_str_template)]; + }; + +struc...