Current Path : /usr/src/libexec/bootpd/tools/bootptest/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/libexec/bootpd/tools/bootptest/bootptest.h |
/* bootptest.h */ /* $FreeBSD: release/9.1.0/libexec/bootpd/tools/bootptest/bootptest.h 97419 2002-05-28 18:39:53Z alfred $ */ /* * Hacks for sharing print-bootp.c between tcpdump and bootptest. */ #define ESRC(p) (p) #define EDST(p) (p) #ifndef USE_BFUNCS /* Use mem/str functions */ /* There are no overlapped copies, so memcpy is OK. */ #define bcopy(a,b,c) memcpy(b,a,c) #define bzero(p,l) memset(p,0,l) #define bcmp(a,b,c) memcmp(a,b,c) #endif extern int vflag; /* verbose flag */ /* global pointers to beginning and end of current packet (during printing) */ extern unsigned char *packetp; extern unsigned char *snapend; extern char *ipaddr_string(struct in_addr *);