tc: document 'mask' parameter in skbedit man page

Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
Roman Mashak 2019-07-08 12:06:18 -04:00 committed by Stephen Hemminger
parent 82f3df2028
commit 26a49de4db
1 changed files with 4 additions and 3 deletions

View File

@ -9,8 +9,7 @@ skbedit - SKB editing action
.IR QUEUE_MAPPING " ] [" .IR QUEUE_MAPPING " ] ["
.B priority .B priority
.IR PRIORITY " ] [" .IR PRIORITY " ] ["
.B mark .BI mark " MARK\fR[\fB/\fIMASK] ] ["
.IR MARK " ] ["
.B ptype .B ptype
.IR PTYPE " ] [" .IR PTYPE " ] ["
.BR inheritdsfield " ]" .BR inheritdsfield " ]"
@ -49,12 +48,14 @@ or a hexadecimal major class ID optionally followed by a colon
.RB ( : ) .RB ( : )
and a hexadecimal minor class ID. and a hexadecimal minor class ID.
.TP .TP
.BI mark " MARK" .BI mark " MARK\fR[\fB/\fIMASK]"
Change the packet's firewall mark value. Change the packet's firewall mark value.
.I MARK .I MARK
is an unsigned 32bit value in automatically detected format (i.e., prefix with is an unsigned 32bit value in automatically detected format (i.e., prefix with
.RB ' 0x ' .RB ' 0x '
for hexadecimal interpretation, etc.). for hexadecimal interpretation, etc.).
.I MASK
defines the 32-bit mask selecting bits of mark value. Default is 0xffffffff.
.TP .TP
.BI ptype " PTYPE" .BI ptype " PTYPE"
Override the packet's type. Useful for setting packet type to host when Override the packet's type. Useful for setting packet type to host when