projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3d199d
)
netlink: specs: rt-rule: add C naming info
author
Jakub Kicinski
<kuba@kernel.org>
Fri, 18 Apr 2025 02:17:06 +0000
(19:17 -0700)
committer
Jakub Kicinski
<kuba@kernel.org>
Wed, 23 Apr 2025 23:07:16 +0000
(16:07 -0700)
Add properties needed for C codegen to match names with uAPI headers.
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link:
https://patch.msgid.link/20250418021706.1967583-13-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/rt-rule.yaml
patch
|
blob
|
blame
|
history
diff --git
a/Documentation/netlink/specs/rt-rule.yaml
b/Documentation/netlink/specs/rt-rule.yaml
index f585654a4d410c596b442cf7c112bcc998fbbe10..003707ca4a3e0eddb5a6eabb986f1bf321d66749 100644
(file)
--- a/
Documentation/netlink/specs/rt-rule.yaml
+++ b/
Documentation/netlink/specs/rt-rule.yaml
@@
-2,6
+2,7
@@
name: rt-rule
protocol: netlink-raw
+uapi-header: linux/fib_rules.h
protonum: 0
doc:
@@
-56,6
+57,7
@@
definitions:
-
name: fr-act
type: enum
+ enum-name:
entries:
- unspec
- to-tbl
@@
-90,6
+92,7
@@
definitions:
attribute-sets:
-
name: fib-rule-attrs
+ name-prefix: fra-
attributes:
-
name: dst
@@
-198,6
+201,7
@@
attribute-sets:
operations:
enum-model: directional
fixed-header: fib-rule-hdr
+ name-prefix: rtm-
list:
-
name: newrule