1 .TH "actions in tc" 8 "4 Jul 2017" "iproute2" "Linux"
4 actions \- independently defined actions in tc
11 .BR add " | " change " | " replace
52 .I ACTNAMESPEC INDEXSPEC
72 may be any valid action type: gact, mirred, bpf, connmark, csum, police, etc.
75 are the action-specific parameters; see the man page for the specific action
76 type to be used for details.
80 .IR reclassify " | " pipe " | " drop " | " continue " | " ok
84 These are the options that are specific to
86 and not only the options. Refer to
97 allows a user to define actions independently of a classifier (filter). These
98 actions can then be assigned to one or more filters, with any
99 packets matching the classifier's criteria having that action performed
102 Each action type (mirred, police, etc.) will have its own table to store
108 Create a new action in that action's table.
114 Make modifications to an existing action.
117 Display the action with the specified index value. When combined with the
121 display the statistics for that action.
124 Delete the action with the specified index value. If the action is already
125 associated with a classifier, it does not delete the classifier.
130 List all the actions in the specified table. When combined with the
134 display the statistics for all actions in the specified table.
137 Delete all actions stored in the specified table.
140 Note that these options are available to all action types.
143 Specify the table index value of an action.
145 is a 32-bit value that is unique to the specific type of action referenced.
149 .BR add ", " change ", and"
151 operations, the index is
153 When adding a new action,
154 specifying an index value will assign the action to that index unless that
155 index value has already been assigned. Omitting the index value for an add
156 operation will cause the kernel to assign a value to the new action.
161 .BR get " and " delete
162 operations, the index is
164 to identify the specific action to be displayed or deleted.
169 In addition to the specific action, mark the matching packet with the value
174 is a 128-bit value that will not be interpreted by the kernel whatsoever.
175 As such, it can be used as a correlating value for maintaining user state.
176 The value to be stored is completely arbitrary and does not require a specific
177 format. It is stored inside the action structure itself.
185 should proceed after executing the action. Any of the following are valid:
189 Restart the classifiction by jumping back to the first filter attached to
193 Continue with the next action. This is the default control.
196 Drop the packed without running any further actions.
199 Continue the classification with the next filter.
202 Return to the calling qdisc for packet processing, and end classification of
219 .BR tc-tunnel_key (8),