mirror of
https://github.com/opnsense/src.git
synced 2026-02-25 02:42:54 -05:00
We'd likely be better served by converting these to the equivalent mem* calls, but just kill the knob for now. The b* macros being defined get in the way of _FORTIFY_SOURCE. Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D32235
18 lines
488 B
C
18 lines
488 B
C
/* bootptest.h */
|
|
/* $FreeBSD$ */
|
|
/*
|
|
* Hacks for sharing print-bootp.c between tcpdump and bootptest.
|
|
*/
|
|
#define ESRC(p) (p)
|
|
#define EDST(p) (p)
|
|
|
|
extern int vflag; /* verbose flag */
|
|
|
|
/* global pointers to beginning and end of current packet (during printing) */
|
|
extern unsigned char *packetp;
|
|
extern unsigned char *snapend;
|
|
|
|
void bootp_print(struct bootp *bp, int length, u_short sport,
|
|
u_short dport);
|
|
char *ipaddr_string(struct in_addr *);
|
|
int printfn(u_char *s, u_char *ep);
|