libfluid
The ONF OpenFlow driver
Public Member Functions | List of all members
fluid_msg::of13::PacketOut Class Reference

#include <of13msg.hh>

Inheritance diagram for fluid_msg::of13::PacketOut:
fluid_msg::PacketOutCommon fluid_msg::OFMsg

Public Member Functions

 PacketOut (uint32_t xid, uint32_t buffer_id, uint32_t in_port)
 
bool operator== (const PacketOut &other) const
 
bool operator!= (const PacketOut &other) const
 
uint8_t * pack ()
 
of_error unpack (uint8_t *buffer)
 
uint16_t in_port ()
 
void in_port (uint32_t in_port)
 
- Public Member Functions inherited from fluid_msg::PacketOutCommon
 PacketOutCommon (uint8_t version, uint8_t type)
 
 PacketOutCommon (uint8_t version, uint16_t type, uint32_t xid, uint32_t buffer_id)
 
bool operator== (const PacketOutCommon &other) const
 
bool operator!= (const PacketOutCommon &other) const
 
uint32_t buffer_id ()
 
uint16_t actions_len ()
 
ActionList actions ()
 
size_t data_len ()
 
void * data ()
 
void buffer_id (uint32_t buffer_id)
 
void actions (ActionList actions)
 
void add_action (Action &action)
 
void add_action (Action *action)
 
void data (void *data, size_t len)
 
- Public Member Functions inherited from fluid_msg::OFMsg
 OFMsg (uint8_t version, uint8_t type)
 
 OFMsg (uint8_t version, uint8_t type, uint32_t xid)
 
 OFMsg (uint8_t *buffer)
 
bool operator== (const OFMsg &other) const
 
bool operator!= (const OFMsg &other) const
 
uint8_t version ()
 
uint8_t type ()
 
virtual uint16_t length ()
 
uint32_t xid ()
 
void version (uint8_t version)
 
void msg_type (uint8_t type)
 
void length (uint16_t length)
 
void xid (uint32_t xid)
 

Additional Inherited Members

- Static Public Member Functions inherited from fluid_msg::OFMsg
static void free_buffer (uint8_t *buffer)
 
- Protected Attributes inherited from fluid_msg::PacketOutCommon
uint32_t buffer_id_
 
uint16_t actions_len_
 
ActionList actions_
 
void * data_
 
size_t data_len_
 

Detailed Description

OpenFlow 1.3 OFPT_PACKET_OUT message.


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