P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::P4Tools::P4Testgen::Pna::PnaConstants Class Reference

Static Public Attributes

static const IR::Member DROP_VAR
 PNA-internal drop variable.
 
static constexpr const char * MATCH_KIND_OPT = "optional"
 Match bits exactly or not at all.
 
static constexpr const char * MATCH_KIND_RANGE = "range"
 Entries that can match a range.
 
static constexpr const char * MATCH_KIND_SELECTOR = "selector"
 A match that is used as an argument for the selector.
 
static const IR::Member OUTPUT_PORT_VAR
 PNA-internal egress port variable.
 
static const IR::Member PARSER_ERROR
 PNA-internal parser error label.
 
static constexpr int PORT_BIT_WIDTH = 32
 Port width in bits.
 

Member Data Documentation

◆ DROP_VAR

const IR::Member P4::P4Tools::P4Testgen::Pna::PnaConstants::DROP_VAR
static
Initial value:
=
IR::Member(IR::Type_Boolean::get(), new IR::PathExpression("*pna_internal"), "drop_var")

PNA-internal drop variable.

◆ OUTPUT_PORT_VAR

const IR::Member P4::P4Tools::P4Testgen::Pna::PnaConstants::OUTPUT_PORT_VAR
static
Initial value:
=
IR::Member(IR::Type_Bits::get(32), new IR::PathExpression("*pna_internal"), "output_port")

PNA-internal egress port variable.

◆ PARSER_ERROR

const IR::Member P4::P4Tools::P4Testgen::Pna::PnaConstants::PARSER_ERROR
static
Initial value:
=
IR::Member(IR::Type_Bits::get(32), new IR::PathExpression("*pna_internal"), "parser_error")

PNA-internal parser error label.