tc-tcindex(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | SEE ALSO | COLOPHON

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 one 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 packets.

       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
              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_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

       tc(8)

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 
       ⟨http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2⟩.
       If you have a bug report for this manual page, send it to
       netdev@vger.kernel.org, shemminger@osdl.org.  This page was
       obtained from the project's upstream Git repository
       ⟨https://git.kernel.org/pub/scm/network/iproute2/iproute2.git⟩ on
       2023-06-23.  (At that time, the date of the most recent commit
       that was found in the repository was 2023-06-09.)  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 man-pages@man7.org

iproute2                       21 Oct 2015Traffic control index filter(8)

Pages that refer to this page: tc(8)