summaryrefslogtreecommitdiff
path: root/tools/net/ynl/ynl-gen-c.py
AgeCommit message (Expand)AuthorFilesLines
2023-06-13tools: ynl-gen: inherit policy in multi-attrJakub Kicinski1-18/+24
2023-06-13tools: ynl-gen: correct enum policiesJakub Kicinski1-2/+13
2023-06-12tools: ynl-gen: resolve enum vs struct name conflictsJakub Kicinski1-5/+20
2023-06-12tools: ynl-gen: don't generate enum types if unnamedJakub Kicinski1-2/+10
2023-06-12netlink: specs: support setting prefix-name per attributeJakub Kicinski1-2/+5
2023-06-12tools: ynl-gen: record extra args for regenJakub Kicinski1-0/+5
2023-06-12tools: ynl-gen: support excluding tricky opsJakub Kicinski1-3/+7
2023-06-10tools: ynl-gen: support / skip pads on the way to kernelJakub Kicinski1-0/+6
2023-06-10tools: ynl-gen: don't pass op_name to RenderInfoJakub Kicinski1-19/+18
2023-06-10tools: ynl-gen: support code gen for eventsJakub Kicinski1-5/+12
2023-06-10tools: ynl-gen: sanitize notification trackingJakub Kicinski1-42/+23
2023-06-10tools: ynl-gen: stop generating common notification handlersJakub Kicinski1-73/+0
2023-06-10tools: ynl-gen: get attr type outside of if()Jakub Kicinski1-1/+3
2023-06-10tools: ynl-gen: combine else with closing bracketJakub Kicinski1-4/+19
2023-06-10tools: ynl-gen: complete the C keyword listJakub Kicinski1-1/+34
2023-06-10tools: ynl-gen: cleanup user space header includesJakub Kicinski1-4/+1
2023-06-09tools: ynl-gen: don't generate forward declarations for policiesJakub Kicinski1-9/+3
2023-06-09tools: ynl-gen: walk nested types in depthJakub Kicinski1-12/+29
2023-06-09tools: ynl-gen: inherit struct use infoJakub Kicinski1-0/+8
2023-06-09tools: ynl-gen: try to sort the types more intelligentlyJakub Kicinski1-2/+24
2023-06-09tools: ynl-gen: enable code gen for directional specsJakub Kicinski1-3/+7
2023-06-09tools: ynl-gen: refactor strmap helper generationJakub Kicinski1-19/+17
2023-06-09tools: ynl-gen: use enum names in op strmap more carefullyJakub Kicinski1-1/+5
2023-06-07tools: ynl-gen: improve unwind on parsing errorsJakub Kicinski1-5/+17
2023-06-07tools: ynl-gen: fill in support for MultiAttr scalarsJakub Kicinski1-5/+42
2023-06-06tools: ynl-gen: clean up stray new lines at the end of reply-less requestsJakub Kicinski1-3/+4
2023-06-03tools: ynl-gen: generate static descriptions of notificationsJakub Kicinski1-10/+42
2023-06-03tools: ynl-gen: switch to family structJakub Kicinski1-0/+15
2023-06-03tools: ynl-gen: generate alloc and free helpers for reqJakub Kicinski1-0/+17
2023-06-03tools: ynl-gen: move the response reading logic into YNLJakub Kicinski1-36/+27
2023-06-03tools: ynl-gen: generate enum-to-string helpersJakub Kicinski1-0/+66
2023-06-03tools: ynl-gen: add error checking for nested structsJakub Kicinski1-1/+2
2023-06-03tools: ynl-gen: loosen type consistency check for eventsJakub Kicinski1-7/+8
2023-06-03tools: ynl-gen: don't override pure nested structJakub Kicinski1-1/+2
2023-06-03tools: ynl-gen: fix unused / pad attribute handlingJakub Kicinski1-3/+17
2023-06-03tools: ynl-gen: add extra headers for user spaceJakub Kicinski1-0/+7
2023-05-26net: ynl: prefix uAPI header include with uapi/Jakub Kicinski1-1/+3
2023-03-27tools: ynl: default to treating enums as flags for mask generationJakub Kicinski1-1/+2
2023-03-22tools: ynl: skip the explicit op array size when not neededJakub Kicinski1-1/+3
2023-03-17ynl: make the tooling check the licenseJakub Kicinski1-6/+7
2023-03-17ynl: broaden the license even moreJakub Kicinski1-4/+4
2023-03-11tools: ynl: fix render-max for flags definitionLorenzo Bianconi1-3/+8
2023-03-09tools: ynl: move the enum classes to shared codeJakub Kicinski1-86/+21
2023-03-08ynl: re-license uniformly under GPL-2.0 OR BSD-3-ClauseJakub Kicinski1-3/+4
2023-03-03tools: ynl: use 1 as the default for first entry in attrs/opsJakub Kicinski1-2/+5
2023-02-24tools: ynl-gen: fix single attribute structs with attr 0 onlyJakub Kicinski1-1/+1
2023-02-01tools: net: use python3 explicitlyJakub Kicinski1-1/+1
2023-02-01tools: ynl: use the common YAML loading and validation codeJakub Kicinski1-139/+117
2023-02-01tools: ynl-gen: prevent do / dump reorderingJakub Kicinski1-2/+2
2023-01-27tools: ynl: store ops in ordered dict to avoid random orderingJakub Kicinski1-1/+2