summaryrefslogtreecommitdiff
path: root/tools/net/ynl/lib/ynl.py
AgeCommit message (Expand)AuthorFilesLines
2024-03-12tools: ynl: remove trailing semicolonJakub Kicinski1-1/+1
2024-03-08tools/net/ynl: Add nest-type-value decodingDonald Hunter1-0/+12
2024-03-08tools/net/ynl: Fix extack decoding for netlink-rawDonald Hunter1-1/+6
2024-03-06tools: ynl: support debug printing messagesJakub Kicinski1-0/+15
2024-03-06tools: ynl: allow setting recv() sizeJakub Kicinski1-3/+18
2024-03-06tools: ynl: move the new line in NlMsg __repr__Jakub Kicinski1-3/+3
2024-02-24tools: ynl: allow user to pass enum string instead of scalar valueJiri Pirko1-2/+24
2024-02-24tools: ynl: process all scalar types encoding in single elif statementJiri Pirko1-7/+7
2024-02-24tools: ynl: allow user to specify flag attr with bool valuesJiri Pirko1-0/+3
2024-02-19tools: ynl: don't access uninitialized attr_space variableJiri Pirko1-2/+2
2024-02-07tools: ynl: add support for encoding multi-attrAlessandro Marcolini1-0/+7
2024-02-01tools/net/ynl: Add support for nested structsDonald Hunter1-6/+20
2024-02-01tools/net/ynl: Move formatted_string method out of NlAttrDonald Hunter1-16/+15
2024-02-01tools/net/ynl: Rename _fixed_header_size() to _struct_size()Donald Hunter1-6/+6
2024-02-01tools/net/ynl: Combine struct decoding logic in ynlDonald Hunter1-33/+14
2024-02-01tools/net/ynl: Encode default values for binary blobsDonald Hunter1-2/+7
2024-02-01tools/net/ynl: Add support for encoding sub-messagesDonald Hunter1-4/+23
2024-02-01tools/net/ynl: Refactor fixed header encoding into separate methodDonald Hunter1-11/+15
2024-02-01tools/net/ynl: Support sub-messages in nested attribute spacesDonald Hunter1-9/+29
2023-12-19tools/net/ynl: Add binary and pad support to structs for tcDonald Hunter1-10/+26
2023-12-19tools/net/ynl: Add 'sub-message' attribute decoding to ynlDonald Hunter1-8/+40
2023-12-19tools/net/ynl: Use consistent array index expression formattingDonald Hunter1-5/+5
2023-12-06tools: pynl: make flags argument optional for do()Jakub Kicinski1-2/+2
2023-10-28tools: ynl: introduce option to process unknown attributes or typesJiri Pirko1-11/+37
2023-10-24tools: ynl-gen: introduce support for bitfield32 attribute typeJiri Pirko1-3/+10
2023-10-20netlink: specs: add support for auto-sized scalarsJakub Kicinski1-0/+14
2023-10-18tools: ynl: fix converting flags to names after recent cleanupJakub Kicinski1-1/+1
2023-08-28tools/net/ynl: Add support for create flagsDonald Hunter1-4/+10
2023-08-28tools/net/ynl: Implement nlattr array-nest decoding in ynlDonald Hunter1-0/+13
2023-08-28tools/net/ynl: Add support for netlink-raw familiesDonald Hunter1-33/+91
2023-08-28tools/net/ynl: Fix extack parsing with fixed header genlmsgDonald Hunter1-25/+40
2023-08-25tools: ynl: allow passing binary dataJakub Kicinski1-1/+6
2023-08-16tools: ynl: add more info to KeyErrors on missing attrsJakub Kicinski1-3/+12
2023-07-26tools: ynl-gen: fix parse multi-attr enum attributeArkadiusz Kubalewski1-6/+6
2023-07-26tools: ynl-gen: fix enum index in _decode_enum(..)Arkadiusz Kubalewski1-2/+2
2023-06-25tools: ynl: add display-hint support to ynlDonald Hunter1-5/+29
2023-06-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+3
2023-05-30tools: ynl: Support enums in struct members in genetlink-legacyDonald Hunter1-1/+5
2023-05-30tools: ynl: Initialise fixed headers to 0 in genetlink-legacyDonald Hunter1-1/+1
2023-05-26tools: ynl: avoid dict errors on older Python versionsJakub Kicinski1-2/+3
2023-05-24tools: ynl: Handle byte-order in struct membersDonald Hunter1-3/+3
2023-05-24tools: ynl: Use dict of predefined Structs to decode scalar typesDonald Hunter1-57/+44
2023-04-11tools: ynl: throw a more meaningful exception if family not supportedJakub Kicinski1-1/+4
2023-03-31tools: ynl: ethtool testing toolStanislav Fomichev1-0/+11
2023-03-31tools: ynl: replace print with NlErrorStanislav Fomichev1-3/+9
2023-03-31tools: ynl: support byte-order in cliStanislav Fomichev1-12/+23
2023-03-29tools: ynl: Add fixed-header support to ynlDonald Hunter1-4/+20
2023-03-29tools: ynl: Add struct attr decoding to ynlDonald Hunter1-1/+14
2023-03-29tools: ynl: Add C array attribute decoding to ynlDonald Hunter1-1/+17
2023-03-27tools: ynl: Add missing types to encode/decodeMichal Michalik1-0/+6