ip-route2: document uid parameter for route get
Subsystems (2)
PATCH 1/1 ip-route2: document uid parameter for route get
The 'ip route get' command accepts a 'uid NUMBER' parameter to simulate route selection as if sent by a specific user. This is useful for testing per-user routing policies.
Add documentation for this parameter in the 'ip route get' section of the man page.
Signed-off-by Aman Sharma <[email protected]>
--- man/man8/ip-route.8.in | 4 ++++ 1 file changed, 4 insertions(+)
man/man8/ip-route.8.in +4 -0
@@ -1368,6 +1368,10 @@ force the output device on which this packet will be routed. the firewall mark .RB ( "fwmark" ) +.TP +.BI uid " NUMBER" +the user ID as seen by the route lookup + .TP .BI vrf " NAME" force the vrf device on which this packet will be routed.
Signature · 1 line
2.55.0
Stephen Hemminger
AppliedQuoted 8 lines · On Wed, 16 Sep 2026 16:27:59 +0530 Aman Sharma <[email protected]> wrote:
The 'ip route get' command accepts a 'uid NUMBER' parameter to simulate route selection as if sent by a specific user. This is useful for testing per-user routing policies.
Add documentation for this parameter in the 'ip route get' section of the man page.
Signed-off-by Aman Sharma <[email protected]>
Applied to iproute2 and added missing SYNOPSIS item as well.