8 #ifndef COFMSG_TABLE_FEATURES_H_
9 #define COFMSG_TABLE_FEATURES_H_ 1
13 #include "rofl/common/openflow/messages/cofmsg_stats.h"
14 #include "rofl/common/openflow/coftables.h"
30 uint8_t* ofhu_generic;
34 #define ofh_generic ofh_ofhu.ofhu_generic
35 #define ofh_table_features ofh_ofhu.ofhu_table_features
44 uint8_t of_version = rofl::openflow::OFP_VERSION_UNKNOWN,
46 uint16_t stats_flags = 0,
103 pack(uint8_t *buf = (uint8_t*)0,
size_t buflen = 0);
110 unpack(uint8_t *buf,
size_t buflen);
124 get_tables()
const {
return tables; };
130 set_tables() {
return tables; };
137 os << dynamic_cast<cofmsg_stats_request const&>( msg );
138 os <<
indent(2) <<
"<cofmsg_table_features_request >" << std::endl;
139 indent i(4); os << msg.tables;
145 std::stringstream ss;
146 ss <<
"-Table-Features-Stats-Request- " << cofmsg::str() <<
" ";
169 uint8_t* ofhu_generic;
173 #define ofh_generic ofh_ofhu.ofhu_generic
174 #define ofh_table_features ofh_ofhu.ofhu_table_features
183 uint8_t of_version = rofl::openflow::OFP_VERSION_UNKNOWN,
185 uint16_t stats_flags = 0,
242 pack(uint8_t *buf = (uint8_t*)0,
size_t buflen = 0);
249 unpack(uint8_t *buf,
size_t buflen);
263 get_tables()
const {
return tables; };
269 set_tables() {
return tables; };
276 os << dynamic_cast<cofmsg_stats_reply const&>( msg );
277 os <<
indent(2) <<
"<cofmsg_table_features_reply >" << std::endl;
278 indent i(4); os << msg.tables;
284 std::stringstream ss;
285 ss <<
"-Table-Features-Stats-Reply- " << cofmsg::str() <<
" ";
virtual void unpack(uint8_t *buf, size_t buflen)
Definition: cofmsg_table_features_stats.cc:135
Definition: cofmsg_stats.h:264
cofmsg_table_features_stats_reply(uint8_t of_version=rofl::openflow::OFP_VERSION_UNKNOWN, uint32_t xid=0, uint16_t stats_flags=0, rofl::openflow::coftables const tables=rofl::openflow::coftables())
Definition: cofmsg_table_features_stats.cc:169
virtual void reset()
Definition: cofmsg_table_features_stats.cc:70
Definition: openflow13.h:1274
virtual void unpack(uint8_t *buf, size_t buflen)
Definition: cofmsg_table_features_stats.cc:301
Definition: cofmsg_table_features_stats.h:22
Definition: cofmsg_stats.h:187
Definition: cofmsg_table_features_stats.h:161
virtual ~cofmsg_table_features_stats_reply()
Definition: cofmsg_table_features_stats.cc:226
virtual ~cofmsg_table_features_stats_request()
Definition: cofmsg_table_features_stats.cc:62
Definition: coftables.h:27
virtual void pack(uint8_t *buf=(uint8_t *) 0, size_t buflen=0)
Definition: cofmsg_table_features_stats.cc:109
C++ abstraction for malloc'ed memory areas.
Definition: cmemory.h:44
virtual void validate()
Definition: cofmsg_table_features_stats.cc:311
virtual void validate()
Definition: cofmsg_table_features_stats.cc:145
cofmsg_table_features_stats_request(uint8_t of_version=rofl::openflow::OFP_VERSION_UNKNOWN, uint32_t xid=0, uint16_t stats_flags=0, rofl::openflow::coftables const &tables=rofl::openflow::coftables())
Definition: cofmsg_table_features_stats.cc:5
virtual size_t length() const
Definition: cofmsg_table_features_stats.cc:95
virtual void pack(uint8_t *buf=(uint8_t *) 0, size_t buflen=0)
Definition: cofmsg_table_features_stats.cc:273
virtual void reset()
Definition: cofmsg_table_features_stats.cc:234
virtual size_t length() const
Definition: cofmsg_table_features_stats.cc:259