search for: cached_pkts

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

2012 Oct 03
1
[PATCH] pxedump.c32: Simple PXE cached packet dumping
...lude <string.h> +#include <ctype.h> +#include <consoles.h> +#include <syslinux/pxe.h> + +#define countof(arr) (sizeof (arr) / sizeof *(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 *...