# man > tc-skbedit(8)

SKB editing action in [tc(8)](https://www.chedong.com/phpMan.php/man/tc/8/markdown)                     Linux                    SKB editing action in [tc(8)](https://www.chedong.com/phpMan.php/man/tc/8/markdown)



## NAME
       skbedit - SKB editing action

## SYNOPSIS
       **tc**  ...  **action**  **skbedit**  [  **queue**___**mapping**  _QUEUE_MAPPING_  ]  [  **priority**  _PRIORITY_  ] [ **mark**
               _MARK_[**/**_MASK]_ _]_ _[_ **ptype** _PTYPE_ ] [ **inheritdsfield** ]

## DESCRIPTION
       The **skbedit** action allows to change a packet's associated meta data. It complements the **pedit**
       action, which in turn allows to change parts of the packet data itself.

       The  most unique feature of **skbedit** is its ability to decide over which queue of an interface
       with multiple transmit queues the packet is to be sent out. The number of available  transmit
       queues  is reflected by sysfs entries within _/sys/class/net/<interface>/queues_ with name _tx-N_
       (where _N_ is the actual queue number).

## OPTIONS
       **queue**___**mapping** _QUEUE_MAPPING_
              Override the packet's transmit queue. Useful when applied to packets transmitted  over
              MQ-capable  network  interfaces.   _QUEUE_MAPPING_ is an unsigned 16bit value in decimal
              format.

       **priority** _PRIORITY_
              Override the packet classification decision.  _PRIORITY_ is either **root**, **none** or a hexa‐
              decimal  major  class  ID  optionally  followed by a colon (**:**) and a hexadecimal minor
              class ID.

       **mark** _MARK_[**/**_MASK]_
              Change the packet's firewall mark value.  _MARK_ is an unsigned 32bit value in automati‐
              cally  detected  format (i.e., prefix with '**0x**' for hexadecimal interpretation, etc.).
              _MASK_ defines the 32-bit mask selecting bits of mark value. Default is 0xffffffff.

       **ptype** _PTYPE_
              Override the packet's type. Useful for setting packet type to host when needing to al‐
              low  ingressing  packets  with the wrong MAC address but correct IP address.  _PTYPE_ is
              one of: host, otherhost, broadcast, multicast

### inheritdsfield
              Override the packet classification decision, and any value  specified  with  **priority**,
              using  the  information  stored  in the Differentiated Services Field of the IPv6/IPv4
              header (RFC2474).

## SEE ALSO
       [**tc**(8)](https://www.chedong.com/phpMan.php/man/tc/8/markdown), [**tc-pedit**(8)](https://www.chedong.com/phpMan.php/man/tc-pedit/8/markdown)



iproute2                                     12 Jan 2015                 SKB editing action in [tc(8)](https://www.chedong.com/phpMan.php/man/tc/8/markdown)
