summaryrefslogtreecommitdiff
path: root/bpf
diff options
context:
space:
mode:
authorguy <guy>2002-06-07 04:17:15 +0000
committerguy <guy>2002-06-07 04:17:15 +0000
commit562499a65ddb30de198356ebedff6d9790f59e67 (patch)
tree599b7a90af9e359621f4f09913ebc760d2775f45 /bpf
parentd041ab8109b1c7f2e44e893d431480f437e6ba52 (diff)
downloadlibpcap-562499a65ddb30de198356ebedff6d9790f59e67.tar.gz
Reserve a DLT_ value for Frame Relay, and map BSD/OS's DLT_FR to it.
Diffstat (limited to 'bpf')
-rw-r--r--bpf/net/bpf.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/bpf/net/bpf.h b/bpf/net/bpf.h
index 9ddf8554..9cf140d3 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.57 2002-06-06 08:57:04 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/bpf/net/Attic/bpf.h,v 1.58 2002-06-07 04:17:15 guy Exp $ (LBL)
*/
#ifndef BPF_MAJOR_VERSION
@@ -347,6 +347,12 @@ struct bpf_hdr {
#define DLT_SUNATM 123 /* Solaris+SunATM */
/*
+ * Reserved for Frame Relay; BSD/OS has a DLT_FR, with a value of 11,
+ * but that collides with other values.
+ */
+#define DLT_FRELAY 124
+
+/*
* The instruction encodings.
*/
/* instruction classes */