aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/pyynl/ynl_gen_c.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2025-05-20 16:19:09 +0000
committerJakub Kicinski <[email protected]>2025-05-21 19:38:21 +0000
commitba5a199b2401de3d5df1fba4d5dcd92908461a07 (patch)
tree3ec25fad04be4f6e473a3e33d9b555af5bea06a4 /tools/net/ynl/pyynl/ynl_gen_c.py
parentnetlink: specs: tc: add C naming info (diff)
downloadkernel-ba5a199b2401de3d5df1fba4d5dcd92908461a07.tar.gz
kernel-ba5a199b2401de3d5df1fba4d5dcd92908461a07.zip
netlink: specs: tc: drop the family name prefix from attrs
All attribute sets and messages are prefixed with tc-. The C codegen also adds the family name to all structs. We end up with names like struct tc_tc_act_attrs. Remove the tc- prefixes to shorten the names. This should not impact Python as the attr set names are never exposed to user, they are only used to refer to things internally, in the encoder / decoder. Reviewed-by: Donald Hunter <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/ynl_gen_c.py')
0 files changed, 0 insertions, 0 deletions