search for: mk_ipaddr

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

2012 Oct 03
1
[PATCH] pxedump.c32: Simple PXE cached packet dumping
...ached_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)]; + }; + +struct cached_pkt { + void * buffer; + size_t len; + }; + +struct cached_pkts { + struct cached_pkt pkt[cached_pkt_...