P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::BMV2::V1ModelProperties Class Reference

Static Public Attributes

static const cstring jsonMetadataParameterName = "standard_metadata"_cs
 
static const cstring validField = "$valid$"_cs
 

Member Data Documentation

◆ validField

const cstring P4::BMV2::V1ModelProperties::validField = "$valid$"_cs
static

The name of BMV2's valid field. This is a hidden bit<1> field automatically added by BMV2 to all header types; reading from it tells you whether the header is valid, just as if you had called isValid().