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 ] ptype PTYPE ]
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 it's 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
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.).
38
39       ptype PTYPE
40              Override the packet's type. Useful for setting  packet  type  to
41              host when needing to allow ingressing packets with the wrong MAC
42              address but correct IP address.  PTYPE is one of:  host,  other‐
43              host, broadcast, multicast
44

SEE ALSO

46       tc(8), tc-pedit(8)
47
48
49
50iproute2                          12 Jan 2015      SKB editing action in tc(8)
Impressum