]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xdrgen: XDR width for pointer types
authorChuck Lever <chuck.lever@oracle.com>
Thu, 3 Oct 2024 18:54:43 +0000 (14:54 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 11 Nov 2024 18:42:05 +0000 (13:42 -0500)
commit447dc1efebac1484d5903ba34655289e7725df6d
tree0634ef2c22185d8a24dac568c60f84629dc52137
parentf4bc1e996a34a47f6c8334edcd8ddcd7dc0634b1
xdrgen: XDR width for pointer types

The XDR width of a pointer type is the sum of the widths of each of
the struct's fields, except for the last field. The width of the
implicit boolean "value follows" field is added as well.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
tools/net/sunrpc/xdrgen/xdr_ast.py