From mboxrd@z Thu Jan 1 00:00:00 1970 From: Serhey Popovych Subject: [PATCH iproute2 3/3] ip/tunnel: Document "external" parameter Date: Thu, 28 Dec 2017 13:11:42 +0200 Message-ID: <1514459502-20011-1-git-send-email-serhe.popovych@gmail.com> References: <1514374096-1473-4-git-send-email-serhe.popovych@gmail.com> To: netdev@vger.kernel.org Return-path: Received: from mail-wr0-f195.google.com ([209.85.128.195]:36547 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752905AbdL1LLw (ORCPT ); Thu, 28 Dec 2017 06:11:52 -0500 Received: by mail-wr0-f195.google.com with SMTP id u19so32538157wrc.3 for ; Thu, 28 Dec 2017 03:11:52 -0800 (PST) Received: from tuxracer.localdomain ([2a01:6d80::195:20:96:53]) by smtp.gmail.com with ESMTPSA id 67sm24610743wmq.38.2017.12.28.03.11.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Dec 2017 03:11:50 -0800 (PST) In-Reply-To: <1514374096-1473-4-git-send-email-serhe.popovych@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: Add it to ip-link(8) "type gre" output help message as well as to ip-link(8) page. Signed-off-by: Serhey Popovych --- ip/link_gre.c | 1 + man/man8/ip-link.8.in | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/ip/link_gre.c b/ip/link_gre.c index 896bb19..3c0b6d6 100644 --- a/ip/link_gre.c +++ b/ip/link_gre.c @@ -43,6 +43,7 @@ static void print_usage(FILE *f) " [ [no]encap-csum ]\n" " [ [no]encap-csum6 ]\n" " [ [no]encap-remcsum ]\n" + " [ external ]\n" " [ fwmark MARK ]\n" " [ erspan IDX ]\n" "\n" diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in index 94ecbec..9ddf0ff 100644 --- a/man/man8/ip-link.8.in +++ b/man/man8/ip-link.8.in @@ -698,6 +698,8 @@ the following additional arguments are supported: .I " mode " { ip6ip | ipip | mplsip | any } " ] [ .BR erspan " \fIIDX " +] [ +.BR external ] .in +8 @@ -749,6 +751,11 @@ IPv6-Over-IPv4 is not supported for IPIP. indicates a 20 bit index/port number associated with the ERSPAN traffic's source port and direction. +.sp +.BR external +- make this tunnel externally controlled +.RB "(e.g. " "ip route encap" ). + .in -8 .TP -- 1.7.10.4