summaryrefslogtreecommitdiff
path: root/Documentation/netlink
diff options
context:
space:
mode:
authorDonald Hunter <donald.hunter@gmail.com>2023-05-23 10:37:47 +0100
committerDavid S. Miller <davem@davemloft.net>2023-05-24 08:46:54 +0100
commit7c2435ef76e5f2d9fac44b241e4a54113f6eafbf (patch)
treee11fd28d98d4a316e172637b527e6771d6ed5e0a /Documentation/netlink
parent59088b5a946ee8a6603a9a84781670cedb01c40d (diff)
downloadlwn-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