aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-bpf.h
diff options
context:
space:
mode:
authorguy <guy>2005-02-08 20:03:15 +0000
committerguy <guy>2005-02-08 20:03:15 +0000
commit8804809bf5cff0c4ebd01e23ef834da09ecebf0f (patch)
tree153564f18687b83d8e95fbc9edc058e718919015 /pcap-bpf.h
parentc1401d47257475f7c1e0b63da7e5e7dfa37cefe0 (diff)
Add DLT_ values requested by Gregor Maier <gregor@endace.com> of Endace
Measurement Systems.
Diffstat (limited to 'pcap-bpf.h')
-rw-r--r--pcap-bpf.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/pcap-bpf.h b/pcap-bpf.h
index 534690b..28c72d3 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.33 2005-02-08 19:52:18 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.34 2005-02-08 20:03:15 guy Exp $ (LBL)
*/
/*
@@ -572,6 +572,15 @@ struct bpf_version {
#define DLT_JUNIPER_PIC_PEER 174
/*
+ * Link types requested by Gregor Maier <gregor@endace.com> of Endace
+ * Measurement Systems. They add an ERF header (see
+ * http://www.endace.com/support/EndaceRecordFormat.pdf) in front of
+ * the link-layer header.
+ */
+#define DLT_ERF_ETH 175 /* Ethernet */
+#define DLT_ERF_POS 176 /* Packet-over-SONET */
+
+/*
* The instruction encodings.
*/
/* instruction classes */