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

Public Member Functions

 MeterStats (uint32_t meter_id, uint32_t flow_count, uint64_t packet_in_count, uint64_t byte_in_count, uint32_t duration_sec, uint32_t duration_nsec)
 
 MeterStats (uint32_t meter_id, uint32_t flow_count, uint64_t packet_in_count, uint64_t byte_in_count, uint32_t duration_sec, uint32_t duration_nsec, std::vector< BandStats > band_stats)
 
bool operator== (const MeterStats &other) const
 
bool operator!= (const MeterStats &other) const
 
size_t pack (uint8_t *buffer)
 
of_error unpack (uint8_t *buffer)
 
uint32_t meter_id ()
 
uint16_t len ()
 
uint64_t packet_in_count ()
 
uint64_t byte_in_count ()
 
uint32_t duration_sec ()
 
uint32_t duration_nsec ()
 
std::vector< BandStatsband_stats ()
 
void meter_id (uint32_t meter_id)
 
void packet_in_count (uint64_t packet_in_count)
 
void byte_in_count (uint64_t byte_in_count)
 
void duration_sec (uint32_t duration_sec)
 
void duration_nsec (uint64_t duration_nsec)
 
void band_stats (std::vector< BandStats > band_stats)
 
void add_band_stats (BandStats stats)
 

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