aboutsummaryrefslogtreecommitdiffstats
path: root/bpf
diff options
context:
space:
mode:
authorguy <guy>2002-12-11 22:43:31 +0000
committerguy <guy>2002-12-11 22:43:31 +0000
commitcb1f8ef14dfe6ae855f2a91894b1931ab4e9eee2 (patch)
tree878ec765ff0edcdf0660342cfe859bbba70b02d0 /bpf
parentbd4881668c87901ee50a4bf648a4bcc2b38ad5c0 (diff)
Add new DLT_ type for AVS's WLAN header.
Diffstat (limited to 'bpf')
-rw-r--r--bpf/net/bpf.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/bpf/net/bpf.h b/bpf/net/bpf.h
index 94ca189..030cc00 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.63 2002-10-18 08:46:15 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/bpf/net/Attic/bpf.h,v 1.64 2002-12-11 22:43:32 guy Exp $ (LBL)
*/
#ifndef BPF_MAJOR_VERSION
@@ -367,14 +367,24 @@ struct bpf_hdr {
/*
* Reserved as per request from Kent Dahlgren <kent@praesum.com>
- * for private use
+ * for private use.
*/
-
#define DLT_RIO 124 /* RapidIO */
#define DLT_PCI_EXP 125 /* PCI Express */
#define DLT_AURORA 126 /* Xilinx Aurora link layer */
/*
+ * For future use with 802.11 captures - defined by AbsoluteValue
+ * Systems to store a number of bits of link-layer information:
+ *
+ * http://www.shaftnet.org/~pizza/software/capturefrm.txt
+ *
+ * but could and arguably should also be used by non-AVS Linux
+ * 802.11 drivers and BSD drivers; that may happen in the future.
+ */
+#define DLT_IEEE802_11_RADIO 127 /* 802.11 plus WLAN header */
+
+/*
* The instruction encodings.
*/
/* instruction classes */