Package iproute-tc

Linux Traffic Control utility

http://kernel.org/pub/linux/utils/net/iproute2/

The Traffic Control utility manages queueing disciplines, their classes and
attached filters and actions. It is the standard tool to configure QoS in
Linux.

Miscellanea (Section 7)
tc-hfsc
HFSC (Hierarchical Fair Service Curve) is a network packet scheduling algorithm that was first presented at SIGCOMM'97. Developed as a part of ALTQ (ALTernative...
System Administration (Section 8)
tc
Tc is used to configure Traffic Control in the Linux kernel.
tc-basic
The basic filter allows to classify packets using the extended match infrastructure.
tc-bfifo
The pfifo and bfifo qdiscs are unadorned First In, First Out queues. They are the simplest queues possible and therefore have no overhead. pfifo constrains the...
tc-bpf
Extended Berkeley Packet Filter ( eBPF ) and classic Berkeley Packet Filter (originally known as BPF, for better distinction referred to as cBPF here) are both...
tc-cbq
Class Based Queueing is a classful qdisc that implements a rich linksharing hierarchy of classes. It contains shaping elements as well as prioritizing...
tc-cbq-details
Class Based Queueing is a classful qdisc that implements a rich linksharing hierarchy of classes. It contains shaping elements as well as prioritizing...
tc-cgroup
This filter serves as a hint to tc that the assigned class ID of the net_cls control group the process the packet originates from belongs to should be used for...
tc-choke
CHOKe (CHOose and Keep for responsive flows, CHOose and Kill for unresponsive flows) is a classless qdisc designed to both identify and penalize flows that...
tc-codel
CoDel (pronounced "coddle") is an adaptive "no-knobs" active queue management algorithm (AQM) scheme that was developed to address the shortcomings of RED and...
tc-connmark
The connmark action is used to restore the connection's mark value into the packet's fwmark.
tc-csum
The csum action triggers checksum recalculation of specified packet headers. It is commonly used after packet editing using the pedit action to fix for then...
tc-drr
The Deficit Round Robin Scheduler is a classful queuing discipline as a more flexible replacement for Stochastic Fairness Queuing. Unlike SFQ, there are no...
tc-ematch
tc filter add .. basic match EXPR .. flowid .. EXPR := TERM [ { and | or } EXPR ] TERM := [ not ] { MATCH | '(' EXPR ')' } MATCH := module '(' ARGS ')' ARGS :=...
tc-flow
The flow classifier is meant to extend the SFQ hashing capabilities without hard-coding new hash functions. It also allows deterministic mappings of keys to...
tc-flower
The flower filter matches flows to the set of keys specified and assigns an arbitrarily chosen class ID to packets belonging to them. Additionally (or...
tc-fq
FQ (Fair Queue) is a classless packet scheduler meant to be mostly used for locally generated traffic. It is designed to achieve per flow pacing. FQ does flow...
tc-fq_codel
FQ_Codel (Fair Queuing Controlled Delay) is queuing discipline that combines Fair Queuing with the CoDel AQM scheme. FQ_Codel uses a stochastic model to...
tc-fw
the fw filter allows to classify packets based on a previously set fwmark by iptables. If it is identical to the filter's handle, the filter matches. iptables...
tc-hfsc
Hierarchical Fair Service Curve's control under linux
tc-htb
HTB is meant as a more understandable and intuitive replacement for the CBQ qdisc in Linux. Both CBQ and HTB help you to control the use of the outbound...
tc-matchall
The matchall filter allows to classify every packet that flows on the port and run a action on it.
tc-mirred
The mirred action allows packet mirroring (copying) or redirecting (stealing) the packet it receives. Mirroring is what is sometimes referred to as Switch Port...
tc-mqprio
The MQPRIO qdisc is a simple queuing discipline that allows mapping traffic flows to hardware queue ranges using priorities and a configurable priority to...
tc-nat
The nat action allows to perform NAT without the overhead of conntrack, which is desirable if the number of flows or addresses to perform NAT on is large. This...
tc-netem
NetEm is an enhancement of the Linux traffic control facilities that allow to add delay, packet loss, duplication and more other characteristics to packets...
tc-pedit
The pedit action can be used to change arbitrary packet data. The location of data to change can either be specified by giving an offset and size as in RAW_OP...
tc-pfifo_fast
pfifo_fast is the default qdisc of each interface. Whenever an interface is created, the pfifo_fast qdisc is automatically used as a queue. If another qdisc is...
tc-pie
Proportional Integral controller-Enhanced (PIE) is a control theoretic active queue management scheme. It is based on the proportional integral controller but...
tc-police
The police action allows to limit bandwidth of traffic matched by the filter it is attached to. Basically there are two different algorithms available to...
tc-prio
The PRIO qdisc is a simple classful queueing discipline that contains an arbitrary number of classes of differing priority. The classes are dequeued in...
tc-red
Random Early Detection is a classless qdisc which manages its queue size smartly. Regular queues simply drop packets from the tail when they are full, which may...
tc-route
Match packets based on routing table entries. This filter centers around the possibility to assign a realm to routing table entries. For any packet to be...
tc-sfb
Stochastic Fair Blue is a classless qdisc to manage congestion based on packet loss and link utilization history while trying to prevent non-responsive flows...
tc-sfq
Stochastic Fairness Queueing is a classless queueing discipline available for traffic control with the tc(8) command. SFQ does not shape traffic but only...
tc-simple
This is a pedagogical example rather than an actually useful action. Upon every access, it prints the given STRING which may be of arbitrary length.
tc-skbedit
The skbedit action allows to change a packet's associated meta data. It complements the pedit action, which in turn allows to change parts of the packet data...
tc-stab
Size tables allow manipulation of packet sizes, as seen by the whole scheduler framework (of course, the actual packet size remains the same). Adjusted packet...
tc-tbf
The Token Bucket Filter is a classful queueing discipline available for traffic control with the tc(8) command. TBF is a pure shaper and never schedules...
tc-tcindex
This filter allows to match packets based on their tcindex field value, i.e. the combination of the DSCP and ECN fields as present in IPv4 and IPv6 headers.
tc-u32
The Universal/Ugly 32bit filter allows to match arbitrary bitfields in the packet. Due to breaking everything down to values, masks and offsets, It is equally...
tc-vlan
The vlan action allows to perform 802.1Q en- or decapsulation on a packet, reflected by the two operation modes POP and PUSH. The POP mode is simple, as no...
tc-xt
The xt action allows to call arbitrary iptables targets for packets matching the filter this action is attached to.