DragonFly commits List (threaded) for 2008-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
DragonFly-2.1.1.47.gf92f1 master sys/net bpf.h
commit f92f178f07fc76325c97b86c432cf7d64ba31ad5
Author: Sepherosa Ziehau <sephe@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]