* [PATCH iproute2 1/1] tc: updated man page to reflect GET command to retrieve a single filter.
@ 2016-11-07 2:27 Roman Mashak
2016-11-18 9:11 ` Sathya Perla
0 siblings, 1 reply; 2+ messages in thread
From: Roman Mashak @ 2016-11-07 2:27 UTC (permalink / raw)
To: davem; +Cc: netdev, jhs, stephen, Roman Mashak
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
---
man/man8/tc.8 | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/man/man8/tc.8 b/man/man8/tc.8
index 4e99dca..3f4f8b5 100644
--- a/man/man8/tc.8
+++ b/man/man8/tc.8
@@ -28,7 +28,7 @@ class-id ] qdisc
.B tc
.RI "[ " OPTIONS " ]"
-.B filter [ add | change | replace | delete ] dev
+.B filter [ add | change | replace | delete | get ] dev
DEV
.B [ parent
qdisc-id
@@ -571,6 +571,14 @@ Performs a nearly atomic remove/add on an existing node id. If the node does not
it is created.
.TP
+get
+Displays a single filter given the interface, parent ID, priority, protocol and handle ID.
+
+.TP
+show
+Displays all filters attached to the given interface. A valid parent ID must be passed.
+
+.TP
link
Only available for qdiscs and performs a replace where the node
must exist already.
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH iproute2 1/1] tc: updated man page to reflect GET command to retrieve a single filter.
2016-11-07 2:27 [PATCH iproute2 1/1] tc: updated man page to reflect GET command to retrieve a single filter Roman Mashak
@ 2016-11-18 9:11 ` Sathya Perla
0 siblings, 0 replies; 2+ messages in thread
From: Sathya Perla @ 2016-11-18 9:11 UTC (permalink / raw)
To: Roman Mashak, davem; +Cc: netdev, jhs, stephen
> -----Original Message-----
> From: netdev-owner@vger.kernel.org [mailto:netdev-owner@vger.kernel.org]
On Behalf Of Roman Mashak
>
> Signed-off-by: Roman Mashak <mrv@mojatatu.com>
> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
> ---
> man/man8/tc.8 | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/man/man8/tc.8 b/man/man8/tc.8 index 4e99dca..3f4f8b5 100644
> --- a/man/man8/tc.8
> +++ b/man/man8/tc.8
> @@ -28,7 +28,7 @@ class-id ] qdisc
>
> .B tc
> .RI "[ " OPTIONS " ]"
> -.B filter [ add | change | replace | delete ] dev
> +.B filter [ add | change | replace | delete | get ] dev
> DEV
> .B [ parent
> qdisc-id
The handle parameter seems to be missing from the TC filter syntax
synopsis ; as in:
tc [ OPTIONS ] filter [ add | change | replace | delete | get ] dev DEV
[
parent qdisc-id | root ] protocol protocol prio priority handle
handle-ID
^^^^^^^^^^^^^
I guess the user would have to specify the handle-ID to retrieve a single
filter.
thanks,
-Sathya
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-18 9:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-07 2:27 [PATCH iproute2 1/1] tc: updated man page to reflect GET command to retrieve a single filter Roman Mashak
2016-11-18 9:11 ` Sathya Perla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).