Home
last modified time | relevance | path

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

/linux-6.15/tools/net/ynl/pyynl/lib/
H A Dynl.py117 ScalarFormat = namedtuple('ScalarFormat', ['native', 'big', 'little']) variable in NlAttr
119 'u8' : ScalarFormat(Struct('B'), Struct("B"), Struct("B")),
120 's8' : ScalarFormat(Struct('b'), Struct("b"), Struct("b")),
121 'u16': ScalarFormat(Struct('H'), Struct(">H"), Struct("<H")),
122 's16': ScalarFormat(Struct('h'), Struct(">h"), Struct("<h")),
123 'u32': ScalarFormat(Struct('I'), Struct(">I"), Struct("<I")),
124 's32': ScalarFormat(Struct('i'), Struct(">i"), Struct("<i")),
125 'u64': ScalarFormat(Struct('Q'), Struct(">Q"), Struct("<Q")),
126 's64': ScalarFormat(Struct('q'), Struct(">q"), Struct("<q"))