summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-05-16 04:34:59 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-05-16 04:34:59 +0000
commit733805b245c3d6f63046af7220ac366475b3e825 (patch)
tree6f9977a9bd3baaeef0037b85416ea8544df854e1
parent23e4157d12a507e4dfeeeebd18d6370b4657ef84 (diff)
add DLT_PPP_ETHER DLT type
From NetBSD ok deraadt@
-rw-r--r--sys/net/bpf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/bpf.h b/sys/net/bpf.h
index ef1a64e63eb..a922c8255ae 100644
--- a/sys/net/bpf.h
+++ b/sys/net/bpf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.h,v 1.26 2004/04/26 08:10:10 otto Exp $ */
+/* $OpenBSD: bpf.h,v 1.27 2004/05/16 04:34:58 brad Exp $ */
/* $NetBSD: bpf.h,v 1.15 1996/12/13 07:57:33 mikel Exp $ */
/*
@@ -169,6 +169,7 @@ struct bpf_hdr {
#define DLT_PPP_BSDOS 16 /* BSD/OS Point-to-point Protocol */
#define DLT_OLD_PFLOG 17 /* Packet filter logging, old (XXX remove?) */
#define DLT_PFSYNC 18 /* Packet filter state syncing */
+#define DLT_PPP_ETHER 51 /* PPP over Ethernet; session only, w/o ether header */
#define DLT_IEEE802_11 105 /* IEEE 802.11 wireless */
#define DLT_PFLOG 117 /* Packet filter logging, by pcap people */