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

#include <of10msg.hh>

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

Public Member Functions

 PacketIn (uint32_t xid, uint32_t buffer_id, uint16_t in_port, uint16_t total_len, uint8_t reason)
 
bool operator== (const PacketIn &other) const
 
bool operator!= (const PacketIn &other) const
 
uint8_t * pack ()
 
of_error unpack (uint8_t *buffer)
 
uint16_t in_port ()
 
void in_port (uint16_t in_port)
 
- 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 ()
 
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::PacketInCommon
uint32_t buffer_id_
 
uint16_t total_len_
 
uint8_t reason_
 
size_t data_len_
 
void * data_
 

Detailed Description

OpenFlow 1.0 OFPT_PACKET_IN message.


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