netlink: specs: rt-rule: add C naming info

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>
This commit is contained in:
Jakub Kicinski 2025-04-17 19:17:06 -07:00
parent e3d199d309
commit 620b38232f

View file

@ -2,6 +2,7 @@
name: rt-rule name: rt-rule
protocol: netlink-raw protocol: netlink-raw
uapi-header: linux/fib_rules.h
protonum: 0 protonum: 0
doc: doc:
@ -56,6 +57,7 @@ definitions:
- -
name: fr-act name: fr-act
type: enum type: enum
enum-name:
entries: entries:
- unspec - unspec
- to-tbl - to-tbl
@ -90,6 +92,7 @@ definitions:
attribute-sets: attribute-sets:
- -
name: fib-rule-attrs name: fib-rule-attrs
name-prefix: fra-
attributes: attributes:
- -
name: dst name: dst
@ -198,6 +201,7 @@ attribute-sets:
operations: operations:
enum-model: directional enum-model: directional
fixed-header: fib-rule-hdr fixed-header: fib-rule-hdr
name-prefix: rtm-
list: list:
- -
name: newrule name: newrule