P4C
The P4 Compiler
|
#include <action_data_bus.h>
Public Member Functions | |
ReservedSpace (Loc l, int bo, bitvec bu) | |
ReservedSpace (Loc l, int bo, bitvec bu, ActionData::Location_t src) | |
void | dbprint (std::ostream &out) const |
bool | operator!= (const ReservedSpace &rs) const |
bool | operator== (const ReservedSpace &rs) const |
Public Attributes | |
int | byte_offset = -1 |
bitvec | bytes_used |
Loc | location |
ActionData::Location_t | source = ActionData::ALL_LOCATIONS |
An individual space within the Use. Used to update the reserved space
Is IMMED, ADT or METER
bitvec ActionDataBus::Use::ReservedSpace::bytes_used |
Bytes from the lsb of the Action Data Format
ActionData::Location_t ActionDataBus::Use::ReservedSpace::source = ActionData::ALL_LOCATIONS |
Not all of the bytes in the slot may necessarily be used, if they don't contain action data