{
    "mode": "man",
    "parameter": "tc-tcindex",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/tc-tcindex/8/json",
    "generated": "2026-07-05T13:39:00Z",
    "synopsis": "tc  filter ... tcindex [ hash SIZE ] [ mask MASK ] [ shift SHIFT ] [ passon | fallthrough ]\n[ classid CLASSID ] [ action ACTIONSPEC ]",
    "sections": {
        "NAME": {
            "content": "tcindex - traffic control index filter\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "tc  filter ... tcindex [ hash SIZE ] [ mask MASK ] [ shift SHIFT ] [ passon | fallthrough ]\n[ classid CLASSID ] [ action ACTIONSPEC ]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This filter allows to match packets based on their tcindex field value, i.e. the  combination\nof the DSCP and ECN fields as present in IPv4 and IPv6 headers.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "action ACTIONSPEC\nApply an action from the generic actions framework on matching packets.\n\nclassid CLASSID\nPush matching packets into the class identified by CLASSID.\n\nhash SIZE\nHash table size in entries to use. Defaults to 64.\n\nmask MASK\nAn optional bitmask to binary AND to the packet's tcindex field before use.\n\nshift SHIFT\nThe  number  of bits to right-shift a packet's tcindex value before use. If a mask has\nbeen set, masking is done before shifting.\n\npasson\nIf this flag is set, failure to find a class for the resulting ID will make the filter\nfail and lead to the next filter being consulted.\n\nfallthrough\nThis  is  the opposite of passon and the default. The filter will classify the packet\neven if there is no class present for the resulting class ID.\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "tc(8)\n\n\n\niproute2                                     21 Oct 2015             Traffic control index filter(8)",
            "subsections": []
        }
    },
    "summary": "tcindex - traffic control index filter",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "tc",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/tc/8/json"
        },
        {
            "name": "filter",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/filter/8/json"
        }
    ]
}