diff options
author | Chuck Lever <[email protected]> | 2024-10-03 14:54:33 -0400 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2024-11-11 13:42:01 -0500 |
commit | 631c2925bae41c11dcf3915a2ab5f3be9af54277 (patch) | |
tree | 641a8c810550c1307bcf7044b691cc088d1e65ad /tools/perf/scripts/python/gecko.py | |
parent | 189f55d93d3eb76d733c28f0c70fd2d162a9ffc5 (diff) |
xdrgen: Keep track of on-the-wire data type widths
The generic parts of the RPC layer need to know the widths (in
XDR_UNIT increments) of the XDR data types defined for each
protocol.
As a first step, add dictionaries to keep track of the symbolic and
actual maximum XDR width of XDR types.
This makes it straightforward to look up the width of a type by its
name. The built-in dictionaries are pre-loaded with the widths of
the built-in XDR types as defined in RFC 4506.
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions