* [PATCH iproute2 net-next] erspan: add erspan usage description
@ 2017-12-26 18:31 William Tu
2017-12-27 14:24 ` David Ahern
0 siblings, 1 reply; 2+ messages in thread
From: William Tu @ 2017-12-26 18:31 UTC (permalink / raw)
To: netdev; +Cc: dsahern
The patch adds erspan usage description, so 'ip link help erspan'
and 'ip link help ip6erspan' shows the options.
Signed-off-by: William Tu <u9012063@gmail.com>
---
ip/link_gre.c | 4 ++++
ip/link_gre6.c | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/ip/link_gre.c b/ip/link_gre.c
index 0b9c71baebaf..65ad8bad4b82 100644
--- a/ip/link_gre.c
+++ b/ip/link_gre.c
@@ -44,7 +44,11 @@ static void print_usage(FILE *f)
" [ [no]encap-csum6 ]\n"
" [ [no]encap-remcsum ]\n"
" [ fwmark MARK ]\n"
+ " [ erspan_ver version ]\n"
" [ erspan IDX ]\n"
+ " [ erspan_dir { ingress | egress } ]\n"
+ " [ erspan_hwid hwid ]\n"
+ " [ external ]\n"
"\n"
"Where: ADDR := { IP_ADDRESS | any }\n"
" TOS := { NUMBER | inherit }\n"
diff --git a/ip/link_gre6.c b/ip/link_gre6.c
index e4a8e1f5ee41..cb621806261c 100644
--- a/ip/link_gre6.c
+++ b/ip/link_gre6.c
@@ -52,7 +52,11 @@ static void print_usage(FILE *f)
" [ [no]encap-csum ]\n"
" [ [no]encap-csum6 ]\n"
" [ [no]encap-remcsum ]\n"
+ " [ erspan_ver version ]\n"
" [ erspan IDX ]\n"
+ " [ erspan_dir { ingress | egress } ]\n"
+ " [ erspan_hwid hwid ]\n"
+ " [ external ]\n"
"\n"
"Where: ADDR := IPV6_ADDRESS\n"
" TTL := { 0..255 } (default=%d)\n"
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-27 14:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-26 18:31 [PATCH iproute2 net-next] erspan: add erspan usage description William Tu
2017-12-27 14:24 ` David Ahern
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox