1Traffic control index filter(8) Linux Traffic control index filter(8)
2
3
4
6 tcindex - traffic control index filter
7
9 tc filter ... tcindex [ hash SIZE ] [ mask MASK ] [ shift SHIFT ] [
10 pas_on | fall_through ] [ classid CLASSID ] [ action
11 ACTION_SPEC ]
12
14 This filter allows to match packets based on their tcindex field value,
15 i.e. the combination of the DSCP and ECN fields as present in IPv4 and
16 IPv6 headers.
17
19 action ACTION_SPEC
20 Apply an action from the generic actions framework on matching
21 packets.
22
23 classid CLASSID
24 Push matching packets into the class identified by CLASSID.
25
26 hash SIZE
27 Hash table size in entries to use. Defaults to 64.
28
29 mask MASK
30 An optional bitmask to binary AND to the packet's tcindex field
31 before use.
32
33 shift SHIFT
34 The number of bits to right-shift a packet's tcindex value
35 before use. If a mask has been set, masking is done before
36 shifting.
37
38 pass_on
39 If this flag is set, failure to find a class for the resulting
40 ID will make the filter fail and lead to the next filter being
41 consulted.
42
43 fall_through
44 This is the opposite of pass_on and the default. The filter will
45 classify the packet even if there is no class present for the
46 resulting class ID.
47
48
50 tc(8)
51
52
53
54iproute2 21 Oct 2015 Traffic control index filter(8)