summaryrefslogtreecommitdiff
path: root/tools/net/ynl/ynl-gen-c.py
AgeCommit message (Expand)AuthorFilesLines
2025-01-09tools: ynl: move python code to separate sub-directoryJan Stancek1-3044/+0
2025-01-09tools: ynl-gen-c: improve support for empty nestsJakub Kicinski1-2/+10
2025-01-08tools: ynl: correctly handle overrides of fields in subsetJakub Kicinski1-4/+22
2024-12-08tools: ynl-gen-c: don't require -o argumentJohannes Berg1-1/+4
2024-12-08tools: ynl-gen-c: annotate valid choices for --modeJohannes Berg1-1/+2
2024-12-05ynl: include uapi header after all dependenciesStanislav Fomichev1-2/+7
2024-12-05ynl: support directional specs in ynl-gen-c.pyStanislav Fomichev1-31/+87
2024-12-05ynl: skip rendering attributes with header property in uapi modeStanislav Fomichev1-0/+4
2024-12-05ynl: support enum-cnt-name attribute in legacy definitionsStanislav Fomichev1-2/+6
2024-11-19tools: ynl-gen: allow uapi headers in sub-dirsJakub Kicinski1-0/+1
2024-11-14tools: ynl: add script dir to sys.pathJan Stancek1-0/+3
2024-11-05tools: ynl-gen: de-kdocify enums with no doc for entriesJakub Kicinski1-5/+9
2024-11-01netlink: add NLA_POLICY_MAX_LEN macroAntonio Quartulli1-1/+3
2024-10-22tools: ynl-gen: use big-endian netlink attribute typesAsbjørn Sloth Tønnesen1-1/+4
2024-10-15tools: ynl-gen: use names of constants in generated limitsJakub Kicinski1-13/+23
2024-10-08tools: ynl-gen: refactor check validation for TypeBinaryJakub Kicinski1-10/+15
2024-08-22tools: ynl: lift an assumption about spec file namePaolo Abeni1-2/+4
2024-07-04tools: ynl: use ident name for Family, too.Paolo Abeni1-26/+26
2024-06-09tools: ynl: make user space policies constJakub Kicinski1-3/+3
2024-05-14ynl: ensure exact-len value is resolvedAntonio Quartulli1-2/+2
2024-04-06ynl: rename array-nest to indexed-arrayHangbin Liu1-6/+12
2024-03-23tools: ynl: fix setting presence bits in simple nestsJakub Kicinski1-2/+5
2024-03-12netlink: specs: support generating code for genl socket privJakub Kicinski1-0/+10
2024-03-11tools: ynl-gen: support using pre-defined values in attr checksHangbin Liu1-0/+2
2024-03-08tools/net/ynl: Fix c codegen for array-nestDonald Hunter1-1/+1
2024-02-29tools: ynl: remove the libmnl dependencyJakub Kicinski1-1/+0
2024-02-29tools: ynl: switch away from MNL_CB_*Jakub Kicinski1-7/+7
2024-02-29tools: ynl: switch away from mnl_cb_tJakub Kicinski1-2/+1
2024-02-29tools: ynl-gen: remove unused parse codeJakub Kicinski1-8/+0
2024-02-29tools: ynl: make yarg the first member of struct ynl_dump_stateJakub Kicinski1-2/+3
2024-02-29tools: ynl: create local ARRAY_SIZE() helperJakub Kicinski1-2/+2
2024-02-29tools: ynl: create local nlmsg access helpersJakub Kicinski1-3/+3
2024-02-29tools: ynl: create local for_each helpersJakub Kicinski1-4/+4
2024-02-29tools: ynl: create local attribute helpersJakub Kicinski1-38/+23
2023-12-15tools: ynl-gen: print prototypes for recursive stuffJakub Kicinski1-5/+39
2023-12-15tools: ynl-gen: store recursive nests by a pointerJakub Kicinski1-2/+14
2023-12-15tools: ynl-gen: re-sort ignoring recursive nestsJakub Kicinski1-21/+31
2023-12-15tools: ynl-gen: record information about recursive nestsJakub Kicinski1-2/+17
2023-12-15tools: ynl-gen: fill in implementations for TypeUnusedJakub Kicinski1-0/+9
2023-12-15tools: ynl-gen: support fixed headers in genetlinkJakub Kicinski1-4/+40
2023-12-15tools: ynl-gen: use enum user type for members and argsJakub Kicinski1-3/+2
2023-12-15tools: ynl-gen: add missing request free helpers for dumpsJakub Kicinski1-0/+1
2023-12-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+4
2023-11-30tools: ynl: don't skip regeneration from make targetsJakub Kicinski1-4/+8
2023-11-29tools: ynl-gen: always construct struct ynl_req_stateJakub Kicinski1-6/+4
2023-11-24tools: ynl-gen: use enum name from the specJakub Kicinski1-5/+9
2023-11-24tools: ynl-get: use family c-nameJakub Kicinski1-23/+23
2023-11-24tools: ynl-gen: always append ULL/LL to range typesJakub Kicinski1-2/+3
2023-11-23tools: ynl: fix duplicate op name in devlinkJakub Kicinski1-0/+6
2023-11-02tools: ynl-gen: don't touch the output file if content is the sameJakub Kicinski1-1/+6