]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
man8: update seg6 encap documentation
authorJustin Iurman <justin.iurman@6wind.com>
Fri, 20 Mar 2026 14:08:47 +0000 (15:08 +0100)
committerDavid Ahern <dsahern@kernel.org>
Tue, 7 Apr 2026 15:02:16 +0000 (09:02 -0600)
Include "tunsrc" in the man page.

Signed-off-by: Justin Iurman <justin.iurman@6wind.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
man/man8/ip-route.8.in

index aafa6d98a4c2f7ec0fc143a36f87f16f23cd507c..9f29fd436f59cc72caa01c5bde6b696b1aef2e1a 100644 (file)
@@ -240,7 +240,9 @@ throw " | " unreachable " | " prohibit " | " blackhole " | " nat " ]"
 .IR ENCAP_SEG6 " := "
 .B seg6
 .BR mode " [ "
-.BR encap " | " encap.red " | " inline " | " l2encap " | " l2encap.red " ] "
+.BR encap " | " encap.red " | " inline " | " l2encap " | " l2encap.red " ] ["
+.B tunsrc
+.IR ADDRESS " ]"
 .B segs
 .IR SEGMENTS " [ "
 .B hmac
@@ -893,6 +895,15 @@ applying the reduced segment list. When there is only one segment
 and the HMAC is not present, the SRH is omitted.
 .sp
 
+.B tunsrc
+.I ADDRESS
+- IPv6 address of the tunnel source (outer header), not used with inline mode.
+It is optional: if not provided, the tunnel source address is chosen based on
+the per-netns configuration ("ip sr tunsrc set ADDRESS") or, if not configured,
+it is dynamically resolved. If provided, it takes priority over the per-netns
+configuration and dynamic resolution.
+.sp
+
 .I SEGMENTS
 - List of comma-separated IPv6 addresses
 .sp