Public Member Functions | |
cofinstructions (uint8_t ofp_version=openflow::OFP_VERSION_UNKNOWN) | |
cofinstructions (cofinstructions const &instructions) | |
cofinstructions & | operator= (cofinstructions const &instructions) |
bool | operator== (cofinstructions const &instructions) |
void | set_version (uint8_t ofp_version) |
uint8_t | get_version () const |
std::map< uint16_t, cofinstruction * > & | set_instructions () |
const std::map< uint16_t, cofinstruction * > & | get_instructions () const |
size_t | length () const |
void | pack (uint8_t *buf, size_t buflen) |
void | unpack (uint8_t *buf, size_t buflen) |
void | check_prerequisites () const |
cofinstruction & | add_inst (uint16_t type) |
cofinstruction & | set_inst (uint16_t type) |
const cofinstruction & | get_inst (uint16_t type) const |
void | drop_inst (uint16_t type) |
bool | has_inst (uint16_t type) const |
cofinstruction_goto_table & | add_inst_goto_table () |
cofinstruction_goto_table & | set_inst_goto_table () |
const cofinstruction_goto_table & | get_inst_goto_table () const |
void | drop_inst_goto_table () |
bool | has_inst_goto_table () const |
cofinstruction_write_metadata & | add_inst_write_metadata () |
cofinstruction_write_metadata & | set_inst_write_metadata () |
const cofinstruction_write_metadata & | get_inst_write_metadata () const |
void | drop_inst_write_metadata () |
bool | has_inst_write_metadata () const |
cofinstruction_write_actions & | add_inst_write_actions () |
cofinstruction_write_actions & | set_inst_write_actions () |
const cofinstruction_write_actions & | get_inst_write_actions () const |
void | drop_inst_write_actions () |
bool | has_inst_write_actions () const |
cofinstruction_apply_actions & | add_inst_apply_actions () |
cofinstruction_apply_actions & | set_inst_apply_actions () |
const cofinstruction_apply_actions & | get_inst_apply_actions () const |
void | drop_inst_apply_actions () |
bool | has_inst_apply_actions () const |
cofinstruction_clear_actions & | add_inst_clear_actions () |
cofinstruction_clear_actions & | set_inst_clear_actions () |
const cofinstruction_clear_actions & | get_inst_clear_actions () const |
void | drop_inst_clear_actions () |
bool | has_inst_clear_actions () const |
cofinstruction_meter & | add_inst_meter () |
cofinstruction_meter & | set_inst_meter () |
const cofinstruction_meter & | get_inst_meter () const |
void | drop_inst_meter () |
bool | has_inst_meter () const |
cofinstruction_experimenter & | add_inst_experimenter () |
cofinstruction_experimenter & | set_inst_experimenter () |
const cofinstruction_experimenter & | get_inst_experimenter () const |
void | drop_inst_experimenter () |
bool | has_inst_experimenter () const |
void | clear () |
Friends | |
std::ostream & | operator<< (std::ostream &os, cofinstructions const &inlist) |