| Server IP : 85.112.90.236 / Your IP : 192.168.1.26 Web Server : Apache System : Linux 85-112-90-236.cprapid.com 6.12.0-211.7.3.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 12:46:58 EDT 2026 x86_64 User : ftechme ( 1002) PHP Version : 8.2.32 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/ynl/ |
Upload File : |
.. LINENO 2
.. SPDX-License-Identifier: GPL-2.0
.. NOTE: This document was auto-generated.
.. _netlink-tc:
===================================
Family ``tc`` netlink specification
===================================
.. contents:: :depth: 3
-------
Summary
-------
Netlink raw family for tc qdisc, chain, class and filter configuration over rtnetlink.
----------
Operations
----------
.. LINENO 3904
.. _tc-operation-newqdisc:
newqdisc
========
Create new tc qdisc.
:attribute-set: :ref:`tc-attribute-set-attrs`
:fixed-header: :ref:`tc-definition-tcmsg`
:do:
.. LINENO 3909
**request**
:attributes: [``kind``, ``options``, ``rate``, ``chain``, ``ingress-block``, ``egress-block``]
.. LINENO 3919
.. _tc-operation-delqdisc:
delqdisc
========
Delete existing tc qdisc.
:attribute-set: :ref:`tc-attribute-set-attrs`
:fixed-header: :ref:`tc-definition-tcmsg`
:do:
.. LINENO 3924
**request**
.. LINENO 3927
.. _tc-operation-getqdisc:
getqdisc
========
Get / dump tc qdisc information.
:attribute-set: :ref:`tc-attribute-set-attrs`
:fixed-header: :ref:`tc-definition-tcmsg`
:do:
.. LINENO 3931
**request**
:attributes: [``dump-invisible``]
**reply**
:attributes: [``kind``, ``options``, ``stats``, ``xstats``, ``rate``, ``fcnt``, ``stats2``, ``stab``, ``chain``, ``ingress-block``, ``egress-block``]
:dump:
.. LINENO 3931
**request**
:attributes: [``dump-invisible``]
**reply**
:attributes: [``kind``, ``options``, ``stats``, ``xstats``, ``rate``, ``fcnt``, ``stats2``, ``stab``, ``chain``, ``ingress-block``, ``egress-block``]
.. LINENO 3952
.. _tc-operation-newtclass:
newtclass
=========
Get / dump tc traffic class information.
:attribute-set: :ref:`tc-attribute-set-attrs`
:fixed-header: :ref:`tc-definition-tcmsg`
:do:
.. LINENO 3957
**request**
:attributes: [``kind``, ``options``, ``rate``, ``chain``, ``ingress-block``, ``egress-block``]
.. LINENO 3961
.. _tc-operation-deltclass:
deltclass
=========
Get / dump tc traffic class information.
:attribute-set: :ref:`tc-attribute-set-attrs`
:fixed-header: :ref:`tc-definition-tcmsg`
:do:
.. LINENO 3966
**request**
.. LINENO 3969
.. _tc-operation-gettclass:
gettclass
=========
Get / dump tc traffic class information.
:attribute-set: :ref:`tc-attribute-set-attrs`
:fixed-header: :ref:`tc-definition-tcmsg`
:do:
.. LINENO 3974
**request**
**reply**
:attributes: [``kind``, ``options``, ``stats``, ``xstats``, ``rate``, ``fcnt``, ``stats2``, ``stab``, ``chain``, ``ingress-block``, ``egress-block``]
.. LINENO 3980
.. _tc-operation-newtfilter:
newtfilter
==========
Get / dump tc filter information.
:attribute-set: :ref:`tc-attribute-set-attrs`
:fixed-header: :ref:`tc-definition-tcmsg`
:do:
.. LINENO 3985
**request**
:attributes: [``kind``, ``options``, ``rate``, ``chain``, ``ingress-block``, ``egress-block``]
.. LINENO 3989
.. _tc-operation-deltfilter:
deltfilter
==========
Get / dump tc filter information.
:attribute-set: :ref:`tc-attribute-set-attrs`
:fixed-header: :ref:`tc-definition-tcmsg`
:do:
.. LINENO 3994
**request**
:attributes: [``chain``, ``kind``]
.. LINENO 4000
.. _tc-operation-gettfilter:
gettfilter
==========
Get / dump tc filter information.
:attribute-set: :ref:`tc-attribute-set-attrs`
:fixed-header: :ref:`tc-definition-tcmsg`
:do:
.. LINENO 4005
**request**
:attributes: [``chain``, ``kind``]
**reply**
:attributes: [``kind``, ``options``, ``stats``, ``xstats``, ``rate``, ``fcnt``, ``stats2``, ``stab``, ``chain``, ``ingress-block``, ``egress-block``]
:dump:
.. LINENO 4014
**request**
:attributes: [``chain``, ``dump-flags``]
**reply**
:attributes: [``kind``, ``options``, ``stats``, ``xstats``, ``rate``, ``fcnt``, ``stats2``, ``stab``, ``chain``, ``ingress-block``, ``egress-block``]
.. LINENO 4023
.. _tc-operation-newchain:
newchain
========
Get / dump tc chain information.
:attribute-set: :ref:`tc-attribute-set-attrs`
:fixed-header: :ref:`tc-definition-tcmsg`
:do:
.. LINENO 4028
**request**
:attributes: [``kind``, ``options``, ``rate``, ``chain``, ``ingress-block``, ``egress-block``]
.. LINENO 4032
.. _tc-operation-delchain:
delchain
========
Get / dump tc chain information.
:attribute-set: :ref:`tc-attribute-set-attrs`
:fixed-header: :ref:`tc-definition-tcmsg`
:do:
.. LINENO 4037
**request**
:attributes: [``chain``]
.. LINENO 4042
.. _tc-operation-getchain:
getchain
========
Get / dump tc chain information.
:attribute-set: :ref:`tc-attribute-set-attrs`
:fixed-header: :ref:`tc-definition-tcmsg`
:do:
.. LINENO 4047
**request**
:attributes: [``chain``]
**reply**
:attributes: [``kind``, ``options``, ``stats``, ``xstats``, ``rate``, ``fcnt``, ``stats2``, ``stab``, ``chain``, ``ingress-block``, ``egress-block``]
----------------
Multicast groups
----------------
- rtnlgrp-tc
-----------
Definitions
-----------
.. LINENO 13
.. _tc-definition-tcmsg:
tcmsg
=====
:type: struct
:header: linux/rtnetlink.h
:members:
:family (``u8``):
:ifindex (``s32``):
:handle (``u32``):
:parent (``u32``):
:info (``u32``):
.. LINENO 37
.. _tc-definition-cls-flags:
cls-flags
=========
:enum-name: None
:type: flags
:entries:
- ``skip-hw``
- ``skip-sw``
- ``in-hw``
- ``not-in-nw``
- ``verbose``
.. LINENO 47
.. _tc-definition-flower-key-ctrl-flags:
flower-key-ctrl-flags
=====================
:name-prefix: tca-flower-key-flags-
:enum-name: None
:type: flags
:entries:
- ``frag``
- ``firstfrag``
- ``tuncsum``
- ``tundf``
- ``tunoam``
- ``tuncrit``
.. LINENO 59
.. _tc-definition-tc-stats:
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``):
.. LINENO 94
.. _tc-definition-tc-cbs-qopt:
tc-cbs-qopt
===========
:type: struct
:members:
:offload (``u8``):
:hicredit (``s32``):
:locredit (``s32``):
:idleslope (``s32``):
:sendslope (``s32``):
.. LINENO 117
.. _tc-definition-tc-etf-qopt:
tc-etf-qopt
===========
:type: struct
:members:
:delta (``s32``):
:clockid (``s32``):
:flags (``s32``):
.. LINENO 130
.. _tc-definition-tc-fifo-qopt:
tc-fifo-qopt
============
:type: struct
:members:
:limit (``u32``): Queue length; bytes for bfifo, packets for pfifo
.. LINENO 138
.. _tc-definition-tc-htb-opt:
tc-htb-opt
==========
:type: struct
:members:
:rate (``binary``):
:ceil (``binary``):
:buffer (``u32``):
:cbuffer (``u32``):
:quantum (``u32``):
:level (``u32``):
:prio (``u32``):
.. LINENO 165
.. _tc-definition-tc-htb-glob:
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
.. LINENO 188
.. _tc-definition-tc-gred-qopt:
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``):
.. LINENO 248
.. _tc-definition-tc-gred-sopt:
tc-gred-sopt
============
:type: struct
:members:
:DPs (``u32``):
:def_DP (``u32``):
:grio (``u8``):
:flags (``u8``):
.. LINENO 268
.. _tc-definition-tc-hfsc-qopt:
tc-hfsc-qopt
============
:type: struct
:members:
:defcls (``u16``):
.. LINENO 275
.. _tc-definition-tc-mqprio-qopt:
tc-mqprio-qopt
==============
:type: struct
:members:
:num-tc (``u8``):
:prio-tc-map (``binary``):
:hw (``u8``):
:count (``binary``):
:offset (``binary``):
.. LINENO 297
.. _tc-definition-tc-multiq-qopt:
tc-multiq-qopt
==============
:type: struct
:members:
:bands (``u16``): Number of bands
:max-bands (``u16``): Maximum number of queues
.. LINENO 309
.. _tc-definition-tc-netem-qopt:
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
.. LINENO 337
.. _tc-definition-tc-netem-gimodel:
tc-netem-gimodel
================
:doc: State transition probabilities for 4 state model
:type: struct
:members:
:p13 (``u32``):
:p31 (``u32``):
:p32 (``u32``):
:p14 (``u32``):
:p23 (``u32``):
.. LINENO 357
.. _tc-definition-tc-netem-gemodel:
tc-netem-gemodel
================
:doc: Gilbert-Elliot models
:type: struct
:members:
:p (``u32``):
:r (``u32``):
:h (``u32``):
:k1 (``u32``):
.. LINENO 374
.. _tc-definition-tc-netem-corr:
tc-netem-corr
=============
:type: struct
:members:
:delay-corr (``u32``): Delay correlation
:loss-corr (``u32``): Packet loss correlation
:dup-corr (``u32``): Duplicate correlation
.. LINENO 390
.. _tc-definition-tc-netem-reorder:
tc-netem-reorder
================
:type: struct
:members:
:probability (``u32``):
:correlation (``u32``):
.. LINENO 400
.. _tc-definition-tc-netem-corrupt:
tc-netem-corrupt
================
:type: struct
:members:
:probability (``u32``):
:correlation (``u32``):
.. LINENO 410
.. _tc-definition-tc-netem-rate:
tc-netem-rate
=============
:type: struct
:members:
:rate (``u32``):
:packet-overhead (``s32``):
:cell-size (``u32``):
:cell-overhead (``s32``):
.. LINENO 426
.. _tc-definition-tc-netem-slot:
tc-netem-slot
=============
:type: struct
:members:
:min-delay (``s64``):
:max-delay (``s64``):
:max-packets (``s32``):
:max-bytes (``s32``):
:dist-delay (``s64``):
:dist-jitter (``s64``):
.. LINENO 448
.. _tc-definition-tc-plug-qopt:
tc-plug-qopt
============
:type: struct
:members:
:action (``s32``):
:limit (``u32``):
.. LINENO 458
.. _tc-definition-tc-prio-qopt:
tc-prio-qopt
============
:type: struct
:members:
:bands (``u32``): Number of bands
:priomap (``binary``): Map of logical priority -> PRIO band
.. LINENO 471
.. _tc-definition-tc-red-qopt:
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``):
.. LINENO 502
.. _tc-definition-tc-sfb-qopt:
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``):
.. LINENO 533
.. _tc-definition-tc-sfq-qopt:
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
.. LINENO 557
.. _tc-definition-tc-sfqred-stats:
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
.. LINENO 585
.. _tc-definition-tc-sfq-qopt-v1:
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``): probability, high resolution
:stats (``binary``):
.. LINENO 635
.. _tc-definition-tc-ratespec:
tc-ratespec
===========
:type: struct
:header: linux/pkt_sched.h
:members:
:cell-log (``u8``):
:linklayer (``u8``):
:overhead (``u8``):
:cell-align (``u8``):
:mpu (``u8``):
:rate (``u32``):
.. LINENO 658
.. _tc-definition-tc-tbf-qopt:
tc-tbf-qopt
===========
:type: struct
:members:
:rate (``binary``):
:peakrate (``binary``):
:limit (``u32``):
:buffer (``u32``):
:mtu (``u32``):
.. LINENO 679
.. _tc-definition-tc-sizespec:
tc-sizespec
===========
:type: struct
:members:
:cell-log (``u8``):
:size-log (``u8``):
:cell-align (``s16``):
:overhead (``s32``):
:linklayer (``u32``):
:mpu (``u32``):
:mtu (``u32``):
:tsize (``u32``):
.. LINENO 707
.. _tc-definition-gnet-estimator:
gnet-estimator
==============
:type: struct
:members:
:interval (``s8``): Sampling period
:ewma-log (``u8``): The log() of measurement window weight
.. LINENO 719
.. _tc-definition-tc-choke-xstats:
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
.. LINENO 743
.. _tc-definition-tc-codel-xstats:
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
.. LINENO 783
.. _tc-definition-tc-fq-codel-xstats:
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``):
.. LINENO 825
.. _tc-definition-tc-fq-pie-xstats:
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
.. LINENO 865
.. _tc-definition-tc-fq-qd-stats:
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``):
.. LINENO 932
.. _tc-definition-tc-hhf-xstats:
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
.. LINENO 952
.. _tc-definition-tc-pie-xstats:
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
.. LINENO 992
.. _tc-definition-tc-red-xstats:
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
.. LINENO 1012
.. _tc-definition-tc-sfb-xstats:
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``):
.. LINENO 1044
.. _tc-definition-tc-sfq-xstats:
tc-sfq-xstats
=============
:type: struct
:members:
:allot (``s32``):
.. LINENO 1051
.. _tc-definition-gnet-stats-basic:
gnet-stats-basic
================
:type: struct
:members:
:bytes (``u64``):
:packets (``u32``):
.. LINENO 1061
.. _tc-definition-gnet-stats-rate-est:
gnet-stats-rate-est
===================
:type: struct
:members:
:bps (``u32``):
:pps (``u32``):
.. LINENO 1071
.. _tc-definition-gnet-stats-rate-est64:
gnet-stats-rate-est64
=====================
:type: struct
:members:
:bps (``u64``):
:pps (``u64``):
.. LINENO 1081
.. _tc-definition-gnet-stats-queue:
gnet-stats-queue
================
:type: struct
:members:
:qlen (``u32``):
:backlog (``u32``):
:drops (``u32``):
:requeues (``u32``):
:overlimits (``u32``):
.. LINENO 1100
.. _tc-definition-tc-u32-key:
tc-u32-key
==========
:type: struct
:members:
:mask (``u32``):
:val (``u32``):
:off (``s32``):
:offmask (``s32``):
.. LINENO 1118
.. _tc-definition-tc-u32-mark:
tc-u32-mark
===========
:type: struct
:members:
:val (``u32``):
:mask (``u32``):
:success (``u32``):
.. LINENO 1131
.. _tc-definition-tc-u32-sel:
tc-u32-sel
==========
:type: struct
:members:
:flags (``u8``):
:offshift (``u8``):
:nkeys (``u8``):
:offmask (``u16``):
:off (``u16``):
:offoff (``s16``):
:hoff (``s16``):
:hmask (``u32``):
:keys (``binary``):
.. LINENO 1165
.. _tc-definition-tc-u32-pcnt:
tc-u32-pcnt
===========
:type: struct
:members:
:rcnt (``u64``):
:rhit (``u64``):
:kcnts (``u64``):
.. LINENO 1178
.. _tc-definition-tcf-t:
tcf-t
=====
:type: struct
:members:
:install (``u64``):
:lastuse (``u64``):
:expires (``u64``):
:firstuse (``u64``):
.. LINENO 1194
.. _tc-definition-tc-gact:
tc-gact
=======
:type: struct
:members:
:index (``u32``):
:capab (``u32``):
:action (``s32``):
:refcnt (``s32``):
:bindcnt (``s32``):
.. LINENO 1213
.. _tc-definition-tc-gact-p:
tc-gact-p
=========
:type: struct
:members:
:ptype (``u16``):
:pval (``u16``):
:paction (``s32``):
.. LINENO 1226
.. _tc-definition-tcf-ematch-tree-hdr:
tcf-ematch-tree-hdr
===================
:type: struct
:members:
:nmatches (``u16``):
:progid (``u16``):
.. LINENO 1236
.. _tc-definition-tc-basic-pcnt:
tc-basic-pcnt
=============
:type: struct
:members:
:rcnt (``u64``):
:rhit (``u64``):
.. LINENO 1246
.. _tc-definition-tc-matchall-pcnt:
tc-matchall-pcnt
================
:type: struct
:members:
:rhit (``u64``):
.. LINENO 1253
.. _tc-definition-tc-mpls:
tc-mpls
=======
:type: struct
:members:
:index (``u32``):
:capab (``u32``):
:action (``s32``):
:refcnt (``s32``):
:bindcnt (``s32``):
:m-action (``s32``):
.. LINENO 1275
.. _tc-definition-tc-police:
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``):
.. LINENO 1311
.. _tc-definition-tc-pedit-sel:
tc-pedit-sel
============
:type: struct
:members:
:index (``u32``):
:capab (``u32``):
:action (``s32``):
:refcnt (``s32``):
:bindcnt (``s32``):
:nkeys (``u8``):
:flags (``u8``):
:keys (``binary``):
.. LINENO 1340
.. _tc-definition-tc-pedit-key:
tc-pedit-key
============
:type: struct
:members:
:mask (``u32``):
:val (``u32``):
:off (``u32``):
:at (``u32``):
:offmask (``u32``):
:shift (``u32``):
.. LINENO 1362
.. _tc-definition-tc-vlan:
tc-vlan
=======
:type: struct
:members:
:index (``u32``):
:capab (``u32``):
:action (``s32``):
:refcnt (``s32``):
:bindcnt (``s32``):
:v-action (``s32``):
--------------
Attribute sets
--------------
.. _tc-attribute-set-attrs:
attrs
=====
.. LINENO 1389
kind (``string``)
~~~~~~~~~~~~~~~~~
.. LINENO 1392
options (``sub-message``)
~~~~~~~~~~~~~~~~~~~~~~~~~
:sub-message: :ref:`tc-sub-message-options-msg`
:selector: kind
.. LINENO 1397
stats (``binary``)
~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-stats`
.. LINENO 1401
xstats (``sub-message``)
~~~~~~~~~~~~~~~~~~~~~~~~
:sub-message: :ref:`tc-sub-message-tca-stats-app-msg`
:selector: kind
.. LINENO 1406
rate (``binary``)
~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-gnet-estimator`
.. LINENO 1410
fcnt (``u32``)
~~~~~~~~~~~~~~
.. LINENO 1413
stats2 (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-tca-stats-attrs`
.. LINENO 1417
stab (``nest``)
~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-tca-stab-attrs`
.. LINENO 1421
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 1424
dump-invisible (``flag``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1427
chain (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 1430
hw-offload (``u8``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 1433
ingress-block (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1436
egress-block (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1439
dump-flags (``bitfield32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1442
ext-warn-msg (``string``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-act-attrs:
act-attrs
=========
.. LINENO 1449
kind (``string``)
~~~~~~~~~~~~~~~~~
.. LINENO 1452
options (``sub-message``)
~~~~~~~~~~~~~~~~~~~~~~~~~
:sub-message: :ref:`tc-sub-message-act-options-msg`
:selector: kind
.. LINENO 1457
index (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 1460
stats (``nest``)
~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-tca-stats-attrs`
.. LINENO 1464
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 1467
cookie (``binary``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 1470
flags (``bitfield32``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1473
hw-stats (``bitfield32``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1476
used-hw-stats (``bitfield32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1479
in-hw-count (``u32``)
~~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-act-bpf-attrs:
act-bpf-attrs
=============
.. LINENO 1487
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1491
parms (``binary``)
~~~~~~~~~~~~~~~~~~
.. LINENO 1494
ops-len (``u16``)
~~~~~~~~~~~~~~~~~
.. LINENO 1497
ops (``binary``)
~~~~~~~~~~~~~~~~
.. LINENO 1500
fd (``u32``)
~~~~~~~~~~~~
.. LINENO 1503
name (``string``)
~~~~~~~~~~~~~~~~~
.. LINENO 1506
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 1509
tag (``binary``)
~~~~~~~~~~~~~~~~
.. LINENO 1512
id (``binary``)
~~~~~~~~~~~~~~~
.. _tc-attribute-set-act-connmark-attrs:
act-connmark-attrs
==================
.. LINENO 1520
parms (``binary``)
~~~~~~~~~~~~~~~~~~
.. LINENO 1523
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1527
pad (``pad``)
~~~~~~~~~~~~~
.. _tc-attribute-set-act-csum-attrs:
act-csum-attrs
==============
.. LINENO 1535
parms (``binary``)
~~~~~~~~~~~~~~~~~~
.. LINENO 1538
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1542
pad (``pad``)
~~~~~~~~~~~~~
.. _tc-attribute-set-act-ct-attrs:
act-ct-attrs
============
.. LINENO 1550
parms (``binary``)
~~~~~~~~~~~~~~~~~~
.. LINENO 1553
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1557
action (``u16``)
~~~~~~~~~~~~~~~~
.. LINENO 1560
zone (``u16``)
~~~~~~~~~~~~~~
.. LINENO 1563
mark (``u32``)
~~~~~~~~~~~~~~
.. LINENO 1566
mark-mask (``u32``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 1569
labels (``binary``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 1572
labels-mask (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1575
nat-ipv4-min (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 1579
nat-ipv4-max (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 1583
nat-ipv6-min (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1586
nat-ipv6-max (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1589
nat-port-min (``u16``)
~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 1593
nat-port-max (``u16``)
~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 1597
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 1600
helper-name (``string``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1603
helper-family (``u8``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1606
helper-proto (``u8``)
~~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-act-ctinfo-attrs:
act-ctinfo-attrs
================
.. LINENO 1614
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 1617
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1621
act (``binary``)
~~~~~~~~~~~~~~~~
.. LINENO 1624
zone (``u16``)
~~~~~~~~~~~~~~
.. LINENO 1627
parms-dscp-mask (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1630
parms-dscp-statemask (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1633
parms-cpmark-mask (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1636
stats-dscp-set (``u64``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1639
stats-dscp-error (``u64``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1642
stats-cpmark-set (``u64``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-act-gate-attrs:
act-gate-attrs
==============
.. LINENO 1650
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1654
parms (``binary``)
~~~~~~~~~~~~~~~~~~
.. LINENO 1657
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 1660
priority (``s32``)
~~~~~~~~~~~~~~~~~~
.. LINENO 1663
entry-list (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1666
base-time (``u64``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 1669
cycle-time (``u64``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 1672
cycle-time-ext (``u64``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1675
flags (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 1678
clockid (``s32``)
~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-act-ife-attrs:
act-ife-attrs
=============
.. LINENO 1686
parms (``binary``)
~~~~~~~~~~~~~~~~~~
.. LINENO 1689
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1693
dmac (``binary``)
~~~~~~~~~~~~~~~~~
.. LINENO 1696
smac (``binary``)
~~~~~~~~~~~~~~~~~
.. LINENO 1699
type (``u16``)
~~~~~~~~~~~~~~
.. LINENO 1702
metalst (``binary``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 1705
pad (``pad``)
~~~~~~~~~~~~~
.. _tc-attribute-set-act-mirred-attrs:
act-mirred-attrs
================
.. LINENO 1713
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1717
parms (``binary``)
~~~~~~~~~~~~~~~~~~
.. LINENO 1720
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 1723
blockid (``binary``)
~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-act-mpls-attrs:
act-mpls-attrs
==============
.. LINENO 1731
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1735
parms (``binary``)
~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-mpls`
.. LINENO 1739
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 1742
proto (``u16``)
~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 1746
label (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 1749
tc (``u8``)
~~~~~~~~~~~
.. LINENO 1752
ttl (``u8``)
~~~~~~~~~~~~
.. LINENO 1755
bos (``u8``)
~~~~~~~~~~~~
.. _tc-attribute-set-act-nat-attrs:
act-nat-attrs
=============
.. LINENO 1763
parms (``binary``)
~~~~~~~~~~~~~~~~~~
.. LINENO 1766
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1770
pad (``pad``)
~~~~~~~~~~~~~
.. _tc-attribute-set-act-pedit-attrs:
act-pedit-attrs
===============
.. LINENO 1778
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1782
parms (``binary``)
~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-pedit-sel`
.. LINENO 1786
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 1789
parms-ex (``binary``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1792
keys-ex (``binary``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 1795
key-ex (``binary``)
~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-act-simple-attrs:
act-simple-attrs
================
.. LINENO 1803
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1807
parms (``binary``)
~~~~~~~~~~~~~~~~~~
.. LINENO 1810
data (``binary``)
~~~~~~~~~~~~~~~~~
.. LINENO 1813
pad (``pad``)
~~~~~~~~~~~~~
.. _tc-attribute-set-act-skbedit-attrs:
act-skbedit-attrs
=================
.. LINENO 1821
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1825
parms (``binary``)
~~~~~~~~~~~~~~~~~~
.. LINENO 1828
priority (``u32``)
~~~~~~~~~~~~~~~~~~
.. LINENO 1831
queue-mapping (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1834
mark (``u32``)
~~~~~~~~~~~~~~
.. LINENO 1837
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 1840
ptype (``u16``)
~~~~~~~~~~~~~~~
.. LINENO 1843
mask (``u32``)
~~~~~~~~~~~~~~
.. LINENO 1846
flags (``u64``)
~~~~~~~~~~~~~~~
.. LINENO 1849
queue-mapping-max (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-act-skbmod-attrs:
act-skbmod-attrs
================
.. LINENO 1857
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1861
parms (``binary``)
~~~~~~~~~~~~~~~~~~
.. LINENO 1864
dmac (``binary``)
~~~~~~~~~~~~~~~~~
.. LINENO 1867
smac (``binary``)
~~~~~~~~~~~~~~~~~
.. LINENO 1870
etype (``binary``)
~~~~~~~~~~~~~~~~~~
.. LINENO 1873
pad (``pad``)
~~~~~~~~~~~~~
.. _tc-attribute-set-act-tunnel-key-attrs:
act-tunnel-key-attrs
====================
.. LINENO 1881
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1885
parms (``binary``)
~~~~~~~~~~~~~~~~~~
.. LINENO 1888
enc-ipv4-src (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 1892
enc-ipv4-dst (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 1896
enc-ipv6-src (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1899
enc-ipv6-dst (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1902
enc-key-id (``u64``)
~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 1906
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 1909
enc-dst-port (``u16``)
~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 1913
no-csum (``u8``)
~~~~~~~~~~~~~~~~
.. LINENO 1916
enc-opts (``binary``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1919
enc-tos (``u8``)
~~~~~~~~~~~~~~~~
.. LINENO 1922
enc-ttl (``u8``)
~~~~~~~~~~~~~~~~
.. LINENO 1925
no-frag (``flag``)
~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-act-vlan-attrs:
act-vlan-attrs
==============
.. LINENO 1933
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 1937
parms (``binary``)
~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-vlan`
.. LINENO 1941
push-vlan-id (``u16``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1944
push-vlan-protocol (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1947
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 1950
push-vlan-priority (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1953
push-eth-dst (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 1956
push-eth-src (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-basic-attrs:
basic-attrs
===========
.. LINENO 1963
classid (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 1966
ematches (``nest``)
~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-ematch-attrs`
.. LINENO 1970
act (``indexed-array``)
~~~~~~~~~~~~~~~~~~~~~~~
:sub-type: nest
:nested-attributes: :ref:`tc-attribute-set-act-attrs`
.. LINENO 1975
police (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-police-attrs`
.. LINENO 1979
pcnt (``binary``)
~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-basic-pcnt`
.. LINENO 1983
pad (``pad``)
~~~~~~~~~~~~~
.. _tc-attribute-set-bpf-attrs:
bpf-attrs
=========
.. LINENO 1990
act (``indexed-array``)
~~~~~~~~~~~~~~~~~~~~~~~
:sub-type: nest
:nested-attributes: :ref:`tc-attribute-set-act-attrs`
.. LINENO 1995
police (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-police-attrs`
.. LINENO 1999
classid (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 2002
ops-len (``u16``)
~~~~~~~~~~~~~~~~~
.. LINENO 2005
ops (``binary``)
~~~~~~~~~~~~~~~~
.. LINENO 2008
fd (``u32``)
~~~~~~~~~~~~
.. LINENO 2011
name (``string``)
~~~~~~~~~~~~~~~~~
.. LINENO 2014
flags (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 2017
flags-gen (``u32``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 2020
tag (``binary``)
~~~~~~~~~~~~~~~~
.. LINENO 2023
id (``u32``)
~~~~~~~~~~~~
.. _tc-attribute-set-cake-attrs:
cake-attrs
==========
.. LINENO 2030
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 2033
base-rate64 (``u64``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2036
diffserv-mode (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2039
atm (``u32``)
~~~~~~~~~~~~~
.. LINENO 2042
flow-mode (``u32``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 2045
overhead (``u32``)
~~~~~~~~~~~~~~~~~~
.. LINENO 2048
rtt (``u32``)
~~~~~~~~~~~~~
.. LINENO 2051
target (``u32``)
~~~~~~~~~~~~~~~~
.. LINENO 2054
autorate (``u32``)
~~~~~~~~~~~~~~~~~~
.. LINENO 2057
memory (``u32``)
~~~~~~~~~~~~~~~~
.. LINENO 2060
nat (``u32``)
~~~~~~~~~~~~~
.. LINENO 2063
raw (``u32``)
~~~~~~~~~~~~~
.. LINENO 2066
wash (``u32``)
~~~~~~~~~~~~~~
.. LINENO 2069
mpu (``u32``)
~~~~~~~~~~~~~
.. LINENO 2072
ingress (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 2075
ack-filter (``u32``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 2078
split-gso (``u32``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 2081
fwmark (``u32``)
~~~~~~~~~~~~~~~~
.. _tc-attribute-set-cake-stats-attrs:
cake-stats-attrs
================
.. LINENO 2088
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 2091
capacity-estimate64 (``u64``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2094
memory-limit (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2097
memory-used (``u32``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2100
avg-netoff (``u32``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 2103
min-netlen (``u32``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 2106
max-netlen (``u32``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 2109
min-adjlen (``u32``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 2112
max-adjlen (``u32``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 2115
tin-stats (``indexed-array``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:sub-type: nest
:nested-attributes: :ref:`tc-attribute-set-cake-tin-stats-attrs`
.. LINENO 2120
deficit (``s32``)
~~~~~~~~~~~~~~~~~
.. LINENO 2123
cobalt-count (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2126
dropping (``u32``)
~~~~~~~~~~~~~~~~~~
.. LINENO 2129
drop-next-us (``s32``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2132
p-drop (``u32``)
~~~~~~~~~~~~~~~~
.. LINENO 2135
blue-timer-us (``s32``)
~~~~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-cake-tin-stats-attrs:
cake-tin-stats-attrs
====================
.. LINENO 2142
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 2145
sent-packets (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2148
sent-bytes64 (``u64``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2151
dropped-packets (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2154
dropped-bytes64 (``u64``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2157
acks-dropped-packets (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2160
acks-dropped-bytes64 (``u64``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2163
ecn-marked-packets (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2166
ecn-marked-bytes64 (``u64``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2169
backlog-packets (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2172
backlog-bytes (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2175
threshold-rate64 (``u64``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2178
target-us (``u32``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 2181
interval-us (``u32``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2184
way-indirect-hits (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2187
way-misses (``u32``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 2190
way-collisions (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2193
peak-delay-us (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2196
avg-delay-us (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2199
base-delay-us (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2202
sparse-flows (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2205
bulk-flows (``u32``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 2208
unresponsive-flows (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2211
max-skblen (``u32``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 2214
flow-quantum (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-cbs-attrs:
cbs-attrs
=========
.. LINENO 2221
parms (``binary``)
~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-cbs-qopt`
.. _tc-attribute-set-cgroup-attrs:
cgroup-attrs
============
.. LINENO 2229
act (``indexed-array``)
~~~~~~~~~~~~~~~~~~~~~~~
:sub-type: nest
:nested-attributes: :ref:`tc-attribute-set-act-attrs`
.. LINENO 2234
police (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-police-attrs`
.. LINENO 2238
ematches (``binary``)
~~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-choke-attrs:
choke-attrs
===========
.. LINENO 2245
parms (``binary``)
~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-red-qopt`
.. LINENO 2249
stab (``binary``)
~~~~~~~~~~~~~~~~~
.. LINENO 2255
max-p (``u32``)
~~~~~~~~~~~~~~~
.. _tc-attribute-set-codel-attrs:
codel-attrs
===========
.. LINENO 2262
target (``u32``)
~~~~~~~~~~~~~~~~
.. LINENO 2265
limit (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 2268
interval (``u32``)
~~~~~~~~~~~~~~~~~~
.. LINENO 2271
ecn (``u32``)
~~~~~~~~~~~~~
.. LINENO 2274
ce-threshold (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-drr-attrs:
drr-attrs
=========
.. LINENO 2281
quantum (``u32``)
~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-ematch-attrs:
ematch-attrs
============
.. LINENO 2289
tree-hdr (``binary``)
~~~~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-ematch-tree-hdr`
.. LINENO 2293
tree-list (``binary``)
~~~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-flow-attrs:
flow-attrs
==========
.. LINENO 2300
keys (``u32``)
~~~~~~~~~~~~~~
.. LINENO 2303
mode (``u32``)
~~~~~~~~~~~~~~
.. LINENO 2306
baseclass (``u32``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 2309
rshift (``u32``)
~~~~~~~~~~~~~~~~
.. LINENO 2312
addend (``u32``)
~~~~~~~~~~~~~~~~
.. LINENO 2315
mask (``u32``)
~~~~~~~~~~~~~~
.. LINENO 2318
xor (``u32``)
~~~~~~~~~~~~~
.. LINENO 2321
divisor (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 2324
act (``binary``)
~~~~~~~~~~~~~~~~
.. LINENO 2327
police (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-police-attrs`
.. LINENO 2331
ematches (``binary``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2334
perturb (``u32``)
~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-flower-attrs:
flower-attrs
============
.. LINENO 2341
classid (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 2344
indev (``string``)
~~~~~~~~~~~~~~~~~~
.. LINENO 2347
act (``indexed-array``)
~~~~~~~~~~~~~~~~~~~~~~~
:sub-type: nest
:nested-attributes: :ref:`tc-attribute-set-act-attrs`
.. LINENO 2352
key-eth-dst (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: mac
.. LINENO 2356
key-eth-dst-mask (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: mac
.. LINENO 2360
key-eth-src (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: mac
.. LINENO 2364
key-eth-src-mask (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: mac
.. LINENO 2368
key-eth-type (``u16``)
~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2372
key-ip-proto (``u8``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2375
key-ipv4-src (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
:display-hint: ipv4
.. LINENO 2380
key-ipv4-src-mask (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
:display-hint: ipv4
.. LINENO 2385
key-ipv4-dst (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
:display-hint: ipv4
.. LINENO 2390
key-ipv4-dst-mask (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
:display-hint: ipv4
.. LINENO 2395
key-ipv6-src (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: ipv6
.. LINENO 2399
key-ipv6-src-mask (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: ipv6
.. LINENO 2403
key-ipv6-dst (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: ipv6
.. LINENO 2407
key-ipv6-dst-mask (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: ipv6
.. LINENO 2411
key-tcp-src (``u16``)
~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2415
key-tcp-dst (``u16``)
~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2419
key-udp-src (``u16``)
~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2423
key-udp-dst (``u16``)
~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2427
flags (``u32``)
~~~~~~~~~~~~~~~
:enum: :ref:`tc-definition-cls-flags`
:enum-as-flags: True
.. LINENO 2432
key-vlan-id (``u16``)
~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2436
key-vlan-prio (``u8``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2439
key-vlan-eth-type (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2443
key-enc-key-id (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2447
key-enc-ipv4-src (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
:display-hint: ipv4
.. LINENO 2452
key-enc-ipv4-src-mask (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
:display-hint: ipv4
.. LINENO 2457
key-enc-ipv4-dst (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
:display-hint: ipv4
.. LINENO 2462
key-enc-ipv4-dst-mask (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
:display-hint: ipv4
.. LINENO 2467
key-enc-ipv6-src (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: ipv6
.. LINENO 2471
key-enc-ipv6-src-mask (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: ipv6
.. LINENO 2475
key-enc-ipv6-dst (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: ipv6
.. LINENO 2479
key-enc-ipv6-dst-mask (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: ipv6
.. LINENO 2483
key-tcp-src-mask (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2487
key-tcp-dst-mask (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2491
key-udp-src-mask (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2495
key-udp-dst-mask (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2499
key-sctp-src-mask (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2503
key-sctp-dst-mask (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2507
key-sctp-src (``u16``)
~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2511
key-sctp-dst (``u16``)
~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2515
key-enc-udp-src-port (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2519
key-enc-udp-src-port-mask (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2523
key-enc-udp-dst-port (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2527
key-enc-udp-dst-port-mask (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2531
key-flags (``u32``)
~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
:enum: :ref:`tc-definition-flower-key-ctrl-flags`
:enum-as-flags: True
.. LINENO 2537
key-flags-mask (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
:enum: :ref:`tc-definition-flower-key-ctrl-flags`
:enum-as-flags: True
.. LINENO 2543
key-icmpv4-code (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2546
key-icmpv4-code-mask (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2549
key-icmpv4-type (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2552
key-icmpv4-type-mask (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2555
key-icmpv6-code (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2558
key-icmpv6-code-mask (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2561
key-icmpv6-type (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2564
key-icmpv6-type-mask (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2567
key-arp-sip (``u32``)
~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2571
key-arp-sip-mask (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2575
key-arp-tip (``u32``)
~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2579
key-arp-tip-mask (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2583
key-arp-op (``u8``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 2586
key-arp-op-mask (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2589
key-arp-sha (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: mac
.. LINENO 2593
key-arp-sha-mask (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: mac
.. LINENO 2597
key-arp-tha (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: mac
.. LINENO 2601
key-arp-tha-mask (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:display-hint: mac
.. LINENO 2605
key-mpls-ttl (``u8``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2608
key-mpls-bos (``u8``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2611
key-mpls-tc (``u8``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 2614
key-mpls-label (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2618
key-tcp-flags (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2622
key-tcp-flags-mask (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2626
key-ip-tos (``u8``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 2629
key-ip-tos-mask (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2632
key-ip-ttl (``u8``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 2635
key-ip-ttl-mask (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2638
key-cvlan-id (``u16``)
~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2642
key-cvlan-prio (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2645
key-cvlan-eth-type (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2649
key-enc-ip-tos (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2652
key-enc-ip-tos-mask (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2655
key-enc-ip-ttl (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2658
key-enc-ip-ttl-mask (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2661
key-enc-opts (``nest``)
~~~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-flower-key-enc-opts-attrs`
.. LINENO 2665
key-enc-opts-mask (``nest``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-flower-key-enc-opts-attrs`
.. LINENO 2669
in-hw-count (``u32``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2672
key-port-src-min (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2676
key-port-src-max (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2680
key-port-dst-min (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2684
key-port-dst-max (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2688
key-ct-state (``u16``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2691
key-ct-state-mask (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2694
key-ct-zone (``u16``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2697
key-ct-zone-mask (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2700
key-ct-mark (``u32``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2703
key-ct-mark-mask (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2706
key-ct-labels (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2709
key-ct-labels-mask (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2712
key-mpls-opts (``nest``)
~~~~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-flower-key-mpls-opt-attrs`
.. LINENO 2716
key-hash (``u32``)
~~~~~~~~~~~~~~~~~~
.. LINENO 2719
key-hash-mask (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2722
key-num-of-vlans (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2725
key-pppoe-sid (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2729
key-ppp-proto (``u16``)
~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2733
key-l2tpv3-sid (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2737
l2-miss (``u8``)
~~~~~~~~~~~~~~~~
.. LINENO 2740
key-cfm (``nest``)
~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-flower-key-cfm-attrs`
.. LINENO 2744
key-spi (``u32``)
~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2748
key-spi-mask (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
.. LINENO 2752
key-enc-flags (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
:enum: :ref:`tc-definition-flower-key-ctrl-flags`
:enum-as-flags: True
.. LINENO 2758
key-enc-flags-mask (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:byte-order: big-endian
:enum: :ref:`tc-definition-flower-key-ctrl-flags`
:enum-as-flags: True
.. _tc-attribute-set-flower-key-enc-opts-attrs:
flower-key-enc-opts-attrs
=========================
.. LINENO 2768
geneve (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-flower-key-enc-opt-geneve-attrs`
.. LINENO 2772
vxlan (``nest``)
~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-flower-key-enc-opt-vxlan-attrs`
.. LINENO 2776
erspan (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-flower-key-enc-opt-erspan-attrs`
.. LINENO 2780
gtp (``nest``)
~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-flower-key-enc-opt-gtp-attrs`
.. _tc-attribute-set-flower-key-enc-opt-geneve-attrs:
flower-key-enc-opt-geneve-attrs
===============================
.. LINENO 2788
class (``u16``)
~~~~~~~~~~~~~~~
.. LINENO 2791
type (``u8``)
~~~~~~~~~~~~~
.. LINENO 2794
data (``binary``)
~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-flower-key-enc-opt-vxlan-attrs:
flower-key-enc-opt-vxlan-attrs
==============================
.. LINENO 2801
gbp (``u32``)
~~~~~~~~~~~~~
.. _tc-attribute-set-flower-key-enc-opt-erspan-attrs:
flower-key-enc-opt-erspan-attrs
===============================
.. LINENO 2808
ver (``u8``)
~~~~~~~~~~~~
.. LINENO 2811
index (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 2814
dir (``u8``)
~~~~~~~~~~~~
.. LINENO 2817
hwid (``u8``)
~~~~~~~~~~~~~
.. _tc-attribute-set-flower-key-enc-opt-gtp-attrs:
flower-key-enc-opt-gtp-attrs
============================
.. LINENO 2824
pdu-type (``u8``)
~~~~~~~~~~~~~~~~~
.. LINENO 2827
qfi (``u8``)
~~~~~~~~~~~~
.. _tc-attribute-set-flower-key-mpls-opt-attrs:
flower-key-mpls-opt-attrs
=========================
.. LINENO 2835
lse-depth (``u8``)
~~~~~~~~~~~~~~~~~~
.. LINENO 2838
lse-ttl (``u8``)
~~~~~~~~~~~~~~~~
.. LINENO 2841
lse-bos (``u8``)
~~~~~~~~~~~~~~~~
.. LINENO 2844
lse-tc (``u8``)
~~~~~~~~~~~~~~~
.. LINENO 2847
lse-label (``u32``)
~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-flower-key-cfm-attrs:
flower-key-cfm-attrs
====================
.. LINENO 2854
md-level (``u8``)
~~~~~~~~~~~~~~~~~
.. LINENO 2857
opcode (``u8``)
~~~~~~~~~~~~~~~
.. _tc-attribute-set-fw-attrs:
fw-attrs
========
.. LINENO 2864
classid (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 2867
police (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-police-attrs`
.. LINENO 2871
indev (``string``)
~~~~~~~~~~~~~~~~~~
.. LINENO 2874
act (``indexed-array``)
~~~~~~~~~~~~~~~~~~~~~~~
:sub-type: nest
:nested-attributes: :ref:`tc-attribute-set-act-attrs`
.. LINENO 2879
mask (``u32``)
~~~~~~~~~~~~~~
.. _tc-attribute-set-gred-attrs:
gred-attrs
==========
.. LINENO 2886
parms (``binary``)
~~~~~~~~~~~~~~~~~~
.. LINENO 2889
stab (``binary``)
~~~~~~~~~~~~~~~~~
:sub-type: u8
.. LINENO 2893
dps (``binary``)
~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-gred-sopt`
.. LINENO 2897
max-p (``binary``)
~~~~~~~~~~~~~~~~~~
:sub-type: u32
.. LINENO 2901
limit (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 2904
vq-list (``nest``)
~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-tca-gred-vq-list-attrs`
.. _tc-attribute-set-tca-gred-vq-list-attrs:
tca-gred-vq-list-attrs
======================
.. LINENO 2912
entry (``nest``)
~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-tca-gred-vq-entry-attrs`
:multi-attr: True
.. _tc-attribute-set-tca-gred-vq-entry-attrs:
tca-gred-vq-entry-attrs
=======================
.. LINENO 2921
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 2924
dp (``u32``)
~~~~~~~~~~~~
.. LINENO 2927
stat-bytes (``u64``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 2930
stat-packets (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2933
stat-backlog (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2936
stat-prob-drop (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2939
stat-prob-mark (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2942
stat-forced-drop (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2945
stat-forced-mark (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2948
stat-pdrop (``u32``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 2951
stat-other (``u32``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 2954
flags (``u32``)
~~~~~~~~~~~~~~~
.. _tc-attribute-set-hfsc-attrs:
hfsc-attrs
==========
.. LINENO 2960
rsc (``binary``)
~~~~~~~~~~~~~~~~
.. LINENO 2963
fsc (``binary``)
~~~~~~~~~~~~~~~~
.. LINENO 2966
usc (``binary``)
~~~~~~~~~~~~~~~~
.. _tc-attribute-set-hhf-attrs:
hhf-attrs
=========
.. LINENO 2973
backlog-limit (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2976
quantum (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 2979
hh-flows-limit (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2982
reset-timeout (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2985
admit-bytes (``u32``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2988
evict-timeout (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 2991
non-hh-weight (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-htb-attrs:
htb-attrs
=========
.. LINENO 2998
parms (``binary``)
~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-htb-opt`
.. LINENO 3002
init (``binary``)
~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-htb-glob`
.. LINENO 3006
ctab (``binary``)
~~~~~~~~~~~~~~~~~
.. LINENO 3009
rtab (``binary``)
~~~~~~~~~~~~~~~~~
.. LINENO 3012
direct-qlen (``u32``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3015
rate64 (``u64``)
~~~~~~~~~~~~~~~~
.. LINENO 3018
ceil64 (``u64``)
~~~~~~~~~~~~~~~~
.. LINENO 3021
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 3024
offload (``flag``)
~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-matchall-attrs:
matchall-attrs
==============
.. LINENO 3031
classid (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 3034
act (``indexed-array``)
~~~~~~~~~~~~~~~~~~~~~~~
:sub-type: nest
:nested-attributes: :ref:`tc-attribute-set-act-attrs`
.. LINENO 3039
flags (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 3042
pcnt (``binary``)
~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-matchall-pcnt`
.. LINENO 3046
pad (``pad``)
~~~~~~~~~~~~~
.. _tc-attribute-set-etf-attrs:
etf-attrs
=========
.. LINENO 3053
parms (``binary``)
~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-etf-qopt`
.. _tc-attribute-set-ets-attrs:
ets-attrs
=========
.. LINENO 3061
nbands (``u8``)
~~~~~~~~~~~~~~~
.. LINENO 3064
nstrict (``u8``)
~~~~~~~~~~~~~~~~
.. LINENO 3067
quanta (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-ets-attrs`
.. LINENO 3071
quanta-band (``u32``)
~~~~~~~~~~~~~~~~~~~~~
:multi-attr: True
.. LINENO 3075
priomap (``nest``)
~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-ets-attrs`
.. LINENO 3079
priomap-band (``u8``)
~~~~~~~~~~~~~~~~~~~~~
:multi-attr: True
.. _tc-attribute-set-fq-attrs:
fq-attrs
========
.. LINENO 3087
plimit (``u32``)
~~~~~~~~~~~~~~~~
:doc: Limit of total number of packets in queue
.. LINENO 3091
flow-plimit (``u32``)
~~~~~~~~~~~~~~~~~~~~~
:doc: Limit of packets per flow
.. LINENO 3095
quantum (``u32``)
~~~~~~~~~~~~~~~~~
:doc: RR quantum
.. LINENO 3099
initial-quantum (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~
:doc: RR quantum for new flow
.. LINENO 3103
rate-enable (``u32``)
~~~~~~~~~~~~~~~~~~~~~
:doc: Enable / disable rate limiting
.. LINENO 3107
flow-default-rate (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:doc: Obsolete, do not use
.. LINENO 3111
flow-max-rate (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~
:doc: Per flow max rate
.. LINENO 3115
buckets-log (``u32``)
~~~~~~~~~~~~~~~~~~~~~
:doc: log2(number of buckets)
.. LINENO 3119
flow-refill-delay (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:doc: Flow credit refill delay in usec
.. LINENO 3123
orphan-mask (``u32``)
~~~~~~~~~~~~~~~~~~~~~
:doc: Mask applied to orphaned skb hashes
.. LINENO 3127
low-rate-threshold (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:doc: Per packet delay under this rate
.. LINENO 3131
ce-threshold (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
:doc: DCTCP-like CE marking threshold
.. LINENO 3135
timer-slack (``u32``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3138
horizon (``u32``)
~~~~~~~~~~~~~~~~~
:doc: Time horizon in usec
.. LINENO 3142
horizon-drop (``u8``)
~~~~~~~~~~~~~~~~~~~~~
:doc: Drop packets beyond horizon, or cap their EDT
.. LINENO 3146
priomap (``binary``)
~~~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-prio-qopt`
.. LINENO 3150
weights (``binary``)
~~~~~~~~~~~~~~~~~~~~
:sub-type: s32
:doc: Weights for each band
.. _tc-attribute-set-fq-codel-attrs:
fq-codel-attrs
==============
.. LINENO 3159
target (``u32``)
~~~~~~~~~~~~~~~~
.. LINENO 3162
limit (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 3165
interval (``u32``)
~~~~~~~~~~~~~~~~~~
.. LINENO 3168
ecn (``u32``)
~~~~~~~~~~~~~
.. LINENO 3171
flows (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 3174
quantum (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 3177
ce-threshold (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3180
drop-batch-size (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3183
memory-limit (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3186
ce-threshold-selector (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3189
ce-threshold-mask (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-fq-pie-attrs:
fq-pie-attrs
============
.. LINENO 3196
limit (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 3199
flows (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 3202
target (``u32``)
~~~~~~~~~~~~~~~~
.. LINENO 3205
tupdate (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 3208
alpha (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 3211
beta (``u32``)
~~~~~~~~~~~~~~
.. LINENO 3214
quantum (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 3217
memory-limit (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3220
ecn-prob (``u32``)
~~~~~~~~~~~~~~~~~~
.. LINENO 3223
ecn (``u32``)
~~~~~~~~~~~~~
.. LINENO 3226
bytemode (``u32``)
~~~~~~~~~~~~~~~~~~
.. LINENO 3229
dq-rate-estimator (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-netem-attrs:
netem-attrs
===========
.. LINENO 3236
corr (``binary``)
~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-netem-corr`
.. LINENO 3240
delay-dist (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~
:sub-type: s16
.. LINENO 3244
reorder (``binary``)
~~~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-netem-reorder`
.. LINENO 3248
corrupt (``binary``)
~~~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-netem-corrupt`
.. LINENO 3252
loss (``nest``)
~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-netem-loss-attrs`
.. LINENO 3256
rate (``binary``)
~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-netem-rate`
.. LINENO 3260
ecn (``u32``)
~~~~~~~~~~~~~
.. LINENO 3263
rate64 (``u64``)
~~~~~~~~~~~~~~~~
.. LINENO 3266
pad (``u32``)
~~~~~~~~~~~~~
.. LINENO 3269
latency64 (``s64``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 3272
jitter64 (``s64``)
~~~~~~~~~~~~~~~~~~
.. LINENO 3275
slot (``binary``)
~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-netem-slot`
.. LINENO 3279
slot-dist (``binary``)
~~~~~~~~~~~~~~~~~~~~~~
:sub-type: s16
.. LINENO 3283
prng-seed (``u64``)
~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-netem-loss-attrs:
netem-loss-attrs
================
.. LINENO 3290
gi (``binary``)
~~~~~~~~~~~~~~~
:doc: General Intuitive - 4 state model
:struct: :ref:`tc-definition-tc-netem-gimodel`
.. LINENO 3295
ge (``binary``)
~~~~~~~~~~~~~~~
:doc: Gilbert Elliot models
:struct: :ref:`tc-definition-tc-netem-gemodel`
.. _tc-attribute-set-pie-attrs:
pie-attrs
=========
.. LINENO 3304
target (``u32``)
~~~~~~~~~~~~~~~~
.. LINENO 3307
limit (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 3310
tupdate (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 3313
alpha (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 3316
beta (``u32``)
~~~~~~~~~~~~~~
.. LINENO 3319
ecn (``u32``)
~~~~~~~~~~~~~
.. LINENO 3322
bytemode (``u32``)
~~~~~~~~~~~~~~~~~~
.. LINENO 3325
dq-rate-estimator (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-police-attrs:
police-attrs
============
.. LINENO 3332
tbf (``binary``)
~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-police`
.. LINENO 3336
rate (``binary``)
~~~~~~~~~~~~~~~~~
.. LINENO 3339
peakrate (``binary``)
~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3342
avrate (``u32``)
~~~~~~~~~~~~~~~~
.. LINENO 3345
result (``u32``)
~~~~~~~~~~~~~~~~
.. LINENO 3348
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 3352
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 3355
rate64 (``u64``)
~~~~~~~~~~~~~~~~
.. LINENO 3358
peakrate64 (``u64``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 3361
pktrate64 (``u64``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 3364
pktburst64 (``u64``)
~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-qfq-attrs:
qfq-attrs
=========
.. LINENO 3371
weight (``u32``)
~~~~~~~~~~~~~~~~
.. LINENO 3374
lmax (``u32``)
~~~~~~~~~~~~~~
.. _tc-attribute-set-red-attrs:
red-attrs
=========
.. LINENO 3381
parms (``binary``)
~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-red-qopt`
.. LINENO 3385
stab (``binary``)
~~~~~~~~~~~~~~~~~
.. LINENO 3388
max-p (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 3391
flags (``bitfield32``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3394
early-drop-block (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3397
mark-block (``u32``)
~~~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-route-attrs:
route-attrs
===========
.. LINENO 3404
classid (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 3407
to (``u32``)
~~~~~~~~~~~~
.. LINENO 3410
from (``u32``)
~~~~~~~~~~~~~~
.. LINENO 3413
iif (``u32``)
~~~~~~~~~~~~~
.. LINENO 3416
police (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-police-attrs`
.. LINENO 3420
act (``indexed-array``)
~~~~~~~~~~~~~~~~~~~~~~~
:sub-type: nest
:nested-attributes: :ref:`tc-attribute-set-act-attrs`
.. _tc-attribute-set-taprio-attrs:
taprio-attrs
============
.. LINENO 3429
priomap (``binary``)
~~~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-mqprio-qopt`
.. LINENO 3433
sched-entry-list (``nest``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-taprio-sched-entry-list`
.. LINENO 3437
sched-base-time (``s64``)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3440
sched-single-entry (``nest``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-taprio-sched-entry`
.. LINENO 3444
sched-clockid (``s32``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3447
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 3450
admin-sched (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3453
sched-cycle-time (``s64``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3456
sched-cycle-time-extension (``s64``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3459
flags (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 3462
txtime-delay (``u32``)
~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3465
tc-entry (``nest``)
~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-taprio-tc-entry-attrs`
.. _tc-attribute-set-taprio-sched-entry-list:
taprio-sched-entry-list
=======================
.. LINENO 3473
entry (``nest``)
~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-taprio-sched-entry`
:multi-attr: True
.. _tc-attribute-set-taprio-sched-entry:
taprio-sched-entry
==================
.. LINENO 3482
index (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 3485
cmd (``u8``)
~~~~~~~~~~~~
.. LINENO 3488
gate-mask (``u32``)
~~~~~~~~~~~~~~~~~~~
.. LINENO 3491
interval (``u32``)
~~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-taprio-tc-entry-attrs:
taprio-tc-entry-attrs
=====================
.. LINENO 3498
index (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 3501
max-sdu (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 3504
fp (``u32``)
~~~~~~~~~~~~
.. _tc-attribute-set-tbf-attrs:
tbf-attrs
=========
.. LINENO 3511
parms (``binary``)
~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-tbf-qopt`
.. LINENO 3515
rtab (``binary``)
~~~~~~~~~~~~~~~~~
.. LINENO 3518
ptab (``binary``)
~~~~~~~~~~~~~~~~~
.. LINENO 3521
rate64 (``u64``)
~~~~~~~~~~~~~~~~
.. LINENO 3524
prate64 (``u64``)
~~~~~~~~~~~~~~~~~
.. LINENO 3527
burst (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 3530
pburst (``u32``)
~~~~~~~~~~~~~~~~
.. LINENO 3533
pad (``pad``)
~~~~~~~~~~~~~
.. _tc-attribute-set-act-sample-attrs:
act-sample-attrs
================
.. LINENO 3541
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 3545
parms (``binary``)
~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-gact`
.. LINENO 3549
rate (``u32``)
~~~~~~~~~~~~~~
.. LINENO 3552
trunc-size (``u32``)
~~~~~~~~~~~~~~~~~~~~
.. LINENO 3555
psample-group (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~
.. LINENO 3558
pad (``pad``)
~~~~~~~~~~~~~
.. _tc-attribute-set-act-gact-attrs:
act-gact-attrs
==============
.. LINENO 3566
tm (``binary``)
~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tcf-t`
.. LINENO 3570
parms (``binary``)
~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-gact`
.. LINENO 3574
prob (``binary``)
~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-gact-p`
.. LINENO 3578
pad (``pad``)
~~~~~~~~~~~~~
.. _tc-attribute-set-tca-stab-attrs:
tca-stab-attrs
==============
.. LINENO 3585
base (``binary``)
~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-sizespec`
.. LINENO 3589
data (``binary``)
~~~~~~~~~~~~~~~~~
.. _tc-attribute-set-tca-stats-attrs:
tca-stats-attrs
===============
.. LINENO 3597
basic (``binary``)
~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-gnet-stats-basic`
.. LINENO 3601
rate-est (``binary``)
~~~~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-gnet-stats-rate-est`
.. LINENO 3605
queue (``binary``)
~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-gnet-stats-queue`
.. LINENO 3609
app (``sub-message``)
~~~~~~~~~~~~~~~~~~~~~
:sub-message: :ref:`tc-sub-message-tca-stats-app-msg`
:selector: kind
.. LINENO 3614
rate-est64 (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-gnet-stats-rate-est64`
.. LINENO 3618
pad (``pad``)
~~~~~~~~~~~~~
.. LINENO 3621
basic-hw (``binary``)
~~~~~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-gnet-stats-basic`
.. LINENO 3625
pkt64 (``u64``)
~~~~~~~~~~~~~~~
.. _tc-attribute-set-u32-attrs:
u32-attrs
=========
.. LINENO 3632
classid (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 3635
hash (``u32``)
~~~~~~~~~~~~~~
.. LINENO 3638
link (``u32``)
~~~~~~~~~~~~~~
.. LINENO 3641
divisor (``u32``)
~~~~~~~~~~~~~~~~~
.. LINENO 3644
sel (``binary``)
~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-u32-sel`
.. LINENO 3648
police (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`tc-attribute-set-police-attrs`
.. LINENO 3652
act (``indexed-array``)
~~~~~~~~~~~~~~~~~~~~~~~
:sub-type: nest
:nested-attributes: :ref:`tc-attribute-set-act-attrs`
.. LINENO 3657
indev (``string``)
~~~~~~~~~~~~~~~~~~
.. LINENO 3660
pcnt (``binary``)
~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-u32-pcnt`
.. LINENO 3664
mark (``binary``)
~~~~~~~~~~~~~~~~~
:struct: :ref:`tc-definition-tc-u32-mark`
.. LINENO 3668
flags (``u32``)
~~~~~~~~~~~~~~~
.. LINENO 3671
pad (``pad``)
~~~~~~~~~~~~~
------------
Sub-messages
------------
.. _tc-sub-message-options-msg:
options-msg
===========
- **basic**
:attribute-set: :ref:`tc-attribute-set-basic-attrs`
- **bpf**
:attribute-set: :ref:`tc-attribute-set-bpf-attrs`
- **bfifo**
:fixed-header: :ref:`tc-definition-tc-fifo-qopt`
- **cake**
:attribute-set: :ref:`tc-attribute-set-cake-attrs`
- **cbs**
:attribute-set: :ref:`tc-attribute-set-cbs-attrs`
- **cgroup**
:attribute-set: :ref:`tc-attribute-set-cgroup-attrs`
- **choke**
:attribute-set: :ref:`tc-attribute-set-choke-attrs`
- **clsact**
- **codel**
:attribute-set: :ref:`tc-attribute-set-codel-attrs`
- **drr**
:attribute-set: :ref:`tc-attribute-set-drr-attrs`
- **etf**
:attribute-set: :ref:`tc-attribute-set-etf-attrs`
- **ets**
:attribute-set: :ref:`tc-attribute-set-ets-attrs`
- **flow**
:attribute-set: :ref:`tc-attribute-set-flow-attrs`
- **flower**
:attribute-set: :ref:`tc-attribute-set-flower-attrs`
- **fq**
:attribute-set: :ref:`tc-attribute-set-fq-attrs`
- **fq_codel**
:attribute-set: :ref:`tc-attribute-set-fq-codel-attrs`
- **fq_pie**
:attribute-set: :ref:`tc-attribute-set-fq-pie-attrs`
- **fw**
:attribute-set: :ref:`tc-attribute-set-fw-attrs`
- **gred**
:attribute-set: :ref:`tc-attribute-set-gred-attrs`
- **hfsc**
:fixed-header: :ref:`tc-definition-tc-hfsc-qopt`
- **hhf**
:attribute-set: :ref:`tc-attribute-set-hhf-attrs`
- **htb**
:attribute-set: :ref:`tc-attribute-set-htb-attrs`
- **ingress**
- **matchall**
:attribute-set: :ref:`tc-attribute-set-matchall-attrs`
- **mq**
- **mqprio**
:fixed-header: :ref:`tc-definition-tc-mqprio-qopt`
- **multiq**
:fixed-header: :ref:`tc-definition-tc-multiq-qopt`
- **netem**
:fixed-header: :ref:`tc-definition-tc-netem-qopt`
:attribute-set: :ref:`tc-attribute-set-netem-attrs`
- **pfifo**
:fixed-header: :ref:`tc-definition-tc-fifo-qopt`
- **pfifo_fast**
:fixed-header: :ref:`tc-definition-tc-prio-qopt`
- **pfifo_head_drop**
:fixed-header: :ref:`tc-definition-tc-fifo-qopt`
- **pie**
:attribute-set: :ref:`tc-attribute-set-pie-attrs`
- **plug**
:fixed-header: :ref:`tc-definition-tc-plug-qopt`
- **prio**
:fixed-header: :ref:`tc-definition-tc-prio-qopt`
- **qfq**
:attribute-set: :ref:`tc-attribute-set-qfq-attrs`
- **red**
:attribute-set: :ref:`tc-attribute-set-red-attrs`
- **route**
:attribute-set: :ref:`tc-attribute-set-route-attrs`
- **sfb**
:fixed-header: :ref:`tc-definition-tc-sfb-qopt`
- **sfq**
:fixed-header: :ref:`tc-definition-tc-sfq-qopt-v1`
- **taprio**
:attribute-set: :ref:`tc-attribute-set-taprio-attrs`
- **tbf**
:attribute-set: :ref:`tc-attribute-set-tbf-attrs`
- **u32**
:attribute-set: :ref:`tc-attribute-set-u32-attrs`
.. _tc-sub-message-act-options-msg:
act-options-msg
===============
- **bpf**
:attribute-set: :ref:`tc-attribute-set-act-bpf-attrs`
- **connmark**
:attribute-set: :ref:`tc-attribute-set-act-connmark-attrs`
- **csum**
:attribute-set: :ref:`tc-attribute-set-act-csum-attrs`
- **ct**
:attribute-set: :ref:`tc-attribute-set-act-ct-attrs`
- **ctinfo**
:attribute-set: :ref:`tc-attribute-set-act-ctinfo-attrs`
- **gact**
:attribute-set: :ref:`tc-attribute-set-act-gact-attrs`
- **gate**
:attribute-set: :ref:`tc-attribute-set-act-gate-attrs`
- **ife**
:attribute-set: :ref:`tc-attribute-set-act-ife-attrs`
- **mirred**
:attribute-set: :ref:`tc-attribute-set-act-mirred-attrs`
- **mpls**
:attribute-set: :ref:`tc-attribute-set-act-mpls-attrs`
- **nat**
:attribute-set: :ref:`tc-attribute-set-act-nat-attrs`
- **pedit**
:attribute-set: :ref:`tc-attribute-set-act-pedit-attrs`
- **police**
:attribute-set: :ref:`tc-attribute-set-police-attrs`
- **sample**
:attribute-set: :ref:`tc-attribute-set-act-sample-attrs`
- **simple**
:attribute-set: :ref:`tc-attribute-set-act-simple-attrs`
- **skbedit**
:attribute-set: :ref:`tc-attribute-set-act-skbedit-attrs`
- **skbmod**
:attribute-set: :ref:`tc-attribute-set-act-skbmod-attrs`
- **tunnel_key**
:attribute-set: :ref:`tc-attribute-set-act-tunnel-key-attrs`
- **vlan**
:attribute-set: :ref:`tc-attribute-set-act-vlan-attrs`
.. _tc-sub-message-tca-stats-app-msg:
tca-stats-app-msg
=================
- **cake**
:attribute-set: :ref:`tc-attribute-set-cake-stats-attrs`
- **choke**
:fixed-header: :ref:`tc-definition-tc-choke-xstats`
- **codel**
:fixed-header: :ref:`tc-definition-tc-codel-xstats`
- **fq**
:fixed-header: :ref:`tc-definition-tc-fq-qd-stats`
- **fq_codel**
:fixed-header: :ref:`tc-definition-tc-fq-codel-xstats`
- **fq_pie**
:fixed-header: :ref:`tc-definition-tc-fq-pie-xstats`
- **hhf**
:fixed-header: :ref:`tc-definition-tc-hhf-xstats`
- **pie**
:fixed-header: :ref:`tc-definition-tc-pie-xstats`
- **red**
:fixed-header: :ref:`tc-definition-tc-red-xstats`
- **sfb**
:fixed-header: :ref:`tc-definition-tc-sfb-xstats`
- **sfq**
:fixed-header: :ref:`tc-definition-tc-sfq-xstats`