1Traffic control index filter(8)      Linux     Traffic control index filter(8)
2
3
4

NAME

6       tcindex - traffic control index filter
7

SYNOPSIS

9       tc  filter  ...  tcindex  [ hash SIZE ] [ mask MASK ] [ shift SHIFT ] [
10               pass_on | fall_through ] [  classid  CLASSID  ]  [  action  AC‐
11               TION_SPEC ]
12

DESCRIPTION

14       This  filter  allows  one to match packets based on their tcindex field
15       value, i.e. the combination of the DSCP and ECN fields  as  present  in
16       IPv4 and IPv6 headers.
17

OPTIONS

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 be‐
35              fore use. If a mask has been set, masking is done before  shift‐
36              ing.
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

SEE ALSO

50       tc(8)
51
52
53
54iproute2                          21 Oct 2015  Traffic control index filter(8)
Impressum