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

Public Member Functions

 PortStats (uint32_t port_no, struct port_rx_tx_stats tx_stats, struct port_err_stats err_stats, uint64_t collisions, uint32_t duration_sec, uint32_t duration_nsec)
 
bool operator== (const PortStats &other) const
 
bool operator!= (const PortStats &other) const
 
size_t pack (uint8_t *buffer)
 
of_error unpack (uint8_t *buffer)
 
uint32_t port_no ()
 
uint32_t duration_sec ()
 
uint32_t duration_nsec ()
 
void port_no (uint32_t port_no)
 
void duration_sec (uint32_t duration_sec)
 
void duration_nsec (uint32_t duration_nsec)
 
- Public Member Functions inherited from fluid_msg::PortStatsCommon
 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)
 

Additional Inherited Members

- Protected Attributes inherited from fluid_msg::PortStatsCommon
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: