summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2
diff options
context:
space:
mode:
authorfnm3 <fnm3>2002-06-25 16:43:23 +0000
committerfnm3 <fnm3>2002-06-25 16:43:23 +0000
commitf8ea9ee8438748907c9e4e1e55f1e610e8d1d6be (patch)
tree8d22614c92892e7088dd7b9e76f27288a933b934 /userspace/ebtables2
parente0bb9062f69e3ed3db227feed7b9247711e34488 (diff)
vlan match extension entry rewritted
Diffstat (limited to 'userspace/ebtables2')
-rw-r--r--userspace/ebtables2/ebtables.818
1 files changed, 11 insertions, 7 deletions
diff --git a/userspace/ebtables2/ebtables.8 b/userspace/ebtables2/ebtables.8
index 2929f8c..d4e23ea 100644
--- a/userspace/ebtables2/ebtables.8
+++ b/userspace/ebtables2/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.