P4C
The P4 Compiler
|
FieldIdAllocator is used to allocate ids for non top-level P4Info objects that need them (match fields, action parameters, packet IO metadata fields). Some of these ids can come from the P4 program (@id annotation), the rest is auto-generated.