diff mbox

[iproute2,1/1] tc: updated man page to reflect GET command to retrieve a single filter.

Message ID 1478485658-14379-1-git-send-email-mrv@mojatatu.com
State Accepted, archived
Delegated to: stephen hemminger
Headers show

Commit Message

Roman Mashak Nov. 7, 2016, 2:27 a.m. UTC
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(-)

Comments

Sathya Perla Nov. 18, 2016, 9:11 a.m. UTC | #1
> -----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
diff mbox

Patch

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.