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

#include <of13msg.hh>

Inheritance diagram for fluid_msg::of13::PacketIn:
fluid_msg::PacketInCommon fluid_msg::OFMsg

Public Member Functions

 PacketIn (uint32_t xid, uint32_t buffer_id, uint16_t total_len, uint8_t reason, uint8_t table_id, uint64_t cookie)
 
virtual uint16_t length ()
 
bool operator== (const PacketIn &other) const
 
bool operator!= (const PacketIn &other) const
 
uint8_t * pack ()
 
of_error unpack (uint8_t *buffer)
 
uint8_t table_id ()
 
uint64_t cookie ()
 
of13::Match match ()
 
OXMTLVget_oxm_field (uint8_t field)
 
void table_id (uint8_t table_id)
 
void cookie (uint64_t cookie)
 
void add_oxm_field (OXMTLV &field)
 
void add_oxm_field (OXMTLV *field)
 
- Public Member Functions inherited from fluid_msg::PacketInCommon
 PacketInCommon (uint8_t version, uint8_t type)
 
 PacketInCommon (uint8_t version, uint8_t type, uint32_t xid, uint32_t buffer_id, uint16_t total_len, uint8_t reason)
 
bool operator== (const PacketInCommon &other) const
 
bool operator!= (const PacketInCommon &other) const
 
uint32_t buffer_id ()
 
uint16_t total_len ()
 
uint8_t reason ()
 
void * data ()
 
size_t data_len ()
 
void buffer_id (uint32_t buffer_id)
 
void total_len (uint16_t total_len)
 
void reason (uint8_t reason)
 
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 ()
 
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::PacketInCommon
uint32_t buffer_id_
 
uint16_t total_len_
 
uint8_t reason_
 
size_t data_len_
 
void * data_
 

Detailed Description

OpenFlow 1.3 OFPT_PACKET_IN message.


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