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

Public Member Functions

 cofbucket (uint8_t ofp_version=openflow::OFP_VERSION_UNKNOWN, uint16_t weigth=0, uint32_t watch_port=0, uint32_t watch_group=0)
 
 cofbucket (uint8_t ofp_version, uint8_t *bucket, size_t bclen)
 
cofbucketoperator= (const cofbucket &b)
 
bool operator== (const cofbucket &b)
 
uint8_t * pack (uint8_t *bucket, size_t bclen)
 
void unpack (uint8_t *bucket, size_t bclen)
 
size_t length () const
 
void get_bucket_stats (cmemory &body)
 
void check_prerequisites () const
 
uint8_t get_version () const
 
void set_version (uint8_t ofp_version)
 
uint64_t get_packet_count () const
 
void set_packet_count (uint64_t packet_count)
 
uint64_t get_byte_count () const
 
void set_byte_count (uint64_t byte_count)
 
void set_weight (uint16_t weight)
 
uint16_t get_weight () const
 
void set_watch_port (uint32_t watch_port)
 
uint32_t get_watch_port () const
 
void set_watch_group (uint32_t watch_group)
 
uint32_t get_watch_group () const
 
cofactionsset_actions ()
 
cofactions const & get_actions () const
 

Friends

std::ostream & operator<< (std::ostream &os, cofbucket const &bucket)
 

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