tc-tcindex(8) — Linux manual page


Traffic control index filter(8)     Linux    Traffic control index filter(8)

NAME         top

       tcindex - traffic control index filter

SYNOPSIS         top

       tc filter ... tcindex [ hash SIZE ] [ mask MASK ] [ shift SHIFT ] [
               pass_on | fall_through ] [ classid CLASSID ] [ action
               ACTION_SPEC ]

DESCRIPTION         top

       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         top

       action ACTION_SPEC
              Apply an action from the generic actions framework on matching

       classid CLASSID
              Push matching packets into the class identified by CLASSID.

       hash SIZE
              Hash table size in entries to use. Defaults to 64.

       mask MASK
              An optional bitmask to binary AND to the packet's tcindex
              field before use.

       shift SHIFT
              The number of bits to right-shift a packet's tcindex value
              before use. If a mask has been set, masking is done before

              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

              This is the opposite of pass_on and the default. The filter
              will classify the packet even if there is no class present for
              the resulting class ID.

SEE ALSO         top


COLOPHON         top

       This page is part of the iproute2 (utilities for controlling TCP/IP
       networking and traffic) project.  Information about the project can
       be found at 
       If you have a bug report for this manual page, send it to,  This page was obtained
       from the project's upstream Git repository
       ⟨⟩ on
       2020-11-01.  (At that time, the date of the most recent commit that
       was found in the repository was 2020-10-28.)  If you discover any
       rendering problems in this HTML version of the page, or you believe
       there is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

iproute2                         21 Oct 2015 Traffic control index filter(8)

Pages that refer to this page: tc(8)