Revised OpenFlow Library  v0.6.0dev
 All Classes Files Functions Variables Friends Groups Pages
Public Member Functions | Static Public Member Functions | Friends | List of all members
rofl::openflow::coftables Class Reference

Public Member Functions

 coftables (uint8_t ofp_version=rofl::openflow::OFP_VERSION_UNKNOWN)
 
 coftables (coftables const &tables)
 
coftablesoperator= (coftables const &tables)
 
coftablesoperator+= (coftables const &tables)
 
virtual void clear ()
 
virtual size_t length () const
 
virtual void pack (uint8_t *buf, size_t buflen)
 
virtual void unpack (uint8_t *buf, size_t buflen)
 
uint8_t get_version () const
 
void set_version (uint8_t ofp_version)
 
std::map< uint8_t,
coftable_features > const & 
get_tables () const
 
std::map< uint8_t,
coftable_features > & 
set_tables ()
 
coftable_featuresadd_table (uint8_t table_id)
 
void drop_table (uint8_t table_id)
 
const coftable_featuresget_table (uint8_t table_id) const
 
coftable_featuresset_table (uint8_t table_id)
 
bool has_table (uint8_t table_id) const
 

Static Public Member Functions

static void map_tablestatsarray_to_tables (rofl::openflow::coftablestatsarray &tablestatsarray, rofl::openflow::coftables &tables)
 
static void map_tables_to_tablestatsarray (rofl::openflow::coftables &tables, rofl::openflow::coftablestatsarray &tablestatsarray)
 
static void map_match_to_prop_oxm (uint64_t match, rofl::openflow::coftable_feature_prop_oxm &prop_oxm)
 
static void map_prop_oxm_to_match (const rofl::openflow::coftable_feature_prop_oxm &prop_oxm, uint64_t &match)
 
static void map_actions_to_prop_actions (uint32_t actions, rofl::openflow::coftable_feature_prop_actions &prop_actions)
 
static void map_prop_actions_to_actions (const rofl::openflow::coftable_feature_prop_actions &prop_actions, uint32_t &actions)
 
static void map_instructions_to_prop_instructions (uint32_t instructions, rofl::openflow::coftable_feature_prop_instructions &prop_instructions)
 
static void map_prop_instructions_to_instructions (const rofl::openflow::coftable_feature_prop_instructions &prop_instructions, uint32_t &instructions)
 

Friends

std::ostream & operator<< (std::ostream &os, coftables const &tables)
 

Member Function Documentation

void coftables::clear ( )
virtual

reset packet content

size_t coftables::length ( ) const
virtual

returns length of packet in packed state


The documentation for this class was generated from the following files: