From 4c4ada6e87aafe7d35f9c6741db7897fbd24a456 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Mon, 26 Mar 2012 19:37:43 +0000 Subject: 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. --- sys/net/bpf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys') 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 */ -- cgit v1.2.3