# tc-tcindex - traffic control index filter - man(8) - [phpMan]

_Traffic_ _control_ _index_ [_filter_(8)](https://www.chedong.com/phpMan.php/man/filter/8/markdown)                 Linux                _Traffic_ _control_ _index_ [_filter_(8)](https://www.chedong.com/phpMan.php/man/filter/8/markdown)

## NAME
       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 one to match packets based on their **tcindex **field value, i.e. the combina‐
       tion of the DSCP and ECN fields as present in IPv4 and IPv6 headers.

## OPTIONS
       **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
       [**tc**(8)](https://www.chedong.com/phpMan.php/man/tc/8/markdown)

iproute2                                     21 Oct 2015             _Traffic_ _control_ _index_ [_filter_(8)](https://www.chedong.com/phpMan.php/man/filter/8/markdown)
