P4C
The P4 Compiler
|
Public Member Functions | |
PackedItem (const IR::Expression *field, gress_t gress, cstring source, unsigned width) | |
PackedItem (unsigned width) | |
bool | isPadding () const |
Static Public Member Functions | |
static PackedItem | makePadding (unsigned width) |
Public Attributes | |
const IR::Expression * | field |
The packed field, or null if this is a padding item. | |
gress_t | gress |
cstring | source |
unsigned | width |
This item's width in bits. | |
cstring BFN::FieldPacking::PackedItem::source |
For phase 0, the logical source of this field - generally an action parameter. This is exposed to the control plane.