diff options
author | guy <guy> | 2007-11-18 02:03:52 +0000 |
---|---|---|
committer | guy <guy> | 2007-11-18 02:03:52 +0000 |
commit | 740fb4355de3babe5856302f84463cb4c0f7c7ac (patch) | |
tree | fba9f4b3f4bd4c540ffea0b0fa055a434f66dc11 /gencode.h | |
parent | 70727eb8d2ac2e2614d086dff5cae8cf61d0af67 (diff) |
Support OpenBSD's "addr1", "addr2", "addr3", and "addr4" link-layer
address types for 802.11.
Support the OpenBSD names for some of the 802.11 frame types.
Support OpenBSD's "dir" keyword for 802.11 frame directions.
Diffstat (limited to 'gencode.h')
-rw-r--r-- | gencode.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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.70 2007-06-11 10:04:25 guy Exp $ (LBL) + * @(#) $Header: /tcpdump/master/libpcap/gencode.h,v 1.71 2007-11-18 02:03:52 guy Exp $ (LBL) */ /* @@ -132,6 +132,10 @@ #define Q_DST 2 #define Q_OR 3 #define Q_AND 4 +#define Q_ADDR1 5 +#define Q_ADDR2 6 +#define Q_ADDR3 7 +#define Q_ADDR4 8 #define Q_DEFAULT 0 #define Q_UNDEF 255 @@ -313,6 +317,7 @@ struct block *gen_pf_action(int); struct block *gen_pf_dir(int); struct block *gen_p80211_type(int, int); +struct block *gen_p80211_fcdir(int); void bpf_optimize(struct block **); void bpf_error(const char *, ...) |