diff options
author | Donald Hunter <donald.hunter@gmail.com> | 2023-05-23 10:37:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-24 08:46:54 +0100 |
commit | 7c2435ef76e5f2d9fac44b241e4a54113f6eafbf (patch) | |
tree | e11fd28d98d4a316e172637b527e6771d6ed5e0a /Documentation/netlink | |
parent | 59088b5a946ee8a6603a9a84781670cedb01c40d (diff) | |
download | lwn-7c2435ef76e5f2d9fac44b241e4a54113f6eafbf.tar.gz lwn-7c2435ef76e5f2d9fac44b241e4a54113f6eafbf.zip |
tools: ynl: Use dict of predefined Structs to decode scalar types
Use a dict of predefined Struct() objects to decode scalar types in native,
big or little endian format. This removes the repetitive code for the
scalar variants and ensures all the signed variants are supported.
Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/netlink')
0 files changed, 0 insertions, 0 deletions