summaryrefslogtreecommitdiffstats
path: root/sys/net/bpf.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-09-04 19:24:34 +0000
committersam <sam@FreeBSD.org>2006-09-04 19:24:34 +0000
commit5a5f01cc9ee924e8193548b4eda40eda50ef68eb (patch)
treec236555e13693312a080ec27d0e5beea113e7ea1 /sys/net/bpf.h
parentb288558c95834b0370c0944faefa0fb199fa93d8 (diff)
downloadFreeBSD-src-5a5f01cc9ee924e8193548b4eda40eda50ef68eb.zip
FreeBSD-src-5a5f01cc9ee924e8193548b4eda40eda50ef68eb.tar.gz
more juniper dlt's
MFC after: 1 month
Diffstat (limited to 'sys/net/bpf.h')
-rw-r--r--sys/net/bpf.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/net/bpf.h b/sys/net/bpf.h
index 487784a..3bec119 100644
--- a/sys/net/bpf.h
+++ b/sys/net/bpf.h
@@ -523,6 +523,18 @@ struct bpf_hdr {
#define DLT_LINUX_LAPD 177
/*
+ * Juniper-private data link type, as per request from
+ * Hannes Gredler <hannes@juniper.net>.
+ * The DLT_ are used for prepending meta-information
+ * like interface index, interface name
+ * before standard Ethernet, PPP, Frelay & C-HDLC Frames
+ */
+#define DLT_JUNIPER_ETHER 178
+#define DLT_JUNIPER_PPP 179
+#define DLT_JUNIPER_FRELAY 180
+#define DLT_JUNIPER_CHDLC 181
+
+/*
* The instruction encodings.
*/
/* instruction classes */
OpenPOWER on IntegriCloud