diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2024-10-03 21:54:33 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-11-11 21:42:01 +0300 |
commit | 631c2925bae41c11dcf3915a2ab5f3be9af54277 (patch) | |
tree | 641a8c810550c1307bcf7044b691cc088d1e65ad /scripts/lib/kdoc/kdoc_files.py | |
parent | 189f55d93d3eb76d733c28f0c70fd2d162a9ffc5 (diff) | |
download | linux-631c2925bae41c11dcf3915a2ab5f3be9af54277.tar.xz |
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 <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions