![]() |
P4C
The P4 Compiler
|
Classes | |
| struct | Action |
Public Types | |
| typedef IterValues< map_t::const_iterator >::iterator | const_iterator |
| typedef IterValues< map_t::iterator >::iterator | iterator |
| typedef map_t::value_type | value_type |
Public Member Functions | |
| Actions (Table *tbl, VECTOR(pair_t) &) | |
| Action * | action (const std::string &n) |
| void | add_action_format (const Table *, json::map &) const |
| void | add_immediate_mapping (json::map &) |
| void | add_p4_params (const Action &, json::vector &) const |
| iterator | begin () |
| const_iterator | begin () const |
| int | count () |
| int | default_actions_count () const |
| iterator | end () |
| const_iterator | end () const |
| bool | exists (const std::string &n) |
| void | gen_tbl_cfg (json::vector &) const |
| bool | has_hash_dist () |
| int | hit_actions_count () const |
| void | pass1 (Table *) |
| void | pass2 (Table *) |
| size_t | size () |
| void | stateful_pass2 (Table *) |
| template<class REGS> | |
| void | write_regs (REGS &, Table *) |
Public Attributes | |
| int | max_code = -1 |
This following few fields are required on a per stage table action basis. The following information is: