libfluid
The ONF OpenFlow driver
Public Member Functions | Protected Attributes | List of all members
fluid_msg::PacketOutCommon Class Reference

#include <msg.hh>

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

Public Member Functions

 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)
 
virtual uint8_t * pack ()
 
virtual of_error unpack (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)
 

Protected Attributes

uint32_t buffer_id_
 
uint16_t actions_len_
 
ActionList actions_
 
void * data_
 
size_t data_len_
 
- Protected Attributes inherited from fluid_msg::OFMsg
uint8_t version_
 
uint8_t type_
 
uint16_t length_
 
uint32_t xid_
 

Additional Inherited Members

- Static Public Member Functions inherited from fluid_msg::OFMsg
static void free_buffer (uint8_t *buffer)
 

Detailed Description

Base class for OpenFlow 1.0 and 1.3 Packet Out messages.


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