121 lines
2.5 KiB
HTML
121 lines
2.5 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of Traffic control index filter</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>Traffic control index filter</H1>
|
|
Section: Linux (8)<BR>Updated: 21 Oct 2015<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<P>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
tcindex - traffic control index filter
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
|
|
<BR>
|
|
|
|
<B>tc</B> <B>filter</B> ... <B>tcindex</B> [ <B>hash</B>
|
|
|
|
<I>SIZE</I> ] [
|
|
|
|
<B>mask</B>
|
|
|
|
<I>MASK</I> ] [
|
|
|
|
<B>shift</B>
|
|
|
|
<I>SHIFT</I> ] [
|
|
|
|
<B>pass_on</B> | <B>fall_through</B> ] [ <B>classid</B>
|
|
|
|
<I>CLASSID</I> ] [
|
|
|
|
<B>action</B>
|
|
|
|
<B>ACTION_SPEC</B> ]
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
This filter allows to match packets based on their
|
|
<B>tcindex</B>
|
|
|
|
field value, i.e. the combination of the DSCP and ECN fields as present in IPv4
|
|
and IPv6 headers.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>action</B><I> ACTION_SPEC</I>
|
|
|
|
<DD>
|
|
Apply an action from the generic actions framework on matching packets.
|
|
<DT id="2"><B>classid</B><I> CLASSID</I>
|
|
|
|
<DD>
|
|
Push matching packets into the class identified by
|
|
<I>CLASSID</I>.
|
|
|
|
<DT id="3"><B>hash</B><I> SIZE</I>
|
|
|
|
<DD>
|
|
Hash table size in entries to use. Defaults to 64.
|
|
<DT id="4"><B>mask</B><I> MASK</I>
|
|
|
|
<DD>
|
|
An optional bitmask to binary
|
|
<B>AND</B> to the packet's <B>tcindex</B>
|
|
|
|
field before use.
|
|
<DT id="5"><B>shift</B><I> SHIFT</I>
|
|
|
|
<DD>
|
|
The number of bits to right-shift a packet's
|
|
<B>tcindex</B>
|
|
|
|
value before use. If a
|
|
<B>mask</B>
|
|
|
|
has been set, masking is done before shifting.
|
|
<DT id="6"><B>pass_on</B>
|
|
|
|
<DD>
|
|
If this flag is set, failure to find a class for the resulting ID will make the
|
|
filter fail and lead to the next filter being consulted.
|
|
<DT id="7"><B>fall_through</B>
|
|
|
|
<DD>
|
|
This is the opposite of
|
|
<B>pass_on</B>
|
|
|
|
and the default. The filter will classify the packet even if there is no class
|
|
present for the resulting class ID.
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+tc">tc</A></B>(8)
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="8"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="9"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="10"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="11"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="12"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:17 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|