It would be helpful to support private/local Aliases that are not exposed in the generated code. That way they can be used for computing offsets and sizes, but without polluting the fields shown in the generated code.
For example, something like the following would allow using hdr_size in the struct, but wouldn't add hdr_size to the generated code.
It would be helpful to support private/local Aliases that are not exposed in the generated code. That way they can be used for computing offsets and sizes, but without polluting the fields shown in the generated code.
For example, something like the following would allow using
hdr_size
in the struct, but wouldn't addhdr_size
to the generated code.