aboutsummaryrefslogtreecommitdiff
path: root/gencode.h
diff options
context:
space:
mode:
authorguy <guy>2007-03-11 04:35:23 +0000
committerguy <guy>2007-03-11 04:35:23 +0000
commit885670183dcf0f7ca39424a0f6ff9c6c1401b2ef (patch)
treef18ee9291dc1a588b369fbf8e5e3d2cb0172119f /gencode.h
parent04203b96b616f77bc72321350d39c8a91edeec36 (diff)
From Sepherosa Ziehau: additional filter operations for 802.11 frame
types. Modified to add ieee80211.h from FreeBSD, rather than depending on the OS supplying the header, and to support all 802.11 radio header types. Clean up some link-layer type checks and the messages for failing those checks.
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 e36e0b79..a7eb6543 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.68 2007-02-08 07:15:27 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/gencode.h,v 1.69 2007-03-11 04:35:24 guy Exp $ (LBL)
*/
/*
@@ -312,6 +312,8 @@ struct block *gen_pf_reason(int);
struct block *gen_pf_action(int);
struct block *gen_pf_dir(int);
+struct block *gen_p80211_type(int, int);
+
void bpf_optimize(struct block **);
void bpf_error(const char *, ...)
__attribute__((noreturn, format (printf, 1, 2)));