]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xdrgen: Track constant values
authorChuck Lever <chuck.lever@oracle.com>
Thu, 3 Oct 2024 18:54:32 +0000 (14:54 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 11 Nov 2024 18:42:01 +0000 (13:42 -0500)
commit189f55d93d3eb76d733c28f0c70fd2d162a9ffc5
treef75bcdf52d5f620a0325e204e45fb104940501ee
parent1acd13cbc7c9c69a09e5d8325cf6c3e3f0a75049
xdrgen: Track constant values

In order to compute the numeric on-the-wire width of XDR types,
xdrgen needs to keep track of the numeric value of constants that
are defined in the input specification so it can perform
calculations with those values.

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