summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2012-03-26 19:37:43 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2012-03-26 19:37:43 +0000
commit4c4ada6e87aafe7d35f9c6741db7897fbd24a456 (patch)
tree3d156cd45a379bfac1aaa0a8607625a10a75bc83 /sys
parent3d109d71a5a1fb6305ad6eb51a166eca695f72e3 (diff)
Add DLT_PPP_SERIAL and DLT_C_HDLC to bpf.h even though the system will not
generate such packets but it helps porting applications that assume that these are available on any system. Requested by dhill long time ago.
Diffstat (limited to 'sys')
-rw-r--r--sys/net/bpf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/bpf.h b/sys/net/bpf.h
index 0028d6be70e..6be91c7a4c8 100644
--- a/sys/net/bpf.h
+++ b/sys/net/bpf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.h,v 1.42 2011/07/26 09:24:52 martynas Exp $ */
+/* $OpenBSD: bpf.h,v 1.43 2012/03/26 19:37:42 claudio Exp $ */
/* $NetBSD: bpf.h,v 1.15 1996/12/13 07:57:33 mikel Exp $ */
/*
@@ -180,7 +180,9 @@ struct bpf_hdr {
#define DLT_SLIP_BSDOS 15 /* BSD/OS Serial Line IP */
#define DLT_PPP_BSDOS 16 /* BSD/OS Point-to-point Protocol */
#define DLT_PFSYNC 18 /* Packet filter state syncing */
+#define DLT_PPP_SERIAL 50 /* PPP over Serial with HDLC */
#define DLT_PPP_ETHER 51 /* PPP over Ethernet; session only w/o ether header */
+#define DLT_C_HDLC 104 /* Cisco HDLC */
#define DLT_IEEE802_11 105 /* IEEE 802.11 wireless */
#define DLT_PFLOG 117 /* Packet filter logging, by pcap people */
#define DLT_IEEE802_11_RADIO 127 /* IEEE 802.11 plus WLAN header */