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

Public Member Functions

 cofactionset ()
 
 ~cofactionset ()
 
std::vector< cofaction > & ordered_action_set ()
 
void actionset_clear (const cofinstruction_actions &inst)
 
void actionset_clear ()
 
void actionset_write_actions (const cofinstruction_actions &inst)
 
void actionset_write_metadata (const cofinstruction_write_metadata &inst)
 

Static Public Member Functions

static int get_action_index (uint16_t acdtion_type)
 

Public Attributes

std::map< int, cofactionacset
 OF1.1 ActionSet, except OFPAT_SET_FIELD (OF1.2)
 
std::map< uint16_t, std::map
< uint8_t, cofaction > > 
acfields
 OF1.2 list of set fields per instruction.
 
uint64_t metadata
 
uint64_t metadata_mask
 

Static Protected Member Functions

static void init_action_indices ()
 

Static Protected Attributes

static std::map< uint16_t, int > action_indices
 indexes for priority ordering of actions
 

Friends

std::ostream & operator<< (std::ostream &os, cofactionset const &actionset)
 

Constructor & Destructor Documentation

cofactionset::cofactionset ( )

constructor

cofactionset::~cofactionset ( )

destructor

Member Function Documentation

void cofactionset::actionset_clear ( const cofinstruction_actions inst)

clear the packets action_set

void cofactionset::actionset_clear ( )

clear the packets action_set

void cofactionset::actionset_write_actions ( const cofinstruction_actions inst)

write actions to the packets action_set

void cofactionset::actionset_write_metadata ( const cofinstruction_write_metadata inst)

write metadata to the packets action_set

int cofactionset::get_action_index ( uint16_t  acdtion_type)
static

get the action index of action_type

std::vector<cofaction>& rofl::openflow::cofactionset::ordered_action_set ( )

sort action set


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