diff options
author | 2025-04-09 18:46:47 -0700 | |
---|---|---|
committer | 2025-04-10 20:14:40 -0700 | |
commit | 97a33caa90715f90b93610a1fc6e5deb4c21e8d4 (patch) | |
tree | d41b3613853f331acecbbbdc4f0c4585be5905d2 | |
parent | netlink: specs: rename rtnetlink specs in accordance with family name (diff) | |
download | wireguard-linux-97a33caa90715f90b93610a1fc6e5deb4c21e8d4.tar.xz wireguard-linux-97a33caa90715f90b93610a1fc6e5deb4c21e8d4.zip |
netlink: specs: rt-route: specify fixed-header at operations level
The C codegen currently stores the fixed-header as part of family
info, so it only supports one fixed-header type per spec. Luckily
all rtm route message have the same fixed header so just move it up
to the higher level.
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250410014658.782120-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | Documentation/netlink/specs/rt-route.yaml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Documentation/netlink/specs/rt-route.yaml b/Documentation/netlink/specs/rt-route.yaml index 292469c7d4b9..6fa3fa24305e 100644 --- a/Documentation/netlink/specs/rt-route.yaml +++ b/Documentation/netlink/specs/rt-route.yaml @@ -245,12 +245,12 @@ attribute-sets: operations: enum-model: directional + fixed-header: rtmsg list: - name: getroute doc: Dump route information. attribute-set: route-attrs - fixed-header: rtmsg do: request: value: 26 @@ -320,7 +320,6 @@ operations: name: newroute doc: Create a new route attribute-set: route-attrs - fixed-header: rtmsg do: request: value: 24 @@ -329,7 +328,6 @@ operations: name: delroute doc: Delete an existing route attribute-set: route-attrs - fixed-header: rtmsg do: request: value: 25 |