Netdev List
 help / color / mirror / Atom feed
* [PATCH iproute2-next] ip-route2: document uid parameter for route get
@ 2026-09-16 10:57 Aman Sharma
  2026-09-16 15:43 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Aman Sharma @ 2026-09-16 10:57 UTC (permalink / raw)
  To: netdev; +Cc: dsahern, stephen, amasharm, Aman Sharma

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 <amanrsdev@gmail.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-16 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-16 10:57 [PATCH iproute2-next] ip-route2: document uid parameter for route get Aman Sharma
2026-09-16 15:43 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox