Blame SOURCES/0046-tc-add-a-man-page-for-tcindex-filter.patch

049c96
From 86454e53f668896356e7ab1eaa8a687fdc266e2b Mon Sep 17 00:00:00 2001
049c96
From: Phil Sutter <psutter@redhat.com>
049c96
Date: Thu, 18 Feb 2016 15:45:21 +0100
049c96
Subject: [PATCH] tc: add a man page for tcindex filter
049c96
049c96
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1286711
049c96
Upstream Status: iproute2.git commit fc7a72f1ebcd8
049c96
049c96
commit fc7a72f1ebcd8eeba8788a68f83b0454a1bc7730
049c96
Author: Phil Sutter <phil@nwl.cc>
049c96
Date:   Fri Oct 23 19:47:14 2015 +0200
049c96
049c96
    tc: add a man page for tcindex filter
049c96
049c96
    Cc: Werner Almesberger <werner@almesberger.net>
049c96
    Signed-off-by: Phil Sutter <phil@nwl.cc>
049c96
---
049c96
 man/man8/tc-tcindex.8 | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++
049c96
 1 file changed, 58 insertions(+)
049c96
 create mode 100644 man/man8/tc-tcindex.8
049c96
049c96
diff --git a/man/man8/tc-tcindex.8 b/man/man8/tc-tcindex.8
049c96
new file mode 100644
049c96
index 0000000..7fcf825
049c96
--- /dev/null
049c96
+++ b/man/man8/tc-tcindex.8
049c96
@@ -0,0 +1,58 @@
049c96
+.TH "Traffic control index filter" 8 "21 Oct 2015" "iproute2" "Linux"
049c96
+
049c96
+.SH NAME
049c96
+tcindex \- traffic control index filter
049c96
+.SH SYNOPSIS
049c96
+.in +8
049c96
+.ti -8
049c96
+.BR tc " " filter " ... " tcindex " [ " hash
049c96
+.IR SIZE " ] [ "
049c96
+.B mask
049c96
+.IR MASK " ] [ "
049c96
+.B shift
049c96
+.IR SHIFT " ] [ "
049c96
+.BR pas_on " | " fall_through " ] [ " classid
049c96
+.IR CLASSID " ] [ "
049c96
+.B action
049c96
+.BR ACTION_SPEC " ]"
049c96
+.SH DESCRIPTION
049c96
+This filter allows to match packets based on their
049c96
+.B tcindex
049c96
+field value, i.e. the combination of the DSCP and ECN fields as present in IPv4
049c96
+and IPv6 headers.
049c96
+.SH OPTIONS
049c96
+.TP
049c96
+.BI action " ACTION_SPEC"
049c96
+Apply an action from the generic actions framework on matching packets.
049c96
+.TP
049c96
+.BI classid " CLASSID"
049c96
+Push matching packets into the class identified by
049c96
+.IR CLASSID .
049c96
+.TP
049c96
+.BI hash " SIZE"
049c96
+Hash table size in entries to use. Defaults to 64.
049c96
+.TP
049c96
+.BI mask " MASK"
049c96
+An optional bitmask to binary
049c96
+.BR AND " to the packet's " tcindex
049c96
+field before use.
049c96
+.TP
049c96
+.BI shift " SHIFT"
049c96
+The number of bits to right-shift a packet's
049c96
+.B tcindex
049c96
+value before use. If a
049c96
+.B mask
049c96
+has been set, masking is done before shifting.
049c96
+.TP
049c96
+.B pass_on
049c96
+If this flag is set, failure to find a class for the resulting ID will make the
049c96
+filter fail and lead to the next filter being consulted.
049c96
+.TP
049c96
+.B fall_through
049c96
+This is the opposite of
049c96
+.B pass_on
049c96
+and the default. The filter will classify the packet even if there is no class
049c96
+present for the resulting class ID.
049c96
+
049c96
+.SH SEE ALSO
049c96
+.BR tc (8)
049c96
-- 
049c96
1.8.3.1
049c96