1SKB editing action in tc(8)          Linux         SKB editing action in tc(8)
2
3
4

NAME

6       skbedit - SKB editing action
7

SYNOPSIS

9       tc ... action skbedit [ queue_mapping QUEUE_MAPPING ] [ priority PRIOR‐
10               ITY ] [ mark MARK[/MASK] ] [ ptype PTYPE ] [ inheritdsfield ]
11

DESCRIPTION

13       The skbedit action allows to change a packet's associated meta data. It
14       complements  the  pedit action, which in turn allows to change parts of
15       the packet data itself.
16
17       The most unique feature of skbedit is its ability to decide over  which
18       queue of an interface with multiple transmit queues the packet is to be
19       sent out. The number of available transmit queues is reflected by sysfs
20       entries  within /sys/class/net/<interface>/queues with name tx-N (where
21       N is the actual queue number).
22

OPTIONS

24       queue_mapping QUEUE_MAPPING
25              Override the packet's transmit queue.  Useful  when  applied  to
26              packets   transmitted   over   MQ-capable   network  interfaces.
27              QUEUE_MAPPING is an unsigned 16bit value in decimal format.
28
29       priority PRIORITY
30              Override the packet classification decision.  PRIORITY is either
31              root,  none  or a hexadecimal major class ID optionally followed
32              by a colon (:) and a hexadecimal minor class ID.
33
34       mark MARK[/MASK]
35              Change the packet's firewall mark value.  MARK  is  an  unsigned
36              32bit  value in automatically detected format (i.e., prefix with
37              '0x' for hexadecimal interpretation, etc.).   MASK  defines  the
38              32-bit mask selecting bits of mark value. Default is 0xffffffff.
39
40       ptype PTYPE
41              Override  the  packet's  type. Useful for setting packet type to
42              host when needing to allow ingressing packets with the wrong MAC
43              address  but  correct IP address.  PTYPE is one of: host, other‐
44              host, broadcast, multicast
45
46       inheritdsfield
47              Override the packet classification decision, and any value spec‐
48              ified with priority, using the information stored in the Differ‐
49              entiated Services Field of the IPv6/IPv4 header (RFC2474).
50

SEE ALSO

52       tc(8), tc-pedit(8)
53
54
55
56iproute2                          12 Jan 2015      SKB editing action in tc(8)
Impressum