summaryrefslogtreecommitdiff
path: root/sys/net/bpf.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2017-02-22 09:56:04 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2017-02-22 09:56:04 +0000
commitfb5f74655cd75ad63ae5923e7a860bd53ac7123f (patch)
tree5356c52b5203dd593c87ae9c12a09c8ea10f5c47 /sys/net/bpf.h
parent278ccd8bade672c34625ed8b202883732fef0fc8 (diff)
The pcap people gave us ID 267 for DLT_OPENFLOW
Via https://github.com/the-tcpdump-group/libpcap/issues/542 OK sthen@ jsg@
Diffstat (limited to 'sys/net/bpf.h')
-rw-r--r--sys/net/bpf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bpf.h b/sys/net/bpf.h
index 1f6425292ca..1583d44abcf 100644
--- a/sys/net/bpf.h
+++ b/sys/net/bpf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.h,v 1.61 2016/11/17 15:41:14 sthen Exp $ */
+/* $OpenBSD: bpf.h,v 1.62 2017/02/22 09:56:03 reyk Exp $ */
/* $NetBSD: bpf.h,v 1.15 1996/12/13 07:57:33 mikel Exp $ */
/*
@@ -202,7 +202,7 @@ struct bpf_hdr {
#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
+#define DLT_OPENFLOW 267 /* in-kernel OpenFlow, by pcap */
/*
* The instruction encodings.