8 #ifndef COFMSG_QUEUE_GET_CONFIG_H_
9 #define COFMSG_QUEUE_GET_CONFIG_H_ 1
13 #include "rofl/common/openflow/messages/cofmsg.h"
14 #include "rofl/common/openflow/cofpacketqueues.h"
28 uint8_t* ofhu_queue_get_config_request;
34 #define ofh_queue_get_config_request ofhu.ofhu_queue_get_config_request
35 #define ofh10_queue_get_config_request ofhu.ofhu10_queue_get_config_request
36 #define ofh12_queue_get_config_request ofhu.ofhu12_queue_get_config_request
37 #define ofh13_queue_get_config_request ofhu.ofhu13_queue_get_config_request
46 uint8_t of_version = 0,
48 uint32_t port_no = 0);
104 pack(uint8_t *buf = (uint8_t*)0,
size_t buflen = 0);
111 unpack(uint8_t *buf,
size_t buflen);
133 set_port_no(uint32_t port_no);
139 os << dynamic_cast<cofmsg const&>( msg );
140 os <<
indent(0) <<
"<cofmsg_queue_get_config_request >" << std::endl;
141 os <<
indent(2) <<
"<port-no:0x" << std::hex << (int)msg.get_port_no() << std::dec <<
" >" << std::endl;
160 uint8_t* ofhu_queue_get_config_reply;
166 #define ofh_queue_get_config_reply ofhu.ofhu_queue_get_config_reply
167 #define ofh10_queue_get_config_reply ofhu.ofhu10_queue_get_config_reply
168 #define ofh12_queue_get_config_reply ofhu.ofhu12_queue_get_config_reply
169 #define ofh13_queue_get_config_reply ofhu.ofhu13_queue_get_config_reply
178 uint8_t of_version = 0,
180 uint32_t port_no = 0,
183 uint8_t *data = (uint8_t*)0,
240 pack(uint8_t *buf = (uint8_t*)0,
size_t buflen = 0);
247 unpack(uint8_t *buf,
size_t buflen);
269 set_port_no(uint32_t port_no);
281 os << dynamic_cast<cofmsg const&>( msg );
282 os <<
indent(0) <<
"<cofmsg_queue_get_config_request >" << std::endl;
283 os <<
indent(2) <<
"<port-no:0x" << std::hex << (int)msg.get_port_no() << std::dec <<
" >" << std::endl;
Definition: openflow12.h:1621
Definition: cofmsg_queue_get_config.h:22
virtual void pack(uint8_t *buf=(uint8_t *) 0, size_t buflen=0)
Definition: cofmsg_queue_get_config.cc:351
virtual ~cofmsg_queue_get_config_request()
Definition: cofmsg_queue_get_config.cc:75
Definition: openflow13.h:1594
Definition: openflow13.h:1603
virtual void unpack(uint8_t *buf, size_t buflen)
Definition: cofmsg_queue_get_config.cc:382
virtual void unpack(uint8_t *buf, size_t buflen)
Definition: cofmsg_queue_get_config.cc:154
cofmsg_queue_get_config_reply(uint8_t of_version=0, uint32_t xid=0, uint32_t port_no=0, cofpacket_queues const &pql=cofpacket_queues(openflow12::OFP_VERSION))
Definition: cofmsg_queue_get_config.cc:233
cofmsg_queue_get_config_request(uint8_t of_version=0, uint32_t xid=0, uint32_t port_no=0)
Definition: cofmsg_queue_get_config.cc:5
Definition: cofmsg_queue_get_config.h:152
virtual ~cofmsg_queue_get_config_reply()
Definition: cofmsg_queue_get_config.cc:306
Definition: openflow10.h:956
virtual void validate()
Definition: cofmsg_queue_get_config.cc:392
C++ abstraction for malloc'ed memory areas.
Definition: cmemory.h:44
virtual size_t length() const
Definition: cofmsg_queue_get_config.cc:99
Definition: openflow12.h:1630
virtual size_t length() const
Definition: cofmsg_queue_get_config.cc:330
virtual void pack(uint8_t *buf=(uint8_t *) 0, size_t buflen=0)
Definition: cofmsg_queue_get_config.cc:120
virtual void reset()
Definition: cofmsg_queue_get_config.cc:83
Definition: openflow10.h:965
virtual void validate()
Definition: cofmsg_queue_get_config.cc:164
virtual void reset()
Definition: cofmsg_queue_get_config.cc:314
Definition: cofpacketqueues.h:19