Home
last modified time | relevance | path

Searched refs:ScalarFormat (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/net/ynl/lib/
H A Dynl.py88 ScalarFormat = namedtuple('ScalarFormat', ['native', 'big', 'little']) variable in NlAttr
90 'u8' : ScalarFormat(Struct('B'), Struct("B"), Struct("B")),
91 's8' : ScalarFormat(Struct('b'), Struct("b"), Struct("b")),
92 'u16': ScalarFormat(Struct('H'), Struct(">H"), Struct("<H")),
93 's16': ScalarFormat(Struct('h'), Struct(">h"), Struct("<h")),
94 'u32': ScalarFormat(Struct('I'), Struct(">I"), Struct("<I")),
95 's32': ScalarFormat(Struct('i'), Struct(">i"), Struct("<i")),
96 'u64': ScalarFormat(Struct('Q'), Struct(">Q"), Struct("<Q")),
97 's64': ScalarFormat(Struct('q'), Struct(">q"), Struct("<q"))