aboutsummaryrefslogtreecommitdiff
path: root/gencode.h
diff options
context:
space:
mode:
authorguy <guy>2005-05-02 21:13:08 +0000
committerguy <guy>2005-05-02 21:13:08 +0000
commit875df1a9375fdeebeb9497cc7ef7cd5656a89447 (patch)
tree6f210fa079bfcd0c3e5cf6d46304be5296332152 /gencode.h
parent37bd0411b437e6008eeb73f3bb2fe5962f06d7ce (diff)
Make "link[N:M]" refer to the 802.11 header for all 802.11 DLT_ values,
including those with fixed-length radio headers (it already refers to the 802.11 header for radiotap). Add a new "radio" keyword, to allow access to the radio header. In theory, something to allow testing for specific signal strengths, etc. might be useful, but radiotap makes that difficult as the code can't loop through the header looking for the signal strength field, the loop has to be unrolled, and some of the other headers might not have standardized the meaning of some of the fields, so we require the user to construct such a filter themselves, for now.
Diffstat (limited to 'gencode.h')
-rw-r--r--gencode.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gencode.h b/gencode.h
index c18dea58..74cded59 100644
--- a/gencode.h
+++ b/gencode.h
@@ -18,7 +18,7 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#) $Header: /tcpdump/master/libpcap/gencode.h,v 1.63 2005-05-01 08:37:06 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/gencode.h,v 1.64 2005-05-02 21:13:08 guy Exp $ (LBL)
*/
/*
@@ -124,6 +124,8 @@
#define Q_ISIS_PSNP 38
#define Q_ISIS_LSP 39
+#define Q_RADIO 40
+
/* Directional qualifiers. */
#define Q_SRC 1