libfluid
The ONF OpenFlow driver
Public Member Functions | List of all members
fluid_msg::of13::GroupStats Class Reference

Public Member Functions

 GroupStats (uint32_t group_id, uint32_t ref_count, uint64_t packet_count, uint64_t byte_count, uint32_t duration_sec, uint32_t duration_nsec)
 
 GroupStats (uint32_t group_id, uint32_t ref_count, uint64_t packet_count, uint64_t byte_count, uint32_t duration_sec, uint32_t duration_nsec, std::vector< BucketStats > bucket_stats)
 
bool operator== (const GroupStats &other) const
 
bool operator!= (const GroupStats &other) const
 
size_t pack (uint8_t *buffer)
 
of_error unpack (uint8_t *buffer)
 
uint16_t length ()
 
uint32_t group_id ()
 
uint32_t ref_count ()
 
uint64_t packet_count ()
 
uint64_t byte_count ()
 
uint32_t duration_sec ()
 
uint32_t duration_nsec ()
 
void group_id (uint32_t group_id)
 
void ref_count (uint32_t ref_count)
 
void packet_count (uint64_t packet_count)
 
void byte_count (uint64_t byte_count)
 
void duration_sec (uint32_t duration_sec)
 
void duration_nsec (uint64_t duration_nsec)
 
void bucket_stats (std::vector< BucketStats > bucket_stats)
 
void add_bucket_stat (BucketStats stat)
 

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