P4C
The P4 Compiler
Loading...
Searching...
No Matches
ClipTerminalTransition Struct Reference
Inheritance diagram for ClipTerminalTransition:
[legend]

Public Member Functions

bool preorder (IR::BFN::Transition *t) override
 

Detailed Description

If after state splitting, if the transition to end of parsing shifts more than 32 bytes (input buffer size), we can safely clip the shift amount to 32, as the remaining amount will not contribute to header length.