git: b9a246a91797 - main - rtnetlink.4: Add RTA_PRIORITY

From: Pouria Mousavizadeh Tehrani <pouria_at_FreeBSD.org>
Date: Wed, 20 May 2026 20:58:49 UTC
The branch main has been updated by pouria:

URL: https://cgit.FreeBSD.org/src/commit/?id=b9a246a9179777d28567c33a9a0f4b5f6055ab73

commit b9a246a9179777d28567c33a9a0f4b5f6055ab73
Author:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
AuthorDate: 2026-05-02 21:14:46 +0000
Commit:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
CommitDate: 2026-05-20 20:55:04 +0000

    rtnetlink.4: Add RTA_PRIORITY
    
    Add metric implementation of netlink to manual.
    
    Reviewed by:    markj
    Differential Revision: https://reviews.freebsd.org/D56324
---
 share/man/man4/rtnetlink.4 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/share/man/man4/rtnetlink.4 b/share/man/man4/rtnetlink.4
index f15e2690ef49..2161db157234 100644
--- a/share/man/man4/rtnetlink.4
+++ b/share/man/man4/rtnetlink.4
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd November 1, 2022
+.Dd May 15, 2026
 .Dt RTNETLINK 4
 .Os
 .Sh NAME
@@ -178,6 +178,8 @@ Default route table is
 .Dv RT_TABLE_MAIN .
 To explicitly specify "all tables" one needs to set the value to
 .Dv RT_TABLE_UNSPEC .
+.It Dv RTA_PRIORITY
+(uint32_t) metric of the nexthop.
 .It Dv RTA_EXPIRES
 (uint32_t) seconds till path expiration.
 .It Dv RTA_NH_ID