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

#include <of13msg.hh>

Inheritance diagram for fluid_msg::of13::FlowMod:
fluid_msg::FlowModCommon fluid_msg::OFMsg

Public Member Functions

 FlowMod (uint32_t xid, uint64_t cookie, uint64_t cookie_mask, uint8_t table_id, uint8_t command, uint16_t idle_timeout, uint16_t hard_timeout, uint16_t priority, uint32_t buffer_id, uint32_t out_port, uint32_t out_group, uint16_t flags)
 
bool operator== (const FlowMod &other) const
 
bool operator!= (const FlowMod &other) const
 
uint8_t * pack ()
 
of_error unpack (uint8_t *buffer)
 
virtual uint16_t length ()
 
uint8_t command ()
 
uint64_t cookie_mask ()
 
uint8_t table_id ()
 
uint32_t out_port ()
 
uint32_t out_group ()
 
of13::Match match ()
 
OXMTLVget_oxm_field (uint8_t field)
 
void command (uint8_t command)
 
void cookie_mask (uint64_t cookie_mask)
 
void table_id (uint8_t table_id)
 
void out_port (uint32_t out_port)
 
void out_group (uint32_t out_group)
 
void match (of13::Match match)
 
void add_oxm_field (OXMTLV &field)
 
void add_oxm_field (OXMTLV *field)
 
void instructions (InstructionSet instructions)
 
void add_instruction (Instruction &inst)
 
void add_instruction (Instruction *inst)
 
- Public Member Functions inherited from fluid_msg::FlowModCommon
 FlowModCommon (uint8_t version, uint8_t type)
 
 FlowModCommon (uint8_t version, uint8_t type, uint32_t xid, uint64_t cookie, uint16_t idle_timeout, uint16_t hard_timeout, uint16_t priority, uint32_t buffer_id, uint16_t flags)
 
bool operator== (const FlowModCommon &other) const
 
bool operator!= (const FlowModCommon &other) const
 
uint64_t cookie ()
 
uint16_t idle_timeout ()
 
uint16_t hard_timeout ()
 
uint16_t priority ()
 
uint32_t buffer_id ()
 
uint16_t flags ()
 
void cookie (uint64_t cookie)
 
void idle_timeout (uint16_t idle_timeout)
 
void hard_timeout (uint16_t hard_timeout)
 
void priority (uint16_t priority)
 
void buffer_id (uint32_t buffer_id)
 
void flags (uint16_t flags)
 
- 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::FlowModCommon
uint64_t cookie_
 
uint16_t idle_timeout_
 
uint16_t hard_timeout_
 
uint16_t priority_
 
uint32_t buffer_id_
 
uint16_t flags_
 

Detailed Description

OpenFlow 1.3 OFPT_FLOW_MOD message.


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