8 #ifndef COFMSG_DESC_STATS_H_
9 #define COFMSG_DESC_STATS_H_ 1
11 #include "rofl/common/openflow/messages/cofmsg_stats.h"
12 #include "rofl/common/openflow/cofdescstats.h"
33 uint8_t of_version = 0,
91 pack(uint8_t *buf = (uint8_t*)0,
size_t buflen = 0);
98 unpack(uint8_t *buf,
size_t buflen);
110 os << dynamic_cast<cofmsg_stats_request const&>( msg );
111 os <<
indent(2) <<
"<cofmsg_desc_stats_request >" << std::endl;
129 uint8_t* ofhu_desc_stats;
135 #define ofh_desc_stats ofhu.ofhu_desc_stats
136 #define ofh10_desc_stats ofhu.ofhu10_desc_stats
137 #define ofh12_desc_stats ofhu.ofhu12_desc_stats
147 uint8_t of_version = rofl::openflow::OFP_VERSION_UNKNOWN,
206 pack(uint8_t *buf = (uint8_t*)0,
size_t buflen = 0);
213 unpack(uint8_t *buf,
size_t buflen);
235 os << dynamic_cast<cofmsg_stats_reply const&>( msg );
236 os <<
indent(2) <<
"<cofmsg_desc_stats_reply >" << std::endl;
238 os << msg.desc_stats;
virtual size_t length() const
Definition: cofmsg_desc_stats.cc:288
Definition: cofmsg_stats.h:264
virtual void validate()
Definition: cofmsg_desc_stats.cc:146
virtual void pack(uint8_t *buf=(uint8_t *) 0, size_t buflen=0)
Definition: cofmsg_desc_stats.cc:307
virtual void pack(uint8_t *buf=(uint8_t *) 0, size_t buflen=0)
Definition: cofmsg_desc_stats.cc:108
virtual ~cofmsg_desc_stats_request()
Definition: cofmsg_desc_stats.cc:65
Definition: cofmsg_desc_stats.h:121
Definition: cofdescstats.h:18
virtual void unpack(uint8_t *buf, size_t buflen)
Definition: cofmsg_desc_stats.cc:337
Definition: cofmsg_desc_stats.h:21
virtual void unpack(uint8_t *buf, size_t buflen)
Definition: cofmsg_desc_stats.cc:136
virtual void reset()
Definition: cofmsg_desc_stats.cc:73
Definition: cofmsg_stats.h:187
virtual void reset()
Definition: cofmsg_desc_stats.cc:260
virtual void validate()
Definition: cofmsg_desc_stats.cc:347
virtual size_t length() const
Definition: cofmsg_desc_stats.cc:89
C++ abstraction for malloc'ed memory areas.
Definition: cmemory.h:44
Definition: openflow10.h:783
Definition: openflow12.h:1318
cofmsg_desc_stats_reply(uint8_t of_version=rofl::openflow::OFP_VERSION_UNKNOWN, uint32_t xid=0, uint16_t flags=0, cofdesc_stats_reply const &desc_stats=cofdesc_stats_reply())
Definition: cofmsg_desc_stats.cc:172
cofmsg_desc_stats_request(uint8_t of_version=0, uint32_t xid=0, uint16_t flags=0)
Definition: cofmsg_desc_stats.cc:6
virtual ~cofmsg_desc_stats_reply()
Definition: cofmsg_desc_stats.cc:252