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

#include <msg.hh>

Inheritance diagram for fluid_msg::OFMsg:
fluid_msg::AsyncConfigCommon fluid_msg::EchoCommon fluid_msg::ErrorCommon fluid_msg::FeaturesReplyCommon fluid_msg::FlowModCommon fluid_msg::FlowRemovedCommon fluid_msg::of10::BarrierReply fluid_msg::of10::BarrierRequest fluid_msg::of10::FeaturesRequest fluid_msg::of10::GetConfigRequest fluid_msg::of10::Hello fluid_msg::of10::QueueGetConfigReply fluid_msg::of10::QueueGetConfigRequest fluid_msg::of10::StatsReply fluid_msg::of10::StatsRequest fluid_msg::of10::Vendor fluid_msg::of13::BarrierReply fluid_msg::of13::BarrierRequest fluid_msg::of13::Experimenter fluid_msg::of13::FeaturesRequest fluid_msg::of13::GetAsyncRequest fluid_msg::of13::GetConfigRequest fluid_msg::of13::GroupMod fluid_msg::of13::Hello fluid_msg::of13::MeterMod fluid_msg::of13::MultipartReply fluid_msg::of13::MultipartRequest fluid_msg::of13::QueueGetConfigReply fluid_msg::of13::QueueGetConfigRequest fluid_msg::of13::TableMod fluid_msg::PacketInCommon fluid_msg::PacketOutCommon fluid_msg::PortModCommon fluid_msg::PortStatusCommon fluid_msg::RoleCommon fluid_msg::SwitchConfigCommon

Public Member Functions

 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)
 

Static Public Member Functions

static void free_buffer (uint8_t *buffer)
 

Protected Attributes

uint8_t version_
 
uint8_t type_
 
uint16_t length_
 
uint32_t xid_
 

Detailed Description

Base class for OpenFlow messages.


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