]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xdrgen: Implement short (16-bit) integer types
authorChuck Lever <chuck.lever@oracle.com>
Tue, 16 Dec 2025 16:23:09 +0000 (11:23 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 26 Jan 2026 15:10:58 +0000 (10:10 -0500)
commitae78eb497868f335919db83b82eb59849c6cf251
tree0f9c9cd3efcee63ac33719bdc9dd7ee3baa6b7e5
parent789477b849394afdb60507924d65f7ef18f078ce
xdrgen: Implement short (16-bit) integer types

"short" and "unsigned short" types are not defined in RFC 4506, but
are supported by the rpcgen program. An upcoming protocol
specification includes at least one "unsigned short" field, so xdrgen
needs to implement support for these types.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/xdrgen/_builtins.h
tools/net/sunrpc/xdrgen/generators/__init__.py
tools/net/sunrpc/xdrgen/grammars/xdr.lark
tools/net/sunrpc/xdrgen/xdr_ast.py