Home
last modified time | relevance | path

Searched hist:"7 c2435ef" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/net/ynl/lib/
H A Dynl.py7c2435ef Tue May 23 04:37:47 CDT 2023 Donald Hunter <donald.hunter@gmail.com> 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>