![]() |
P4C
The P4 Compiler
|
Basic table properties that are set when initializing the TableStepper. More...
#include <table_utils.h>
Public Attributes | |
std::map< cstring, int > | actionIdMap |
bool | defaultIsImmutable = false |
Indicates whether the default action can be overridden. | |
std::vector< KeyProperties > | resolvedKeys |
Ordered list of key fields with useful properties. | |
bool | tableIsImmutable = false |
Whether the table is constant and can not accept control plane entries. | |
bool | tableIsTainted = false |
Whether key expressions of the table contain taint. This makes it difficult to match. | |
cstring | tableName |
Control plane name of the table. | |
Basic table properties that are set when initializing the TableStepper.
std::map<cstring, int> P4Tools::TableUtils::TableProperties::actionIdMap |
Maps an action in the action list to a numerical identifier. We do not use IR::MethodCallExpression here because we also look up switch labels.
bool P4Tools::TableUtils::TableProperties::defaultIsImmutable = false |
Indicates whether the default action can be overridden.
std::vector<KeyProperties> P4Tools::TableUtils::TableProperties::resolvedKeys |
Ordered list of key fields with useful properties.
bool P4Tools::TableUtils::TableProperties::tableIsImmutable = false |
Whether the table is constant and can not accept control plane entries.
bool P4Tools::TableUtils::TableProperties::tableIsTainted = false |
Whether key expressions of the table contain taint. This makes it difficult to match.
cstring P4Tools::TableUtils::TableProperties::tableName |
Control plane name of the table.