![]() |
P4C
The P4 Compiler
|
KeyProperties define properties of table keys that are useful for execution. More...
#include <table_utils.h>
Public Member Functions | |
| KeyProperties (IR::KeyElement const *key, cstring name, size_t index, cstring matchType, bool isTainted) | |
Public Attributes | |
| size_t | index |
| The index of this key within the current table. | |
| bool | isTainted |
| IR::KeyElement const * | key |
| The original key element. | |
| cstring | matchType |
| The match type of this key (exact, ternary, lpm, etc...) | |
| cstring | name |
| The control plane name of the key. | |
KeyProperties define properties of table keys that are useful for execution.
| bool P4Tools::TableUtils::KeyProperties::isTainted |
Whether the key is tainted. For matches such as LPM and ternary, we can still generate a match.