libfluid
The ONF OpenFlow driver
Public Member Functions | Protected Attributes | List of all members
fluid_msg::PortStatsCommon Class Reference
Inheritance diagram for fluid_msg::PortStatsCommon:
fluid_msg::of10::PortStats fluid_msg::of13::PortStats

Public Member Functions

 PortStatsCommon (struct port_rx_tx_stats rx_tx_stats, struct port_err_stats err_stats, uint64_t collisions)
 
bool operator== (const PortStatsCommon &other) const
 
bool operator!= (const PortStatsCommon &other) const
 
size_t pack (uint8_t *buffer)
 
of_error unpack (uint8_t *buffer)
 
uint64_t rx_packets ()
 
uint64_t tx_packets ()
 
uint64_t rx_bytes ()
 
uint64_t tx_bytes ()
 
uint64_t rx_dropped ()
 
uint64_t tx_dropped ()
 
uint64_t rx_errors ()
 
uint64_t tx_errors ()
 
uint64_t rx_frame_err ()
 
uint64_t rx_over_err ()
 
uint64_t rx_crc_err ()
 
uint64_t collisions ()
 
void rx_packets (uint64_t rx_packets)
 
void tx_packets (uint64_t tx_packets)
 
void rx_bytes (uint64_t rx_bytes)
 
void tx_bytes (uint64_t tx_bytes)
 
void rx_dropped (uint64_t rx_dropped)
 
void tx_dropped (uint64_t tx_dropped)
 
void rx_errors (uint64_t rx_errors)
 
void tx_errors (uint64_t tx_errors)
 
void rx_frame_err (uint64_t rx_frame_err)
 
void rx_over_err (uint64_t rx_over_err)
 
void rx_crc_err (uint64_t rx_crc_err)
 
void collisions (uint64_t collisions)
 

Protected Attributes

struct port_rx_tx_stats rx_tx_stats
 
struct port_err_stats err_stats
 
uint64_t collisions_
 

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