From ed7e901dee170372e1d1353bb94c3f3a2fe7f77a Mon Sep 17 00:00:00 2001 From: fnm3 Date: Tue, 25 Jun 2002 16:43:23 +0000 Subject: vlan match extension entry rewritted --- ebtables.8 | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'ebtables.8') diff --git a/ebtables.8 b/ebtables.8 index 2929f8c..d4e23ea 100644 --- a/ebtables.8 +++ b/ebtables.8 @@ -321,18 +321,22 @@ The ARP IP source address specification. The ARP IP destination address specification. .SS vlan Specify 802.1Q Tag Control Information fields. These will only work if the protocol equals -.BR 802_1Q . -For more details see +.BR 802_1Q. +Also see extension help by .BR "ebtables -h vlan" . .TP .BR "--vlan-id " "[!] \fIid\fP" -The VLAN identifier (decimal number from 0 to 4095). +The VLAN identifier field, VID (decimal number from 0 to 4094). .TP .BR "--vlan-prio " "[!] \fIprio\fP" -The VLAN user priority type, this can be a decimal number from 0 to 7. The default value is 0. -.TP -.BR "--vlan-encap " "[!] \fIprotocol\fP" -The VLAN encapsulated protocol, this can be a hexadecimal number from 0000 to FFFF. The default value is 0. +The user_priority field, this can be a decimal number from 0 to 7. +Required VID to be 0 (null VID) or not specified vlan-id parameter (in this case VID deliberately be set to 0). +.TP +.BR "--vlan-encap " "[!] \fItype\fP" +The encapsulated ethernet frame type/length, this can be a hexadecimal number from 0x0000 to 0xFFFF. +Usually it's 0x0800 (IPv4). See also +.B /etc/ethertypes +file. .SH WATCHER EXTENSION(S) Watchers are things that only look at frames passing by. These watchers only see the frame if the frame passes all the matches of the rule. -- cgit v1.2.3