diff options
author | guy <guy> | 2000-10-22 04:15:55 +0000 |
---|---|---|
committer | guy <guy> | 2000-10-22 04:15:55 +0000 |
commit | 98a503e84307f830f1d42a33b701869f5e2ce4fb (patch) | |
tree | 01516208b7e01f70238514d0f464bfa20d8382a3 /gencode.h | |
parent | 62518217343f5859819e14d6b35041a4b190d301 (diff) |
Improved VLAN support, from Peter Jeremy - "vlan" filtering keyword,
letting you filter based on the VLAN to which a packet belongs, and an
improvement to the printing of VLAN packets (adding an extra space to
separate the VLAN priority and flags from the next stuff printed).
Diffstat (limited to 'gencode.h')
-rw-r--r-- | gencode.h | 4 |
1 files changed, 3 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.41 2000-07-13 06:51:56 guy Exp $ (LBL) + * @(#) $Header: /tcpdump/master/libpcap/gencode.h,v 1.42 2000-10-22 04:15:56 guy Exp $ (LBL) */ /* Address qualifiers. */ @@ -173,6 +173,8 @@ struct block *gen_broadcast(int); struct block *gen_multicast(int); struct block *gen_inbound(int); +struct block *gen_vlan(int); + void bpf_optimize(struct block **); void bpf_error(const char *, ...) #if HAVE___ATTRIBUTE__ |