xref: /aosp_15_r20/external/iptables/extensions/libxt_tos.man (revision a71a954618bbadd4a345637e5edcf36eec826889)
1*a71a9546SAutomerger Merge WorkerThis module matches the 8-bit Type of Service field in the IPv4 header (i.e.
2*a71a9546SAutomerger Merge Workerincluding the "Precedence" bits) or the (also 8-bit) Priority field in the IPv6
3*a71a9546SAutomerger Merge Workerheader.
4*a71a9546SAutomerger Merge Worker.TP
5*a71a9546SAutomerger Merge Worker[\fB!\fP] \fB\-\-tos\fP \fIvalue\fP[\fB/\fP\fImask\fP]
6*a71a9546SAutomerger Merge WorkerMatches packets with the given TOS mark value. If a mask is specified, it is
7*a71a9546SAutomerger Merge Workerlogically ANDed with the TOS mark before the comparison.
8*a71a9546SAutomerger Merge Worker.TP
9*a71a9546SAutomerger Merge Worker[\fB!\fP] \fB\-\-tos\fP \fIsymbol\fP
10*a71a9546SAutomerger Merge WorkerYou can specify a symbolic name when using the tos match for IPv4. The list of
11*a71a9546SAutomerger Merge Workerrecognized TOS names can be obtained by calling iptables with \fB\-m tos \-h\fP.
12*a71a9546SAutomerger Merge WorkerNote that this implies a mask of 0x3F, i.e. all but the ECN bits.
13