aboutsummaryrefslogtreecommitdiff
path: root/gencode.h
diff options
context:
space:
mode:
authorguy <guy>2000-10-22 04:15:55 +0000
committerguy <guy>2000-10-22 04:15:55 +0000
commit98a503e84307f830f1d42a33b701869f5e2ce4fb (patch)
tree01516208b7e01f70238514d0f464bfa20d8382a3 /gencode.h
parent62518217343f5859819e14d6b35041a4b190d301 (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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gencode.h b/gencode.h
index 51c0e66d..8feffb06 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.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__