From: Aman Sharma <amanrsdev@gmail.com>
To: netdev@vger.kernel.org
Cc: dsahern@kernel.org, stephen@networkplumber.org,
amasharm@redhat.com, Aman Sharma <amanrsdev@gmail.com>
Subject: [PATCH iproute2-next] ip-route2: document uid parameter for route get
Date: Wed, 16 Sep 2026 16:27:59 +0530 [thread overview]
Message-ID: <20260916105759.742997-1-amanrsdev@gmail.com> (raw)
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
next reply other threads:[~2026-09-16 10:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-16 10:57 Aman Sharma [this message]
2026-09-16 15:43 ` [PATCH iproute2-next] ip-route2: document uid parameter for route get Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260916105759.742997-1-amanrsdev@gmail.com \
--to=amanrsdev@gmail.com \
--cc=amasharm@redhat.com \
--cc=dsahern@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.