Blame man/man8/tc-tcindex.8
|
Packit Service |
3880ab |
.TH "Traffic control index filter" 8 "21 Oct 2015" "iproute2" "Linux"
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
.SH NAME
|
|
Packit Service |
3880ab |
tcindex \- traffic control index filter
|
|
Packit Service |
3880ab |
.SH SYNOPSIS
|
|
Packit Service |
3880ab |
.in +8
|
|
Packit Service |
3880ab |
.ti -8
|
|
Packit Service |
3880ab |
.BR tc " " filter " ... " tcindex " [ " hash
|
|
Packit Service |
3880ab |
.IR SIZE " ] [ "
|
|
Packit Service |
3880ab |
.B mask
|
|
Packit Service |
3880ab |
.IR MASK " ] [ "
|
|
Packit Service |
3880ab |
.B shift
|
|
Packit Service |
3880ab |
.IR SHIFT " ] [ "
|
|
Packit Service |
3880ab |
.BR pass_on " | " fall_through " ] [ " classid
|
|
Packit Service |
3880ab |
.IR CLASSID " ] [ "
|
|
Packit Service |
3880ab |
.B action
|
|
Packit Service |
3880ab |
.BR ACTION_SPEC " ]"
|
|
Packit Service |
3880ab |
.SH DESCRIPTION
|
|
Packit Service |
3880ab |
This filter allows to match packets based on their
|
|
Packit Service |
3880ab |
.B tcindex
|
|
Packit Service |
3880ab |
field value, i.e. the combination of the DSCP and ECN fields as present in IPv4
|
|
Packit Service |
3880ab |
and IPv6 headers.
|
|
Packit Service |
3880ab |
.SH OPTIONS
|
|
Packit Service |
3880ab |
.TP
|
|
Packit Service |
3880ab |
.BI action " ACTION_SPEC"
|
|
Packit Service |
3880ab |
Apply an action from the generic actions framework on matching packets.
|
|
Packit Service |
3880ab |
.TP
|
|
Packit Service |
3880ab |
.BI classid " CLASSID"
|
|
Packit Service |
3880ab |
Push matching packets into the class identified by
|
|
Packit Service |
3880ab |
.IR CLASSID .
|
|
Packit Service |
3880ab |
.TP
|
|
Packit Service |
3880ab |
.BI hash " SIZE"
|
|
Packit Service |
3880ab |
Hash table size in entries to use. Defaults to 64.
|
|
Packit Service |
3880ab |
.TP
|
|
Packit Service |
3880ab |
.BI mask " MASK"
|
|
Packit Service |
3880ab |
An optional bitmask to binary
|
|
Packit Service |
3880ab |
.BR AND " to the packet's " tcindex
|
|
Packit Service |
3880ab |
field before use.
|
|
Packit Service |
3880ab |
.TP
|
|
Packit Service |
3880ab |
.BI shift " SHIFT"
|
|
Packit Service |
3880ab |
The number of bits to right-shift a packet's
|
|
Packit Service |
3880ab |
.B tcindex
|
|
Packit Service |
3880ab |
value before use. If a
|
|
Packit Service |
3880ab |
.B mask
|
|
Packit Service |
3880ab |
has been set, masking is done before shifting.
|
|
Packit Service |
3880ab |
.TP
|
|
Packit Service |
3880ab |
.B pass_on
|
|
Packit Service |
3880ab |
If this flag is set, failure to find a class for the resulting ID will make the
|
|
Packit Service |
3880ab |
filter fail and lead to the next filter being consulted.
|
|
Packit Service |
3880ab |
.TP
|
|
Packit Service |
3880ab |
.B fall_through
|
|
Packit Service |
3880ab |
This is the opposite of
|
|
Packit Service |
3880ab |
.B pass_on
|
|
Packit Service |
3880ab |
and the default. The filter will classify the packet even if there is no class
|
|
Packit Service |
3880ab |
present for the resulting class ID.
|
|
Packit Service |
3880ab |
|
|
Packit Service |
3880ab |
.SH SEE ALSO
|
|
Packit Service |
3880ab |
.BR tc (8)
|