naccyde / rpms / iproute

Forked from rpms/iproute 5 months ago
Clone

Blame SOURCES/0048-tc-ship-filter-man-pages-and-refer-to-them-in-tc.8.patch

049c96
From 984233b59ae6025b6aef029b85a8ced53741f6a3 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: ship filter man pages and refer to them in tc.8
049c96
049c96
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1286711
049c96
Upstream Status: iproute2.git commit a257bc7b4c481
049c96
Conflicts:
049c96
- Context change due to other missing man pages in RHEL7.
049c96
- Dropped all references to flower filter as that does not exist in
049c96
  RHEL7.
049c96
049c96
commit a257bc7b4c481d4b2871508edfccc198d1e56c8a
049c96
Author: Phil Sutter <phil@nwl.cc>
049c96
Date:   Fri Oct 23 19:47:16 2015 +0200
049c96
049c96
    tc: ship filter man pages and refer to them in tc.8
049c96
049c96
    Cc: Thomas Graf <tgraf@suug.ch>
049c96
    Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
049c96
    Cc: Jiri Pirko <jiri@resnulli.us>
049c96
    Cc: Patrick McHardy <kaber@trash.net>
049c96
    Cc: Werner Almesberger <werner@almesberger.net>
049c96
    Signed-off-by: Phil Sutter <phil@nwl.cc>
049c96
---
049c96
 man/man8/Makefile |  4 +++-
049c96
 man/man8/tc.8     | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
049c96
 2 files changed, 53 insertions(+), 1 deletion(-)
049c96
049c96
diff --git a/man/man8/Makefile b/man/man8/Makefile
049c96
index 23ac83e..248ecfd 100644
049c96
--- a/man/man8/Makefile
049c96
+++ b/man/man8/Makefile
049c96
@@ -10,7 +10,9 @@ MAN8PAGES = $(TARGETS) ip.8 arpd.8 lnstat.8 routel.8 rtacct.8 rtmon.8 ss.8 \
049c96
 	ip-addrlabel.8 ip-l2tp.8 \
049c96
 	ip-maddress.8 ip-monitor.8 ip-mroute.8 ip-neighbour.8 \
049c96
 	ip-netns.8 ip-ntable.8 ip-rule.8 ip-tunnel.8 ip-xfrm.8 \
049c96
-	ip-tcp_metrics.8 ip-netconf.8 ip-token.8
049c96
+	ip-tcp_metrics.8 ip-netconf.8 ip-token.8 \
049c96
+	tc-basic.8 tc-cgroup.8 tc-flow.8 tc-fw.8 tc-route.8 \
049c96
+	tc-tcindex.8 tc-u32.8
049c96
 
049c96
 all: $(TARGETS)
049c96
 
049c96
diff --git a/man/man8/tc.8 b/man/man8/tc.8
049c96
index 80eaa3b..fb4efd9 100644
049c96
--- a/man/man8/tc.8
049c96
+++ b/man/man8/tc.8
049c96
@@ -141,6 +141,49 @@ It is important to notice that filters reside
049c96
 .B within
049c96
 qdiscs - they are not masters of what happens.
049c96
 
049c96
+The available filters are:
049c96
+.TP
049c96
+basic
049c96
+Filter packets based on an ematch expression. See
049c96
+.BR tc-ematch (8)
049c96
+for details.
049c96
+.TP
049c96
+bpf
049c96
+Filter packets using (e)BPF, see
049c96
+.BR tc-bpf (8)
049c96
+for details.
049c96
+.TP
049c96
+cgroup
049c96
+Filter packets based on the control group of their process. See
049c96
+. BR tc-cgroup (8)
049c96
+for details.
049c96
+.TP
049c96
+flow
049c96
+Flow-based classifier, filtering packets based on their flow (identified by selectable keys). See
049c96
+.BR tc-flow (8)
049c96
+for details.
049c96
+.TP
049c96
+fw
049c96
+Filter based on fwmark. Directly maps fwmark value to traffic class. See
049c96
+.BR tc-fw (8).
049c96
+.TP
049c96
+route
049c96
+Filter packets based on routing table. See
049c96
+.BR tc-route (8)
049c96
+for details.
049c96
+.TP
049c96
+rsvp
049c96
+Match Resource Reservation Protocol (RSVP) packets.
049c96
+.TP
049c96
+tcindex
049c96
+Filter packets based on traffic control index. See
049c96
+.BR tc-index (8).
049c96
+.TP
049c96
+u32
049c96
+Generic filtering on arbitrary packet data, assisted by syntax to abstract common operations. See
049c96
+.BR tc-u32 (8)
049c96
+for details.
049c96
+
049c96
 .SH CLASSLESS QDISCS
049c96
 The classless qdiscs are:
049c96
 .TP
049c96
@@ -583,24 +626,31 @@ print rates in IEC units (ie. 1K = 1024).
049c96
 .B tc
049c96
 was written by Alexey N. Kuznetsov and added in Linux 2.2.
049c96
 .SH SEE ALSO
049c96
+.BR tc-basic (8),
049c96
 .BR tc-bfifo (8),
049c96
 .BR tc-cbq (8),
049c96
+.BR tc-cgroup (8),
049c96
 .BR tc-choke (8),
049c96
 .BR tc-codel (8),
049c96
 .BR tc-drr (8),
049c96
 .BR tc-ematch (8),
049c96
+.BR tc-flow (8),
049c96
 .BR tc-fq (8),
049c96
 .BR tc-fq_codel (8),
049c96
+.BR tc-fw (8),
049c96
 .BR tc-hfsc (7),
049c96
 .BR tc-hfsc (8),
049c96
 .BR tc-htb (8),
049c96
 .BR tc-pfifo (8),
049c96
 .BR tc-pfifo_fast (8),
049c96
 .BR tc-red (8),
049c96
+.BR tc-route (8),
049c96
 .BR tc-sfb (8),
049c96
 .BR tc-sfq (8),
049c96
 .BR tc-stab (8),
049c96
 .BR tc-tbf (8),
049c96
+.BR tc-tcindex (8),
049c96
+.BR tc-u32 (8),
049c96
 .br
049c96
 .RB "User documentation at " http://lartc.org/ ", but please direct bugreports and patches to: " <netdev@vger.kernel.org>
049c96
 
049c96
-- 
049c96
1.8.3.1
049c96