Thread (2 messages) flat view 2 messages, 2 authors, 22h ago
HOTtoday

[PATCH iproute2-next] ip-route2: document uid parameter for route get

From: Aman Sharma <hidden>
Date: 2026-09-16 10:58:14
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>
---
 man/man8/ip-route.8.in | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in
index fd04432f..852e996e 100644
--- a/man/man8/ip-route.8.in
+++ b/man/man8/ip-route.8.in
@@ -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.
-- 
2.55.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help