summaryrefslogtreecommitdiff
path: root/Documentation/netlink
diff options
context:
space:
mode:
authorYuyang Huang <sigefriedhyy@gmail.com>2026-08-08 09:56:40 +0900
committerPaolo Abeni <pabeni@redhat.com>2026-08-13 12:30:27 +0200
commit8621a7ed80f00f83a6741ad8bd1e1c500d2c5b74 (patch)
tree9b83c23b02d3ee6cd818459dadba15698d2739f8 /Documentation/netlink
parentbf517422fb26d36f0bdcc4a8e38837b4de675535 (diff)
netlink: specs: rt-route: split out the request attribute list
The newroute and delroute requests alias the same attribute list as the getroute reply, but requests and replies do not carry the same attributes. Give the requests their own list. The two lists are identical today, so the generated code does not change. Signed-off-by: Yuyang Huang <sigefriedhyy@gmail.com> Link: https://patch.msgid.link/20260808005642.26901-9-sigefriedhyy@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'Documentation/netlink')
-rw-r--r--Documentation/netlink/specs/rt-route.yaml32
1 files changed, 30 insertions, 2 deletions
diff --git a/Documentation/netlink/specs/rt-route.yaml b/Documentation/netlink/specs/rt-route.yaml
index 62b215614210..9f4a1a253676 100644
--- a/Documentation/netlink/specs/rt-route.yaml
+++ b/Documentation/netlink/specs/rt-route.yaml
@@ -313,7 +313,35 @@ operations:
do:
request:
value: 24
- attributes: *all-route-attrs
+ attributes: &route-req-attrs
+ - dst
+ - src
+ - iif
+ - oif
+ - gateway
+ - priority
+ - prefsrc
+ - metrics
+ - multipath
+ - flow
+ - cacheinfo
+ - table
+ - mark
+ - mfc-stats
+ - via
+ - newdst
+ - pref
+ - encap-type
+ - encap
+ - expires
+ - pad
+ - uid
+ - ttl-propagate
+ - ip-proto
+ - sport
+ - dport
+ - nh-id
+ - flowlabel
-
name: delroute
doc: Delete an existing route
@@ -321,7 +349,7 @@ operations:
do:
request:
value: 25
- attributes: *all-route-attrs
+ attributes: *route-req-attrs
-
name: newroute-ntf
doc: Notification about a created route.