freebsd-nq/contrib/libpcap/pcap
Joseph Mingrone 6d1c946e91
libpcap: Make pcap/bpf.h a wrapper around system net/bpf.h
In the past, we modified pcap/pcap.h to include the system net/bpf.h
rather than libpcap's own pcap/bpf.h.  However, starting around 1.10.2,
libpcap requires a few extern functions defined in pcap/bpf.h to build.
Simply reverting that local change and pulling in pcap/bpf.h is not a
solution, because some ports with '#include <pcap.h>' such as mail/spamd
and net/xprobe require the system net/bpf.h to be pulled in.  To
accommodate both requirements, make pcap/bpf.h a wrapper around the
system net/bpf.h, but retain the extern function definitions.  This is
in preparation for libpcap 1.10.3.

Approved by:	cy, philip, emaste, delphij (earlier revision)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D38575
2023-02-16 11:37:51 -04:00
..
bluetooth.h
bpf.h libpcap: Make pcap/bpf.h a wrapper around system net/bpf.h 2023-02-16 11:37:51 -04:00
can_socketcan.h
compiler-tests.h MFV r353141 (by phillip): 2019-12-21 21:01:03 +00:00
dlt.h MFV r353141 (by phillip): 2019-12-21 21:01:03 +00:00
funcattrs.h MFV r353141 (by phillip): 2019-12-21 21:01:03 +00:00
ipnet.h
namedb.h
nflog.h MFV r353141 (by phillip): 2019-12-21 21:01:03 +00:00
pcap-inttypes.h MFV r353141 (by phillip): 2019-12-21 21:01:03 +00:00
pcap.h libpcap: Make pcap/bpf.h a wrapper around system net/bpf.h 2023-02-16 11:37:51 -04:00
sll.h MFV r353141 (by phillip): 2019-12-21 21:01:03 +00:00
socket.h MFV r353141 (by phillip): 2019-12-21 21:01:03 +00:00
usb.h
vlan.h