tc-tcindex (8) Linux Manual Page
tcindex – traffic control index filter
Synopsis
tc filter … tcindex [ hash SIZE ] [ mask MASK ] [ shift SHIFT ] [ pass_on | fall_through ] [ classid CLASSID ] [ action ACTION_SPEC ]
Description
This filter allows to match packets based on their tcindex field value, i.e. the combination of the DSCP and ECN fields as present in IPv4 and IPv6 headers.
Options
actionACTION_SPEC- Apply an action from the generic actions framework on matching packets.
classidCLASSID- Push matching packets into the class identified by CLASSID.
hashSIZE- Hash table size in entries to use. Defaults to 64.
maskMASK- An optional bitmask to binary
ANDto the packet’stcindexfield before use. shiftSHIFT- The number of bits to right-shift a packet’s
tcindexvalue before use. If amaskhas been set, masking is done before shifting. pass_on- If this flag is set, failure to find a class for the resulting ID will make the filter fail and lead to the next filter being consulted.
fall_through- This is the opposite of
pass_onand the default. The filter will classify the packet even if there is no class present for the resulting class ID.
See Also
tc(8)
