Sync usage with man page.
[netbsd-mini2440.git] / usr.sbin / bootp / bootptest / bootptest.h
blob2cfef0a500f4ecb1f4cfefb05169203e78db43e0
1 /* $NetBSD: bootptest.h,v 1.4 2002/07/14 00:07:01 wiz Exp $ */
3 /* bootptest.h */
4 /*
5 * Hacks for sharing print-bootp.c between tcpdump and bootptest.
6 */
7 #define ESRC(p) (p)
8 #define EDST(p) (p)
10 extern int vflag; /* verbose flag */
12 /* global pointers to beginning and end of current packet (during printing) */
13 extern unsigned char *packetp;
14 extern unsigned char *snapend;
16 extern void bootp_print(struct bootp *, int, u_short, u_short);
17 extern char *ipaddr_string(struct in_addr *);
18 extern int printfn(u_char *, u_char *);