DragonFly-2.1.1.47.gf92f1 master sys/net bpf.h
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sat Dec 13 22:37:20 PST 2008
commit f92f178f07fc76325c97b86c432cf7d64ba31ad5
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Sun Dec 14 13:37:44 2008 +0800
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.
Summary of changes:
sys/net/bpf.h | 368 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 360 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commitdiff;h=f92f178f07fc76325c97b86c432cf7d64ba31ad5
--
DragonFly BSD source repository
More information about the Commits
mailing list