diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2016-11-17 15:41:15 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2016-11-17 15:41:15 +0000 |
commit | 5371a404b7baefd74a0aa4dc768a956e5a7c156a (patch) | |
tree | 0bf15ac04a9821e35be1f7d153fc00b43a086391 /sys | |
parent | 1f1bdf20243270a0519192c8c457c1051bb6b6c5 (diff) |
Add DLT_USER1..15 with the same values as the upstream libpcap repository.
Suggested by reyk@ as a quick fix to unbreak ports/net/wireshark.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/bpf.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/net/bpf.h b/sys/net/bpf.h index 41b90098f1f..1f6425292ca 100644 --- a/sys/net/bpf.h +++ b/sys/net/bpf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.h,v 1.60 2016/11/16 13:47:27 reyk Exp $ */ +/* $OpenBSD: bpf.h,v 1.61 2016/11/17 15:41:14 sthen Exp $ */ /* $NetBSD: bpf.h,v 1.15 1996/12/13 07:57:33 mikel Exp $ */ /* @@ -186,6 +186,21 @@ struct bpf_hdr { #define DLT_PFLOG 117 /* Packet filter logging, by pcap people */ #define DLT_IEEE802_11_RADIO 127 /* IEEE 802.11 plus WLAN header */ #define DLT_USER0 147 /* Reserved for private use */ +#define DLT_USER1 148 /* Reserved for private use */ +#define DLT_USER2 149 /* Reserved for private use */ +#define DLT_USER3 150 /* Reserved for private use */ +#define DLT_USER4 151 /* Reserved for private use */ +#define DLT_USER5 152 /* Reserved for private use */ +#define DLT_USER6 153 /* Reserved for private use */ +#define DLT_USER7 154 /* Reserved for private use */ +#define DLT_USER8 155 /* Reserved for private use */ +#define DLT_USER9 156 /* Reserved for private use */ +#define DLT_USER10 157 /* Reserved for private use */ +#define DLT_USER11 158 /* Reserved for private use */ +#define DLT_USER12 159 /* Reserved for private use */ +#define DLT_USER13 160 /* Reserved for private use */ +#define DLT_USER14 161 /* Reserved for private use */ +#define DLT_USER15 162 /* Reserved for private use */ #define DLT_MPLS 219 /* MPLS Provider Edge header */ #define DLT_OPENFLOW DLT_USER0 |