P4C
The P4 Compiler
|
The information about a Wred instance which is needed to serialize it. More...
#include <bfruntime_arch_handler.h>
Static Public Member Functions | |
static std::optional< Wred > | from (const IR::ExternBlock *instance) |
static std::optional< Wred > | fromDirect (const P4::ExternInstance &instance, const IR::P4Table *table) |
Public Attributes | |
const IR::IAnnotated * | annotations |
uint8_t | dropValue |
const cstring | name |
uint8_t | noDropValue |
int64_t | size |
const std::optional< cstring > | table |
If not none, the instance is a direct resource associated with table . | |
The information about a Wred instance which is needed to serialize it.
|
inlinestatic |
instance
of Wred or std::nullopt in case of error.
|
inlinestatic |
instance
of a direct Wred or std::nullopt in case of error.