| 1 |
.TH "Connmark retriever action in tc" 8 "11 Jan 2016" "iproute2" "Linux" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
connmark - netfilter connmark retriever action |
| 5 |
.SH SYNOPSIS |
| 6 |
.in +8 |
| 7 |
.ti -8 |
| 8 |
.BR tc " ... " "action connmark " [ " zone" |
| 9 |
.IR u16_zone_index " ] [ " CONTROL " ] [" |
| 10 |
.BI index " u32_index " |
| 11 |
] |
| 12 |
|
| 13 |
.ti -8 |
| 14 |
.IR CONTROL " := { " reclassify " | " pipe " | " drop " | " continue " | " ok " }" |
| 15 |
.SH DESCRIPTION |
| 16 |
The connmark action is used to restore the connection's mark value into the |
| 17 |
packet's fwmark. |
| 18 |
.SH OPTIONS |
| 19 |
.TP |
| 20 |
.BI zone " u16_zone_index" |
| 21 |
Specify the conntrack zone when doing conntrack lookups for packets. |
| 22 |
.I u16_zone_index |
| 23 |
is a 16bit unsigned decimal value. |
| 24 |
.TP |
| 25 |
.I CONTROL |
| 26 |
How to continue after executing this action. |
| 27 |
.RS |
| 28 |
.TP |
| 29 |
.B reclassify |
| 30 |
Restarts classification by jumping back to the first filter attached to this |
| 31 |
action's parent. |
| 32 |
.TP |
| 33 |
.B pipe |
| 34 |
Continue with the next action, this is the default. |
| 35 |
.TP |
| 36 |
.B drop |
| 37 |
.TQ |
| 38 |
.B shot |
| 39 |
Packet will be dropped without running further actions. |
| 40 |
.TP |
| 41 |
.B continue |
| 42 |
Continue classification with next filter in line. |
| 43 |
.TP |
| 44 |
.B pass |
| 45 |
Return to calling qdisc for packet processing. This ends the classification |
| 46 |
process. |
| 47 |
.RE |
| 48 |
.TP |
| 49 |
.BI index " u32_index " |
| 50 |
Specify an index for this action in order to being able to identify it in later |
| 51 |
commands. |
| 52 |
.I u32_index |
| 53 |
is a 32bit unsigned decimal value. |
| 54 |
.SH SEE ALSO |
| 55 |
.BR tc (8) |