add .Mt to man pages in libexec/
[dragonfly.git] / libexec / bootpd / tools / bootptest / bootptest.h
1 /* bootptest.h */
2 /*
3  * Hacks for sharing print-bootp.c between tcpdump and bootptest.
4  */
5 #define ESRC(p) (p)
6 #define EDST(p) (p)
7
8 #ifndef USE_BFUNCS
9 /* Use mem/str functions */
10 /* There are no overlapped copies, so memcpy is OK. */
11 #define bcopy(a,b,c)    memcpy(b,a,c)
12 #define bzero(p,l)      memset(p,0,l)
13 #define bcmp(a,b,c)     memcmp(a,b,c)
14 #endif
15
16 extern int vflag; /* verbose flag */
17
18 /* global pointers to beginning and end of current packet (during printing) */
19 extern unsigned char *packetp;
20 extern unsigned char *snapend;
21
22 extern char *ipaddr_string(struct in_addr *);