aboutsummaryrefslogtreecommitdiffstats
path: root/bpf
diff options
context:
space:
mode:
authorguy <guy>2001-11-02 08:03:39 +0000
committerguy <guy>2001-11-02 08:03:39 +0000
commit88d9e6cb243caa6891d9da11717729af06b0d76a (patch)
tree8892dfda03757e4478d2632d5c732ebf3ea03895 /bpf
parentc781d3d99207659d30261a1e545237d18239fc61 (diff)
Reserve DLT_ type 118 for Cisco internal use, as per a request from
Gilbert Ramirez of Cisco. More explicitly reserve 116 and 117 as well.
Diffstat (limited to 'bpf')
-rw-r--r--bpf/net/bpf.h24
1 files changed, 16 insertions, 8 deletions
diff --git a/bpf/net/bpf.h b/bpf/net/bpf.h
index 6ecd416..55cd002 100644
--- a/bpf/net/bpf.h
+++ b/bpf/net/bpf.h
@@ -37,7 +37,7 @@
*
* @(#)bpf.h 7.1 (Berkeley) 5/7/91
*
- * @(#) $Header: /tcpdump/master/libpcap/bpf/net/Attic/bpf.h,v 1.49 2001-09-09 05:02:29 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/bpf/net/Attic/bpf.h,v 1.50 2001-11-02 08:03:39 guy Exp $ (LBL)
*/
#ifndef BPF_MAJOR_VERSION
@@ -284,14 +284,22 @@ struct bpf_hdr {
#define DLT_ECONET 115
/*
- * 116 is reserved for DLT_IPFILTER.
- * 117 is used in capture-file headers as a link-layer type corresponding
- * to OpenBSD DLT_PFLOG; DLT_PFLOG is 17, but that's DLT_LANE8023 in
- * SuSE 6.3, so we can't use 17 for it in capture-file headers.
- *
- * Don't use 116 for anything other than DLT_IPFILTER, and don't use
- * 117 for anything other than DLT_PFLOG.
+ * Reserved for use with OpenBSD ipfilter.
+ */
+#define DLT_IPFILTER 116
+
+/*
+ * Reserved for use in capture-file headers as a link-layer type
+ * corresponding to OpenBSD DLT_PFLOG; DLT_PFLOG is 17 in OpenBSD,
+ * but that's DLT_LANE8023 in SuSE 6.3, so we can't use 17 for it
+ * in capture-file headers.
+ */
+#define DLT_PFLOG 117
+
+/*
+ * Registered for Cisco-internal use.
*/
+#define DLT_CISCO_IOS 118
/*
* The instruction encodings.