Family tc
netlink specification¶
Contents
Operations¶
newqdisc¶
Create new tc qdisc.
- attribute-set
tc-attrs
- fixed-header
tcmsg
- do
- request
- attributes
[
kind
,options
,rate
,chain
,ingress-block
,egress-block
]
getqdisc¶
Get / dump tc qdisc information.
- attribute-set
tc-attrs
- fixed-header
tcmsg
- do
- request
- attributes
[
dump-invisible
]
- reply
- attributes
[
kind
,options
,stats
,xstats
,rate
,fcnt
,stats2
,stab
,chain
,ingress-block
,egress-block
]
newtclass¶
Get / dump tc traffic class information.
- attribute-set
tc-attrs
- fixed-header
tcmsg
- do
- request
- attributes
[
kind
,options
,rate
,chain
,ingress-block
,egress-block
]
deltclass¶
Get / dump tc traffic class information.
- attribute-set
tc-attrs
- fixed-header
tcmsg
- do
request
gettclass¶
Get / dump tc traffic class information.
- attribute-set
tc-attrs
- fixed-header
tcmsg
- do
request
- reply
- attributes
[
kind
,options
,stats
,xstats
,rate
,fcnt
,stats2
,stab
,chain
,ingress-block
,egress-block
]
newtfilter¶
Get / dump tc filter information.
- attribute-set
tc-attrs
- fixed-header
tcmsg
- do
- request
- attributes
[
kind
,options
,rate
,chain
,ingress-block
,egress-block
]
deltfilter¶
Get / dump tc filter information.
- attribute-set
tc-attrs
- fixed-header
tcmsg
- do
- request
- attributes
[
chain
,kind
]
gettfilter¶
Get / dump tc filter information.
- attribute-set
tc-attrs
- fixed-header
tcmsg
- do
- request
- attributes
[
chain
,kind
]
- reply
- attributes
[
kind
,options
,stats
,xstats
,rate
,fcnt
,stats2
,stab
,chain
,ingress-block
,egress-block
]
- dump
- request
- attributes
[
chain
,dump-flags
]
- reply
- attributes
[
kind
,options
,stats
,xstats
,rate
,fcnt
,stats2
,stab
,chain
,ingress-block
,egress-block
]
newchain¶
Get / dump tc chain information.
- attribute-set
tc-attrs
- fixed-header
tcmsg
- do
- request
- attributes
[
kind
,options
,rate
,chain
,ingress-block
,egress-block
]
Multicast groups¶
rtnlgrp-tc
Definitions¶
tc-cls-flags¶
- type
flags
- entries
skip-hw
skip-sw
in-hw
not-in-nw
verbose
tc-flower-key-ctrl-flags¶
- type
flags
- entries
frag
firstfrag
tuncsum
tundf
tunoam
tuncrit
tc-stats¶
- type
struct
- members
- bytes (
u64
) Number of enqueued bytes
- packets (
u32
) Number of enqueued packets
- drops (
u32
) Packets dropped because of lack of resources
- overlimits (
u32
) Number of throttle events when this flow goes out of allocated bandwidth
- bps (
u32
) Current flow byte rate
- pps (
u32
) Current flow packet rate
- qlen (
u32
) - backlog (
u32
)
- bytes (
tc-cbs-qopt¶
- type
struct
- members
- offload (
u8
) - hicredit (
s32
) - locredit (
s32
) - idleslope (
s32
) - sendslope (
s32
)
- offload (
tc-etf-qopt¶
- type
struct
- members
- delta (
s32
) - clockid (
s32
) - flags (
s32
)
- delta (
tc-fifo-qopt¶
- type
struct
- members
- limit (
u32
) Queue length; bytes for bfifo, packets for pfifo
- limit (
tc-htb-opt¶
- type
struct
- members
- rate (
binary
) - ceil (
binary
) - buffer (
u32
) - cbuffer (
u32
) - quantum (
u32
) - level (
u32
) - prio (
u32
)
- rate (
tc-htb-glob¶
- type
struct
- members
- version (
u32
) - rate2quantum (
u32
) bps->quantum divisor
- defcls (
u32
) Default class number
- debug (
u32
) Debug flags
- direct-pkts (
u32
) Count of non shaped packets
- version (
tc-gred-qopt¶
- type
struct
- members
- limit (
u32
) HARD maximal queue length in bytes
- qth-min (
u32
) Min average length threshold in bytes
- qth-max (
u32
) Max average length threshold in bytes
- DP (
u32
) Up to 2^32 DPs
- backlog (
u32
) - qave (
u32
) - forced (
u32
) - early (
u32
) - other (
u32
) - pdrop (
u32
) - Wlog (
u8
) log(W)
- Plog (
u8
) log(P_max / (qth-max - qth-min))
- Scell_log (
u8
) cell size for idle damping
- prio (
u8
) Priority of this VQ
- packets (
u32
) - bytesin (
u32
)
- limit (
tc-gred-sopt¶
- type
struct
- members
- DPs (
u32
) - def_DP (
u32
) - grio (
u8
) - flags (
u8
)
- DPs (
tc-hfsc-qopt¶
- type
struct
- members
- defcls (
u16
)
- defcls (
tc-mqprio-qopt¶
- type
struct
- members
- num-tc (
u8
) - prio-tc-map (
binary
) - hw (
u8
) - count (
binary
) - offset (
binary
)
- num-tc (
tc-multiq-qopt¶
- type
struct
- members
- bands (
u16
) Number of bands
- max-bands (
u16
) Maximum number of queues
- bands (
tc-netem-qopt¶
- type
struct
- members
- latency (
u32
) Added delay in microseconds
- limit (
u32
) Fifo limit in packets
- loss (
u32
) Random packet loss (0=none, ~0=100%)
- gap (
u32
) Re-ordering gap (0 for none)
- duplicate (
u32
) Random packet duplication (0=none, ~0=100%)
- jitter (
u32
) Random jitter latency in microseconds
- latency (
tc-netem-gimodel¶
- doc
State transition probabilities for 4 state model
- type
struct
- members
- p13 (
u32
) - p31 (
u32
) - p32 (
u32
) - p14 (
u32
) - p23 (
u32
)
- p13 (
tc-netem-gemodel¶
- doc
Gilbert-Elliot models
- type
struct
- members
- p (
u32
) - r (
u32
) - h (
u32
) - k1 (
u32
)
- p (
tc-netem-corr¶
- type
struct
- members
- delay-corr (
u32
) Delay correlation
- loss-corr (
u32
) Packet loss correlation
- dup-corr (
u32
) Duplicate correlation
- delay-corr (
tc-netem-reorder¶
- type
struct
- members
- probability (
u32
) - correlation (
u32
)
- probability (
tc-netem-corrupt¶
- type
struct
- members
- probability (
u32
) - correlation (
u32
)
- probability (
tc-netem-rate¶
- type
struct
- members
- rate (
u32
) - packet-overhead (
s32
) - cell-size (
u32
) - cell-overhead (
s32
)
- rate (
tc-netem-slot¶
- type
struct
- members
- min-delay (
s64
) - max-delay (
s64
) - max-packets (
s32
) - max-bytes (
s32
) - dist-delay (
s64
) - dist-jitter (
s64
)
- min-delay (
tc-plug-qopt¶
- type
struct
- members
- action (
s32
) - limit (
u32
)
- action (
tc-prio-qopt¶
- type
struct
- members
- bands (
u32
) Number of bands
- priomap (
binary
) Map of logical priority -> PRIO band
- bands (
tc-red-qopt¶
- type
struct
- members
- limit (
u32
) Hard queue length in packets
- qth-min (
u32
) Min average threshold in packets
- qth-max (
u32
) Max average threshold in packets
- Wlog (
u8
) log(W)
- Plog (
u8
) log(P_max / (qth-max - qth-min))
- Scell-log (
u8
) Cell size for idle damping
- flags (
u8
)
- limit (
tc-sfb-qopt¶
- type
struct
- members
- rehash-interval (
u32
) - warmup-time (
u32
) - max (
u32
) - bin-size (
u32
) - increment (
u32
) - decrement (
u32
) - limit (
u32
) - penalty-rate (
u32
) - penalty-burst (
u32
)
- rehash-interval (
tc-sfq-qopt¶
- type
struct
- members
- quantum (
u32
) Bytes per round allocated to flow
- perturb-period (
s32
) Period of hash perturbation
- limit (
u32
) Maximal packets in queue
- divisor (
u32
) Hash divisor
- flows (
u32
) Maximal number of flows
- quantum (
tc-sfqred-stats¶
- type
struct
- members
- prob-drop (
u32
) Early drops, below max threshold
- forced-drop (
u32
) Early drops, after max threshold
- prob-mark (
u32
) Marked packets, below max threshold
- forced-mark (
u32
) Marked packets, after max threshold
- prob-mark-head (
u32
) Marked packets, below max threshold
- forced-mark-head (
u32
) Marked packets, after max threshold
- prob-drop (
tc-sfq-qopt-v1¶
- type
struct
- members
- v0 (
binary
) - depth (
u32
) Maximum number of packets per flow
- headdrop (
u32
) - limit (
u32
) HARD maximal flow queue length in bytes
- qth-min (
u32
) Min average length threshold in bytes
- qth-max (
u32
) Max average length threshold in bytes
- Wlog (
u8
) log(W)
- Plog (
u8
) log(P_max / (qth-max - qth-min))
- Scell-log (
u8
) Cell size for idle damping
- flags (
u8
) - max-P (
u32
) probabilty, high resolution
- stats (
binary
)
- v0 (
tc-ratespec¶
- type
struct
- members
- cell-log (
u8
) - linklayer (
u8
) - overhead (
u8
) - cell-align (
u8
) - mpu (
u8
) - rate (
u32
)
- cell-log (
tc-tbf-qopt¶
- type
struct
- members
- rate (
binary
) - peakrate (
binary
) - limit (
u32
) - buffer (
u32
) - mtu (
u32
)
- rate (
tc-sizespec¶
- type
struct
- members
- cell-log (
u8
) - size-log (
u8
) - cell-align (
s16
) - overhead (
s32
) - linklayer (
u32
) - mpu (
u32
) - mtu (
u32
) - tsize (
u32
)
- cell-log (
gnet-estimator¶
- type
struct
- members
- interval (
s8
) Sampling period
- ewma-log (
u8
) The log() of measurement window weight
- interval (
tc-choke-xstats¶
- type
struct
- members
- early (
u32
) Early drops
- pdrop (
u32
) Drops due to queue limits
- other (
u32
) Drops due to drop() calls
- marked (
u32
) Marked packets
- matched (
u32
) Drops due to flow match
- early (
tc-codel-xstats¶
- type
struct
- members
- maxpacket (
u32
) Largest packet we’ve seen so far
- count (
u32
) How many drops we’ve done since the last time we entered dropping state
- lastcount (
u32
) Count at entry to dropping state
- ldelay (
u32
) in-queue delay seen by most recently dequeued packet
- drop-next (
s32
) Time to drop next packet
- drop-overlimit (
u32
) Number of times max qdisc packet limit was hit
- ecn-mark (
u32
) Number of packets we’ve ECN marked instead of dropped
- dropping (
u32
) Are we in a dropping state?
- ce-mark (
u32
) Number of CE marked packets because of ce-threshold
- maxpacket (
tc-fq-codel-xstats¶
- type
struct
- members
- type (
u32
) - maxpacket (
u32
) Largest packet we’ve seen so far
- drop-overlimit (
u32
) Number of times max qdisc packet limit was hit
- ecn-mark (
u32
) Number of packets we ECN marked instead of being dropped
- new-flow-count (
u32
) Number of times packets created a new flow
- new-flows-len (
u32
) Count of flows in new list
- old-flows-len (
u32
) Count of flows in old list
- ce-mark (
u32
) Packets above ce-threshold
- memory-usage (
u32
) Memory usage in bytes
- drop-overmemory (
u32
)
- type (
tc-fq-pie-xstats¶
- type
struct
- members
- packets-in (
u32
) Total number of packets enqueued
- dropped (
u32
) Packets dropped due to fq_pie_action
- overlimit (
u32
) Dropped due to lack of space in queue
- overmemory (
u32
) Dropped due to lack of memory in queue
- ecn-mark (
u32
) Packets marked with ecn
- new-flow-count (
u32
) Count of new flows created by packets
- new-flows-len (
u32
) Count of flows in new list
- old-flows-len (
u32
) Count of flows in old list
- memory-usage (
u32
) Total memory across all queues
- packets-in (
tc-fq-qd-stats¶
- type
struct
- members
- gc-flows (
u64
) - highprio-packets (
u64
) obsolete
- tcp-retrans (
u64
) obsolete
- throttled (
u64
) - flows-plimit (
u64
) - pkts-too-long (
u64
) - allocation-errors (
u64
) - time-next-delayed-flow (
s64
) - flows (
u32
) - inactive-flows (
u32
) - throttled-flows (
u32
) - unthrottle-latency-ns (
u32
) - ce-mark (
u64
) Packets above ce-threshold
- horizon-drops (
u64
) - horizon-caps (
u64
) - fastpath-packets (
u64
) - band-drops (
binary
) - band-pkt-count (
binary
)
- gc-flows (
tc-hhf-xstats¶
- type
struct
- members
- drop-overlimit (
u32
) Number of times max qdisc packet limit was hit
- hh-overlimit (
u32
) Number of times max heavy-hitters was hit
- hh-tot-count (
u32
) Number of captured heavy-hitters so far
- hh-cur-count (
u32
) Number of current heavy-hitters
- drop-overlimit (
tc-pie-xstats¶
- type
struct
- members
- prob (
u64
) Current probability
- delay (
u32
) Current delay in ms
- avg-dq-rate (
u32
) Current average dq rate in bits/pie-time
- dq-rate-estimating (
u32
) Is avg-dq-rate being calculated?
- packets-in (
u32
) Total number of packets enqueued
- dropped (
u32
) Packets dropped due to pie action
- overlimit (
u32
) Dropped due to lack of space in queue
- maxq (
u32
) Maximum queue size
- ecn-mark (
u32
) Packets marked with ecn
- prob (
tc-red-xstats¶
- type
struct
- members
- early (
u32
) Early drops
- pdrop (
u32
) Drops due to queue limits
- other (
u32
) Drops due to drop() calls
- marked (
u32
) Marked packets
- early (
tc-sfb-xstats¶
- type
struct
- members
- earlydrop (
u32
) - penaltydrop (
u32
) - bucketdrop (
u32
) - queuedrop (
u32
) - childdrop (
u32
) drops in child qdisc
- marked (
u32
) - maxqlen (
u32
) - maxprob (
u32
) - avgprob (
u32
)
- earlydrop (
tc-sfq-xstats¶
- type
struct
- members
- allot (
s32
)
- allot (
gnet-stats-basic¶
- type
struct
- members
- bytes (
u64
) - packets (
u32
)
- bytes (
gnet-stats-rate-est¶
- type
struct
- members
- bps (
u32
) - pps (
u32
)
- bps (
gnet-stats-rate-est64¶
- type
struct
- members
- bps (
u64
) - pps (
u64
)
- bps (
gnet-stats-queue¶
- type
struct
- members
- qlen (
u32
) - backlog (
u32
) - drops (
u32
) - requeues (
u32
) - overlimits (
u32
)
- qlen (
tc-u32-key¶
- type
struct
- members
- mask (
u32
) - val (
u32
) - off (
s32
) - offmask (
s32
)
- mask (
tc-u32-sel¶
- type
struct
- members
- flags (
u8
) - offshift (
u8
) - nkeys (
u8
) - offmask (
u16
) - off (
u16
) - offoff (
s16
) - hoff (
s16
) - hmask (
u32
) - keys (
binary
)
- flags (
tc-u32-pcnt¶
- type
struct
- members
- rcnt (
u64
) - rhit (
u64
) - kcnts (
u64
)
- rcnt (
tcf-ematch-tree-hdr¶
- type
struct
- members
- nmatches (
u16
) - progid (
u16
)
- nmatches (
tc-basic-pcnt¶
- type
struct
- members
- rcnt (
u64
) - rhit (
u64
)
- rcnt (
tc-matchall-pcnt¶
- type
struct
- members
- rhit (
u64
)
- rhit (
tc-mpls¶
- type
struct
- members
- index (
u32
) - capab (
u32
) - action (
s32
) - refcnt (
s32
) - bindcnt (
s32
) - m-action (
s32
)
- index (
tc-police¶
- type
struct
- members
- index (
u32
) - action (
s32
) - limit (
u32
) - burst (
u32
) - mtu (
u32
) - rate (
binary
) - peakrate (
binary
) - refcnt (
s32
) - bindcnt (
s32
) - capab (
u32
)
- index (
tc-pedit-sel¶
- type
struct
- members
- index (
u32
) - capab (
u32
) - action (
s32
) - refcnt (
s32
) - bindcnt (
s32
) - nkeys (
u8
) - flags (
u8
) - keys (
binary
)
- index (
tc-pedit-key¶
- type
struct
- members
- mask (
u32
) - val (
u32
) - off (
u32
) - at (
u32
) - offmask (
u32
) - shift (
u32
)
- mask (
Attribute sets¶
tc-attrs¶
options (sub-message
)¶
- sub-message
tc-options-msg
- selector
kind
stats (binary
)¶
- struct
tc-stats
xstats (sub-message
)¶
- sub-message
tca-stats-app-msg
- selector
kind
rate (binary
)¶
- struct
gnet-estimator
stats2 (nest
)¶
- nested-attributes
tca-stats-attrs
stab (nest
)¶
- nested-attributes
tca-stab-attrs
tc-act-attrs¶
options (sub-message
)¶
- sub-message
tc-act-options-msg
- selector
kind
stats (nest
)¶
- nested-attributes
tc-act-stats-attrs
tc-act-stats-attrs¶
basic (binary
)¶
- struct
gnet-stats-basic
rate-est (binary
)¶
- struct
gnet-stats-rate-est
queue (binary
)¶
- struct
gnet-stats-queue
rate-est64 (binary
)¶
- struct
gnet-stats-rate-est64
basic-hw (binary
)¶
- struct
gnet-stats-basic
tc-act-bpf-attrs¶
tm (binary
)¶
- struct
tcf-t
tc-act-ct-attrs¶
tm (binary
)¶
- struct
tcf-t
nat-ipv4-min (u32
)¶
- byte-order
big-endian
nat-ipv4-max (u32
)¶
- byte-order
big-endian
nat-port-min (u16
)¶
- byte-order
big-endian
nat-port-max (u16
)¶
- byte-order
big-endian
tc-act-ctinfo-attrs¶
tm (binary
)¶
- struct
tcf-t
tc-act-gate-attrs¶
tm (binary
)¶
- struct
tcf-t
tc-act-ife-attrs¶
tm (binary
)¶
- struct
tcf-t
tc-act-mpls-attrs¶
tm (binary
)¶
- struct
tcf-t
parms (binary
)¶
- struct
tc-mpls
proto (u16
)¶
- byte-order
big-endian
tc-act-skbedit-attrs¶
tm (binary
)¶
- struct
tcf-t
tc-act-skbmod-attrs¶
tm (binary
)¶
- struct
tcf-t
tc-act-tunnel-key-attrs¶
tm (binary
)¶
- struct
tcf-t
enc-ipv4-src (u32
)¶
- byte-order
big-endian
enc-ipv4-dst (u32
)¶
- byte-order
big-endian
enc-key-id (u64
)¶
- byte-order
big-endian
enc-dst-port (u16
)¶
- byte-order
big-endian
tc-basic-attrs¶
ematches (nest
)¶
- nested-attributes
tc-ematch-attrs
act (array-nest
)¶
- nested-attributes
tc-act-attrs
police (nest
)¶
- nested-attributes
tc-police-attrs
pcnt (binary
)¶
- struct
tc-basic-pcnt
tc-bpf-attrs¶
act (nest
)¶
- nested-attributes
tc-act-attrs
police (nest
)¶
- nested-attributes
tc-police-attrs
tc-cake-stats-attrs¶
tin-stats (array-nest
)¶
- nested-attributes
tc-cake-tin-stats-attrs
tc-cbs-attrs¶
parms (binary
)¶
- struct
tc-cbs-qopt
tc-cgroup-attrs¶
act (nest
)¶
- nested-attributes
tc-act-attrs
police (nest
)¶
- nested-attributes
tc-police-attrs
tc-flow-attrs¶
police (nest
)¶
- nested-attributes
tc-police-attrs
tc-flower-attrs¶
act (array-nest
)¶
- nested-attributes
tc-act-attrs
key-eth-dst (binary
)¶
- display-hint
mac
key-eth-dst-mask (binary
)¶
- display-hint
mac
key-eth-src (binary
)¶
- display-hint
mac
key-eth-src-mask (binary
)¶
- display-hint
mac
key-eth-type (u16
)¶
- byte-order
big-endian
key-ipv4-src (u32
)¶
- byte-order
big-endian
- display-hint
ipv4
key-ipv4-src-mask (u32
)¶
- byte-order
big-endian
- display-hint
ipv4
key-ipv4-dst (u32
)¶
- byte-order
big-endian
- display-hint
ipv4
key-ipv4-dst-mask (u32
)¶
- byte-order
big-endian
- display-hint
ipv4
key-ipv6-src (binary
)¶
- display-hint
ipv6
key-ipv6-src-mask (binary
)¶
- display-hint
ipv6
key-ipv6-dst (binary
)¶
- display-hint
ipv6
key-ipv6-dst-mask (binary
)¶
- display-hint
ipv6
key-tcp-src (u16
)¶
- byte-order
big-endian
key-tcp-dst (u16
)¶
- byte-order
big-endian
key-udp-src (u16
)¶
- byte-order
big-endian
key-udp-dst (u16
)¶
- byte-order
big-endian
flags (u32
)¶
- enum
tc-cls-flags
- enum-as-flags
True
key-vlan-id (u16
)¶
- byte-order
big-endian
key-vlan-eth-type (u16
)¶
- byte-order
big-endian
key-enc-key-id (u32
)¶
- byte-order
big-endian
key-enc-ipv4-src (u32
)¶
- byte-order
big-endian
- display-hint
ipv4
key-enc-ipv4-src-mask (u32
)¶
- byte-order
big-endian
- display-hint
ipv4
key-enc-ipv4-dst (u32
)¶
- byte-order
big-endian
- display-hint
ipv4
key-enc-ipv4-dst-mask (u32
)¶
- byte-order
big-endian
- display-hint
ipv4
key-enc-ipv6-src (binary
)¶
- display-hint
ipv6
key-enc-ipv6-src-mask (binary
)¶
- display-hint
ipv6
key-enc-ipv6-dst (binary
)¶
- display-hint
ipv6
key-enc-ipv6-dst-mask (binary
)¶
- display-hint
ipv6
key-tcp-src-mask (u16
)¶
- byte-order
big-endian
key-tcp-dst-mask (u16
)¶
- byte-order
big-endian
key-udp-src-mask (u16
)¶
- byte-order
big-endian
key-udp-dst-mask (u16
)¶
- byte-order
big-endian
key-sctp-src-mask (u16
)¶
- byte-order
big-endian
key-sctp-dst-mask (u16
)¶
- byte-order
big-endian
key-sctp-src (u16
)¶
- byte-order
big-endian
key-sctp-dst (u16
)¶
- byte-order
big-endian
key-enc-udp-src-port (u16
)¶
- byte-order
big-endian
key-enc-udp-src-port-mask (u16
)¶
- byte-order
big-endian
key-enc-udp-dst-port (u16
)¶
- byte-order
big-endian
key-enc-udp-dst-port-mask (u16
)¶
- byte-order
big-endian
key-flags (u32
)¶
- byte-order
big-endian
- enum
tc-flower-key-ctrl-flags
- enum-as-flags
True
key-flags-mask (u32
)¶
- byte-order
big-endian
- enum
tc-flower-key-ctrl-flags
- enum-as-flags
True
key-arp-sip (u32
)¶
- byte-order
big-endian
key-arp-sip-mask (u32
)¶
- byte-order
big-endian
key-arp-tip (u32
)¶
- byte-order
big-endian
key-arp-tip-mask (u32
)¶
- byte-order
big-endian
key-arp-sha (binary
)¶
- display-hint
mac
key-arp-sha-mask (binary
)¶
- display-hint
mac
key-arp-tha (binary
)¶
- display-hint
mac
key-arp-tha-mask (binary
)¶
- display-hint
mac
key-mpls-label (u32
)¶
- byte-order
big-endian
key-tcp-flags (u16
)¶
- byte-order
big-endian
key-tcp-flags-mask (u16
)¶
- byte-order
big-endian
key-cvlan-id (u16
)¶
- byte-order
big-endian
key-cvlan-eth-type (u16
)¶
- byte-order
big-endian
key-enc-opts (nest
)¶
- nested-attributes
tc-flower-key-enc-opts-attrs
key-enc-opts-mask (nest
)¶
- nested-attributes
tc-flower-key-enc-opts-attrs
key-port-src-min (u16
)¶
- byte-order
big-endian
key-port-src-max (u16
)¶
- byte-order
big-endian
key-port-dst-min (u16
)¶
- byte-order
big-endian
key-port-dst-max (u16
)¶
- byte-order
big-endian
key-mpls-opts (nest
)¶
- nested-attributes
tc-flower-key-mpls-opt-attrs
key-pppoe-sid (u16
)¶
- byte-order
big-endian
key-ppp-proto (u16
)¶
- byte-order
big-endian
key-l2-tpv3-sid (u32
)¶
- byte-order
big-endian
key-cfm (nest
)¶
- nested-attributes
tc-flower-key-cfm-attrs
key-spi (u32
)¶
- byte-order
big-endian
key-spi-mask (u32
)¶
- byte-order
big-endian
key-enc-flags (u32
)¶
- byte-order
big-endian
- enum
tc-flower-key-ctrl-flags
- enum-as-flags
True
key-enc-flags-mask (u32
)¶
- byte-order
big-endian
- enum
tc-flower-key-ctrl-flags
- enum-as-flags
True
tc-flower-key-enc-opts-attrs¶
geneve (nest
)¶
- nested-attributes
tc-flower-key-enc-opt-geneve-attrs
vxlan (nest
)¶
- nested-attributes
tc-flower-key-enc-opt-vxlan-attrs
erspan (nest
)¶
- nested-attributes
tc-flower-key-enc-opt-erspan-attrs
gtp (nest
)¶
- nested-attributes
tc-flower-key-enc-opt-gtp-attrs
tc-fw-attrs¶
police (nest
)¶
- nested-attributes
tc-police-attrs
act (array-nest
)¶
- nested-attributes
tc-act-attrs
tc-gred-attrs¶
stab (binary
)¶
- sub-type
u8
dps (binary
)¶
- struct
tc-gred-sopt
max-p (binary
)¶
- sub-type
u32
vq-list (nest
)¶
- nested-attributes
tca-gred-vq-list-attrs
tca-gred-vq-list-attrs¶
entry (nest
)¶
- nested-attributes
tca-gred-vq-entry-attrs
- multi-attr
True
tc-matchall-attrs¶
act (array-nest
)¶
- nested-attributes
tc-act-attrs
pcnt (binary
)¶
- struct
tc-matchall-pcnt
tc-etf-attrs¶
parms (binary
)¶
- struct
tc-etf-qopt
tc-ets-attrs¶
quanta (nest
)¶
- nested-attributes
tc-ets-attrs
quanta-band (u32
)¶
- multi-attr
True
priomap (nest
)¶
- nested-attributes
tc-ets-attrs
priomap-band (u8
)¶
- multi-attr
True
tc-fq-attrs¶
plimit (u32
)¶
- doc
Limit of total number of packets in queue
flow-plimit (u32
)¶
- doc
Limit of packets per flow
quantum (u32
)¶
- doc
RR quantum
initial-quantum (u32
)¶
- doc
RR quantum for new flow
rate-enable (u32
)¶
- doc
Enable / disable rate limiting
flow-default-rate (u32
)¶
- doc
Obsolete, do not use
flow-max-rate (u32
)¶
- doc
Per flow max rate
buckets-log (u32
)¶
- doc
log2(number of buckets)
flow-refill-delay (u32
)¶
- doc
Flow credit refill delay in usec
orphan-mask (u32
)¶
- doc
Mask applied to orphaned skb hashes
low-rate-threshold (u32
)¶
- doc
Per packet delay under this rate
ce-threshold (u32
)¶
- doc
DCTCP-like CE marking threshold
horizon (u32
)¶
- doc
Time horizon in usec
horizon-drop (u8
)¶
- doc
Drop packets beyond horizon, or cap their EDT
priomap (binary
)¶
- struct
tc-prio-qopt
weights (binary
)¶
- sub-type
s32
- doc
Weights for each band
tc-netem-attrs¶
corr (binary
)¶
- struct
tc-netem-corr
delay-dist (binary
)¶
- sub-type
s16
reorder (binary
)¶
- struct
tc-netem-reorder
corrupt (binary
)¶
- struct
tc-netem-corrupt
loss (nest
)¶
- nested-attributes
tc-netem-loss-attrs
rate (binary
)¶
- struct
tc-netem-rate
slot (binary
)¶
- struct
tc-netem-slot
slot-dist (binary
)¶
- sub-type
s16
tc-netem-loss-attrs¶
gi (binary
)¶
- doc
General Intuitive - 4 state model
- struct
tc-netem-gimodel
ge (binary
)¶
- doc
Gilbert Elliot models
- struct
tc-netem-gemodel
tc-red-attrs¶
parms (binary
)¶
- struct
tc-red-qopt
tc-route-attrs¶
police (nest
)¶
- nested-attributes
tc-police-attrs
act (array-nest
)¶
- nested-attributes
tc-act-attrs
tc-taprio-attrs¶
priomap (binary
)¶
- struct
tc-mqprio-qopt
sched-entry-list (nest
)¶
- nested-attributes
tc-taprio-sched-entry-list
sched-single-entry (nest
)¶
- nested-attributes
tc-taprio-sched-entry
tc-entry (nest
)¶
- nested-attributes
tc-taprio-tc-entry-attrs
tc-taprio-sched-entry-list¶
entry (nest
)¶
- nested-attributes
tc-taprio-sched-entry
- multi-attr
True
tc-tbf-attrs¶
parms (binary
)¶
- struct
tc-tbf-qopt
tc-act-gact-attrs¶
tm (binary
)¶
- struct
tcf-t
parms (binary
)¶
- struct
tc-gen
prob (binary
)¶
- struct
tc-gact-p
tca-stats-attrs¶
basic (binary
)¶
- struct
gnet-stats-basic
rate-est (binary
)¶
- struct
gnet-stats-rate-est
queue (binary
)¶
- struct
gnet-stats-queue
app (sub-message
)¶
- sub-message
tca-stats-app-msg
- selector
kind
rate-est64 (binary
)¶
- struct
gnet-stats-rate-est64
basic-hw (binary
)¶
- struct
gnet-stats-basic
tc-u32-attrs¶
sel (binary
)¶
- struct
tc-u32-sel
police (nest
)¶
- nested-attributes
tc-police-attrs
act (array-nest
)¶
- nested-attributes
tc-act-attrs
pcnt (binary
)¶
- struct
tc-u32-pcnt
mark (binary
)¶
- struct
tc-u32-mark
Sub-messages¶
tc-options-msg¶
- basic
- attribute-set
tc-basic-attrs
- bpf
- attribute-set
tc-bpf-attrs
- bfifo
- fixed-header
tc-fifo-qopt
- cake
- attribute-set
tc-cake-attrs
- cbs
- attribute-set
tc-cbs-attrs
- cgroup
- attribute-set
tc-cgroup-attrs
- choke
- attribute-set
tc-choke-attrs
clsact
- codel
- attribute-set
tc-codel-attrs
- drr
- attribute-set
tc-drr-attrs
- etf
- attribute-set
tc-etf-attrs
- ets
- attribute-set
tc-ets-attrs
- flow
- attribute-set
tc-flow-attrs
- flower
- attribute-set
tc-flower-attrs
- fq
- attribute-set
tc-fq-attrs
- fq_codel
- attribute-set
tc-fq-codel-attrs
- fq_pie
- attribute-set
tc-fq-pie-attrs
- fw
- attribute-set
tc-fw-attrs
- gred
- attribute-set
tc-gred-attrs
- hfsc
- fixed-header
tc-hfsc-qopt
- hhf
- attribute-set
tc-hhf-attrs
- htb
- attribute-set
tc-htb-attrs
ingress
- matchall
- attribute-set
tc-matchall-attrs
mq
- mqprio
- fixed-header
tc-mqprio-qopt
- multiq
- fixed-header
tc-multiq-qopt
- netem
- fixed-header
tc-netem-qopt
- attribute-set
tc-netem-attrs
- pfifo
- fixed-header
tc-fifo-qopt
- pfifo_fast
- fixed-header
tc-prio-qopt
- pfifo_head_drop
- fixed-header
tc-fifo-qopt
- pie
- attribute-set
tc-pie-attrs
- plug
- fixed-header
tc-plug-qopt
- prio
- fixed-header
tc-prio-qopt
- qfq
- attribute-set
tc-qfq-attrs
- red
- attribute-set
tc-red-attrs
- route
- attribute-set
tc-route-attrs
- sfb
- fixed-header
tc-sfb-qopt
- sfq
- fixed-header
tc-sfq-qopt-v1
- taprio
- attribute-set
tc-taprio-attrs
- tbf
- attribute-set
tc-tbf-attrs
- u32
- attribute-set
tc-u32-attrs
tc-act-options-msg¶
- bpf
- attribute-set
tc-act-bpf-attrs
- connmark
- attribute-set
tc-act-connmark-attrs
- csum
- attribute-set
tc-act-csum-attrs
- ct
- attribute-set
tc-act-ct-attrs
- ctinfo
- attribute-set
tc-act-ctinfo-attrs
- gact
- attribute-set
tc-act-gact-attrs
- gate
- attribute-set
tc-act-gate-attrs
- ife
- attribute-set
tc-act-ife-attrs
- mirred
- attribute-set
tc-act-mirred-attrs
- mpls
- attribute-set
tc-act-mpls-attrs
- nat
- attribute-set
tc-act-nat-attrs
- pedit
- attribute-set
tc-act-pedit-attrs
- police
- attribute-set
tc-act-police-attrs
- sample
- attribute-set
tc-act-sample-attrs
- simple
- attribute-set
tc-act-simple-attrs
- skbedit
- attribute-set
tc-act-skbedit-attrs
- skbmod
- attribute-set
tc-act-skbmod-attrs
- tunnel_key
- attribute-set
tc-act-tunnel-key-attrs
- vlan
- attribute-set
tc-act-vlan-attrs
tca-stats-app-msg¶
- cake
- attribute-set
tc-cake-stats-attrs
- choke
- fixed-header
tc-choke-xstats
- codel
- fixed-header
tc-codel-xstats
- fq
- fixed-header
tc-fq-qd-stats
- fq_codel
- fixed-header
tc-fq-codel-xstats
- fq_pie
- fixed-header
tc-fq-pie-xstats
- hhf
- fixed-header
tc-hhf-xstats
- pie
- fixed-header
tc-pie-xstats
- red
- fixed-header
tc-red-xstats
- sfb
- fixed-header
tc-sfb-xstats
- sfq
- fixed-header
tc-sfq-xstats