aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-04-09 18:46:51 -0700
committerJakub Kicinski <kuba@kernel.org>2025-04-10 20:14:41 -0700
commit1652e1f35dfb434862a595224ab2c4aa0244951f (patch)
treed6bd3d8f4384a79dd3281192d6257b71d6d57852
parentnetlink: specs: rt-addr: add C naming info (diff)
downloadwireguard-linux-1652e1f35dfb434862a595224ab2c4aa0244951f.tar.xz
wireguard-linux-1652e1f35dfb434862a595224ab2c4aa0244951f.zip
netlink: specs: rt-route: add C naming info
Add properties needed for C codegen to match names with uAPI headers. Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Link: https://patch.msgid.link/20250410014658.782120-7-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
-rw-r--r--Documentation/netlink/specs/rt-route.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/netlink/specs/rt-route.yaml b/Documentation/netlink/specs/rt-route.yaml
index c7c6f776ab2f..800f3a823d47 100644
--- a/Documentation/netlink/specs/rt-route.yaml
+++ b/Documentation/netlink/specs/rt-route.yaml
@@ -2,6 +2,7 @@
name: rt-route
protocol: netlink-raw
+uapi-header: linux/rtnetlink.h
protonum: 0
doc:
@@ -11,6 +12,7 @@ definitions:
-
name: rtm-type
name-prefix: rtn-
+ enum-name:
type: enum
entries:
- unspec
@@ -246,6 +248,7 @@ attribute-sets:
operations:
enum-model: directional
fixed-header: rtmsg
+ name-prefix: rtm-
list:
-
name: getroute