Revised OpenFlow Library  v0.6.0dev
 All Classes Files Functions Variables Friends Groups Pages
Public Member Functions | List of all members
rofl::openflow::cofmsg_stats_reply Class Reference

Public Member Functions

 cofmsg_stats_reply (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_reply (cofmsg_stats_reply const &reply)
 
cofmsg_statsoperator= (cofmsg_stats_reply const &reply)
 
virtual ~cofmsg_stats_reply ()
 
 cofmsg_stats_reply (cmemory *memarea)
 
- Public Member Functions inherited from rofl::openflow::cofmsg_stats
 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_statsoperator= (cofmsg_stats const &stats)
 
virtual ~cofmsg_stats ()
 
 cofmsg_stats (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 ()
 
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)
 
cmemoryget_body ()
 
- Public Member Functions inherited from rofl::openflow::cofmsg
 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 ()
 
cofmsgoperator= (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
 

Additional Inherited Members

- Static Public Member Functions inherited from rofl::openflow::cofmsg
static const char * packet_info (uint8_t ofp_version)
 
static const char * type2desc (uint8_t ofp_version, uint8_t type)
 
- Static Public Attributes inherited from rofl::openflow::cofmsg
static std::set< cofmsg * > cofpacket_list
 
- Protected Attributes inherited from rofl::openflow::cofmsg_stats
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
 
- Protected Attributes inherited from rofl::openflow::cofmsg
cmemorymemarea
 
union {
   uint8_t *   ofhu_generic
 
   struct rofl::openflow::ofp_header *   ofhu_header
 
ofh_ofhu
 
Inheritance diagram for rofl::openflow::cofmsg_stats_reply:
rofl::openflow::cofmsg_stats rofl::openflow::cofmsg rofl::openflow::cofmsg_aggr_stats_reply rofl::openflow::cofmsg_desc_stats_reply rofl::openflow::cofmsg_experimenter_stats_reply rofl::openflow::cofmsg_flow_stats_reply rofl::openflow::cofmsg_group_desc_stats_reply rofl::openflow::cofmsg_group_features_stats_reply rofl::openflow::cofmsg_group_stats_reply rofl::openflow::cofmsg_meter_config_stats_reply rofl::openflow::cofmsg_meter_features_stats_reply rofl::openflow::cofmsg_meter_stats_reply rofl::openflow::cofmsg_port_desc_stats_reply rofl::openflow::cofmsg_port_stats_reply rofl::openflow::cofmsg_queue_stats_reply rofl::openflow::cofmsg_table_features_stats_reply rofl::openflow::cofmsg_table_stats_reply

Constructor & Destructor Documentation

rofl::openflow::cofmsg_stats_reply::cofmsg_stats_reply ( 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 
)
inline

constructor

virtual rofl::openflow::cofmsg_stats_reply::~cofmsg_stats_reply ( )
inlinevirtual

destructor


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