# man > tc-tcindex(8)

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 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
       **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)
