![]() |
P4C
The P4 Compiler
|
Static Public Attributes | |
| static constexpr const char * | MATCH_KIND_EXACT = "exact" |
| Match bits exactly. | |
| static constexpr const char * | MATCH_KIND_LPM = "lpm" |
| Longest-prefix match. | |
| static constexpr const char * | MATCH_KIND_TERNARY = "ternary" |
| Ternary match, using a mask. | |
| static constexpr int | NO_ERROR = 0x0000 |
| No error. | |
| static constexpr int | PARSER_ERROR_HEADER_TOO_SHORT = 0x0004 |
| Extracting too many bits into a varbit field. | |
| static constexpr int | PARSER_ERROR_INVALID_ARGUMENT = 0x0020 |
| static constexpr int | PARSER_ERROR_NO_MATCH = 0x0002 |
| 'select' expression has no matches | |
| static constexpr int | PARSER_ERROR_PACKET_TOO_SHORT = 0x0001 |
| Not enough bits in packet for 'extract'. | |
| static constexpr int | PARSER_ERROR_STACK_OUT_OF_BOUNDS = 0x0003 |
| Reference to invalid element of a header stack. | |
| static constexpr int | PARSER_ERROR_TIMEOUT = 0x005 |
| Parser execution time limit exceeded. | |
|
staticconstexpr |
Parser operation was called with a value not supported by the implementation.