|
| cofmsg_packet_in (uint8_t of_version=0, uint32_t xid=0, uint32_t buffer_id=0, uint16_t total_len=0, uint8_t reason=0, uint8_t table_id=0, uint64_t of13_cookie=0, uint16_t of10_in_port=0, cofmatch const &match=cofmatch(), uint8_t *data=(uint8_t *) 0, size_t datalen=0) |
|
| cofmsg_packet_in (cofmsg_packet_in const &packet_in) |
|
cofmsg_packet_in & | operator= (cofmsg_packet_in const &packet_in) |
|
virtual | ~cofmsg_packet_in () |
|
| cofmsg_packet_in (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 () |
|
uint32_t | get_buffer_id () const |
|
void | set_buffer_id (uint32_t buffer_id) |
|
uint16_t | get_total_len () const |
|
void | set_total_len (uint16_t total_len) |
|
uint8_t | get_reason () const |
|
void | set_reason (uint8_t reason) |
|
uint8_t | get_table_id () const |
|
void | set_table_id (uint8_t table_id) |
|
uint16_t | get_in_port () const |
|
void | set_in_port (uint16_t port_no) |
|
uint64_t | get_cookie () const |
|
void | set_cookie (uint64_t cookie) |
|
cofmatch & | set_match () |
|
cofmatch const & | get_match () const |
|
cpacket & | set_packet () |
|
cpacket const & | get_packet () const |
|
| 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 |
|
cofmsg_packet_in::cofmsg_packet_in |
( |
uint8_t |
of_version = 0 , |
|
|
uint32_t |
xid = 0 , |
|
|
uint32_t |
buffer_id = 0 , |
|
|
uint16_t |
total_len = 0 , |
|
|
uint8_t |
reason = 0 , |
|
|
uint8_t |
table_id = 0 , |
|
|
uint64_t |
of13_cookie = 0 , |
|
|
uint16_t |
of10_in_port = 0 , |
|
|
cofmatch const & |
match = cofmatch() , |
|
|
uint8_t * |
data = (uint8_t*)0 , |
|
|
size_t |
datalen = 0 |
|
) |
| |
cofmsg_packet_in::~cofmsg_packet_in |
( |
| ) |
|
|
virtual |
uint64_t cofmsg_packet_in::get_cookie |
( |
| ) |
const |
uint16_t cofmsg_packet_in::get_in_port |
( |
| ) |
const |
size_t cofmsg_packet_in::length |
( |
| ) |
const |
|
virtual |
void cofmsg_packet_in::pack |
( |
uint8_t * |
buf = (uint8_t*)0 , |
|
|
size_t |
buflen = 0 |
|
) |
| |
|
virtual |
void cofmsg_packet_in::reset |
( |
| ) |
|
|
virtual |
void cofmsg_packet_in::set_cookie |
( |
uint64_t |
cookie | ) |
|
void cofmsg_packet_in::set_in_port |
( |
uint16_t |
port_no | ) |
|
void cofmsg_packet_in::unpack |
( |
uint8_t * |
buf, |
|
|
size_t |
buflen |
|
) |
| |
|
virtual |
void cofmsg_packet_in::validate |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files:
- /home/andreas/git/rofl-core/src/rofl/common/openflow/messages/cofmsg_packet_in.h
- /home/andreas/git/rofl-core/src/rofl/common/openflow/messages/cofmsg_packet_in.cc