Open pataei opened 1 year ago
Petr4 doesn't check the length of a fixed-length integer, either signed or unsigned. However, the P4 spec specifies that for signed integers the length must be more than 1 and for unsigned integers the length must be equal or more than zero.
In P4light this is enforced statically.
Petr4 doesn't check the length of a fixed-length integer, either signed or unsigned. However, the P4 spec specifies that for signed integers the length must be more than 1 and for unsigned integers the length must be equal or more than zero.