{
    "mode": "man",
    "parameter": "tc-skbedit",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/tc-skbedit/8/json",
    "generated": "2026-08-18T14:00:46Z",
    "synopsis": "tc  ...  action  skbedit  [  queuemapping  QUEUEMAPPING  ]  [  priority  PRIORITY  ] [ mark\nMARK[/MASK] ] [ ptype PTYPE ] [ inheritdsfield ]",
    "sections": {
        "NAME": {
            "content": "skbedit - SKB editing action\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "tc  ...  action  skbedit  [  queuemapping  QUEUEMAPPING  ]  [  priority  PRIORITY  ] [ mark\nMARK[/MASK] ] [ ptype PTYPE ] [ inheritdsfield ]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The skbedit action allows one to change a packet's associated meta data. It  complements  the\npedit action, which in turn allows one to change parts of the packet data itself.\n\nThe  most unique feature of skbedit is its ability to decide over which queue of an interface\nwith multiple transmit queues the packet is to be sent out. The number of available  transmit\nqueues  is reflected by sysfs entries within /sys/class/net/<interface>/queues with name tx-N\n(where N is the actual queue number).\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "queuemapping QUEUEMAPPING\nOverride the packet's transmit queue. Useful when applied to packets transmitted  over\nMQ-capable  network  interfaces.   QUEUEMAPPING is an unsigned 16bit value in decimal\nformat.\n\npriority PRIORITY\nOverride the packet classification decision.  PRIORITY is either root, none or a hexa‐\ndecimal major class ID optionally followed by a colon  (:)  and  a  hexadecimal  minor\nclass ID.\n\nmark MARK[/MASK]\nChange the packet's firewall mark value.  MARK is an unsigned 32bit value in automati‐\ncally  detected  format (i.e., prefix with '0x' for hexadecimal interpretation, etc.).\nMASK defines the 32-bit mask selecting bits of mark value. Default is 0xffffffff.\n\nptype PTYPE\nOverride the packet's type. Useful for setting packet type to host when needing to al‐\nlow ingressing packets with the wrong MAC address but correct IP  address.   PTYPE  is\none of: host, otherhost, broadcast, multicast\n",
            "subsections": [
                {
                    "name": "inheritdsfield",
                    "content": "Override  the  packet  classification decision, and any value specified with priority,\nusing the information stored in the Differentiated Services  Field  of  the  IPv6/IPv4\nheader (RFC2474).\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "tc(8), tc-pedit(8)\n\niproute2                                     12 Jan 2015                 SKB editing action in tc(8)",
            "subsections": []
        }
    },
    "summary": "skbedit - SKB editing action",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "tc",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/tc/8/json"
        },
        {
            "name": "tc-pedit",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/tc-pedit/8/json"
        },
        {
            "name": "tc",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/tc/8/json"
        }
    ]
}