Public Member Functions | |
| cofportstatsarray (uint8_t ofp_version=OFP_VERSION_UNKNOWN) | |
| cofportstatsarray (cofportstatsarray const &ports) | |
| cofportstatsarray & | operator= (cofportstatsarray const &ports) |
| bool | operator== (cofportstatsarray const &ports) |
| cofportstatsarray & | operator+= (cofportstatsarray const &ports) |
| virtual size_t | length () const |
| virtual void | pack (uint8_t *buf=(uint8_t *) 0, size_t buflen=0) |
| virtual void | unpack (uint8_t *buf, size_t buflen) |
| size_t | size () const |
| void | clear () |
| uint8_t | get_version () const |
| void | set_version (uint8_t ofp_version) |
|
std::map< uint32_t, cofport_stats_reply > const & | get_port_stats () const |
|
std::map< uint32_t, cofport_stats_reply > & | set_port_stats () |
| cofport_stats_reply & | add_port_stats (uint32_t port_id) |
| void | drop_port_stats (uint32_t port_id) |
| cofport_stats_reply & | set_port_stats (uint32_t port_id) |
| cofport_stats_reply const & | get_port_stats (uint32_t port_id) const |
| bool | has_port_stats (uint32_t port_id) |
Friends | |
| std::ostream & | operator<< (std::ostream &os, cofportstatsarray const &portstatsarray) |
|
virtual |
returns length of packet in packed state
1.8.6