1 1.5 tls /* $NetBSD: bootptest.h,v 1.5 2007/05/27 16:31:42 tls Exp $ */ 2 1.2 perry 3 1.1 gwr /* bootptest.h */ 4 1.1 gwr /* 5 1.1 gwr * Hacks for sharing print-bootp.c between tcpdump and bootptest. 6 1.1 gwr */ 7 1.1 gwr #define ESRC(p) (p) 8 1.1 gwr #define EDST(p) (p) 9 1.1 gwr 10 1.1 gwr extern int vflag; /* verbose flag */ 11 1.1 gwr 12 1.1 gwr /* global pointers to beginning and end of current packet (during printing) */ 13 1.1 gwr extern unsigned char *packetp; 14 1.1 gwr extern unsigned char *snapend; 15 1.1 gwr 16 1.4 wiz extern void bootp_print(struct bootp *, int, u_short, u_short); 17 1.4 wiz extern char *ipaddr_string(struct in_addr *); 18 1.4 wiz extern int printfn(u_char *, u_char *); 19