error: could not resolve lvalue: GENEVE_OPT_CLASS_OXIDE
GENEVE_OPT_CLASS_OXIDE not found
[361:37] sidecar-lite.p4
hdr.ox_external_tag.class = GENEVE_OPT_CLASS_OXIDE;
^^^^^^^^^^^^^^^^^^^^^^
From my testing, this also applies to use of constants within expressions in parser states.
const
symbols defined in the global scope do not seem to be usable for reads/writes within parser bodies or actions, as below:This produces the following error message:
From my testing, this also applies to use of constants within expressions in parser states.