Pull in libpcap's new DLTs
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 14 Dec 2008 05:37:44 +0000 (13:37 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 14 Dec 2008 06:32:43 +0000 (14:32 +0800)
commitf92f178f07fc76325c97b86c432cf7d64ba31ad5
tree27808388cfef381222ff31bf8a7c594d4c75ed54
parent9cf9a79842a43bcc0df2eb424b24d738e96c3694
Pull in libpcap's new DLTs

This commit targets using system net/bpf.h in libpcap instead of
libpcap's own pcap-bpf.h; mainly to make following code compile:
  #include <pcap.h>
  #include <net/bpf.h>

Reported-by: hasso@
Note:
As of this commit DLT_PFSYNC is changed to 18.  The original define
conflicts with libpcap's define and it looks like both libpcap,
NetBSD and OpenBSD use 18 as DLT_PFSYNC.  This may introduce compat
issue with dump files generated using DLT_PFSYNC before this change.
sys/net/bpf.h