Public Member Functions | |
cofmsg_port_stats_request (uint8_t of_version=0, uint32_t xid=0, uint16_t flags=0, rofl::openflow::cofport_stats_request const &port_stats=rofl::openflow::cofport_stats_request()) | |
cofmsg_port_stats_request (cofmsg_port_stats_request const &stats) | |
cofmsg_port_stats_request & | operator= (cofmsg_port_stats_request const &stats) |
virtual | ~cofmsg_port_stats_request () |
cofmsg_port_stats_request (cmemory *memarea) | |
virtual void | reset () |
virtual uint8_t * | resize (size_t len) |
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) |
virtual void | validate () |
rofl::openflow::cofport_stats_request & | set_port_stats () |
rofl::openflow::cofport_stats_request const & | get_port_stats () const |
![]() | |
cofmsg_stats_request (uint8_t of_version=0, uint32_t xid=0, uint16_t stats_type=0, uint16_t stats_flags=0, uint8_t *data=(uint8_t *) 0, size_t datalen=0) | |
cofmsg_stats_request (cofmsg_stats_request const &request) | |
cofmsg_stats & | operator= (cofmsg_stats_request const &request) |
virtual | ~cofmsg_stats_request () |
cofmsg_stats_request (cmemory *memarea) | |
![]() | |
cofmsg_stats (uint8_t of_version=0, uint32_t xid=0, uint16_t stats_type=0, uint16_t stats_flags=0, uint8_t *data=(uint8_t *) 0, size_t datalen=0) | |
cofmsg_stats (cofmsg_stats const &stats) | |
cofmsg_stats & | operator= (cofmsg_stats const &stats) |
virtual | ~cofmsg_stats () |
cofmsg_stats (cmemory *memarea) | |
uint16_t | get_stats_type () const |
void | set_stats_type (uint16_t type) |
uint16_t | get_stats_flags () const |
void | set_stats_flags (uint16_t flags) |
cmemory & | get_body () |
![]() | |
cofmsg (uint8_t ofp_version, uint32_t xid, uint8_t type) | |
cofmsg (size_t size=sizeof(struct openflow::ofp_header)) | |
cofmsg (cmemory *memarea) | |
cofmsg (cofmsg const &p) | |
virtual | ~cofmsg () |
cofmsg & | operator= (cofmsg const &p) |
uint8_t * | soframe () const |
size_t | framelen () const |
uint8_t * | sobody () const |
size_t | bodylen () const |
uint8_t | get_version () const |
virtual void | set_version (uint8_t ofp_version) |
uint16_t | get_length () const |
void | set_length (uint16_t len) |
uint8_t | get_type () const |
void | set_type (uint8_t type) |
uint32_t | get_xid () const |
void | set_xid (uint32_t xid) |
std::string | str () const |
Friends | |
std::ostream & | operator<< (std::ostream &os, cofmsg_port_stats_request const &msg) |
Additional Inherited Members | |
![]() | |
static const char * | packet_info (uint8_t ofp_version) |
static const char * | type2desc (uint8_t ofp_version, uint8_t type) |
![]() | |
static std::set< cofmsg * > | cofpacket_list |
![]() | |
cmemory | body |
union { | |
uint8_t * ofhu_stats_request | |
struct openflow10::ofp_stats_request * ofhu10_stats_request | |
struct openflow12::ofp_stats_request * ofhu12_stats_request | |
struct openflow13::ofp_multipart_request * ofhu13_multipart_request | |
} | ofhu |
![]() | |
cmemory * | memarea |
union { | |
uint8_t * ofhu_generic | |
struct rofl::openflow::ofp_header * ofhu_header | |
} | ofh_ofhu |
cofmsg_port_stats_request::cofmsg_port_stats_request | ( | uint8_t | of_version = 0 , |
uint32_t | xid = 0 , |
||
uint16_t | flags = 0 , |
||
rofl::openflow::cofport_stats_request const & | port_stats = rofl::openflow::cofport_stats_request() |
||
) |
constructor
|
virtual |
destructor
|
virtual |
returns length of packet in packed state
Reimplemented from rofl::openflow::cofmsg_stats.
|
virtual |
pack OFpacket content to specified buffer
Reimplemented from rofl::openflow::cofmsg_stats.
|
virtual |
reset packet content
Reimplemented from rofl::openflow::cofmsg_stats.
|
virtual |
unpack OFpacket content from specified buffer
Reimplemented from rofl::openflow::cofmsg_stats.
|
virtual |
parse packet and validate it
Reimplemented from rofl::openflow::cofmsg_stats.