aboutsummaryrefslogtreecommitdiff
path: root/pcap-bpf.h
diff options
context:
space:
mode:
authorhannes <hannes>2005-08-12 19:23:30 +0000
committerhannes <hannes>2005-08-12 19:23:30 +0000
commit9ab067e0122385a4ddac4072d381950c5459089f (patch)
treeae3010ae0436bb3077ea2007fa377e7c8bc979fe /pcap-bpf.h
parent88389e4834e86f28be7967e52b7d4dab57359284 (diff)
allocate 4 new DLTs on behalf of Juniper Networks, Inc. for
prepending meta-information like interface index, interface name before a standard Ethernet, PPP, Frame Relay, C-HDLC Frame
Diffstat (limited to 'pcap-bpf.h')
-rw-r--r--pcap-bpf.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/pcap-bpf.h b/pcap-bpf.h
index 9887330a..04ac48a5 100644
--- a/pcap-bpf.h
+++ b/pcap-bpf.h
@@ -37,7 +37,7 @@
*
* @(#)bpf.h 7.1 (Berkeley) 5/7/91
*
- * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.39 2005-08-01 01:13:53 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.40 2005-08-12 19:23:31 hannes Exp $ (LBL)
*/
/*
@@ -594,6 +594,18 @@ struct bpf_version {
#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 */