libfluid
The ONF OpenFlow driver
Public Member Functions | List of all members
fluid_msg::of13::FlowStats Class Reference
Inheritance diagram for fluid_msg::of13::FlowStats:
fluid_msg::FlowStatsCommon

Public Member Functions

 FlowStats (uint8_t table_id, uint32_t duration_sec, uint32_t duration_nsec, uint16_t priority, uint16_t idle_timeout, uint16_t hard_timeout, uint16_t flags, uint64_t cookie, uint64_t packet_count, uint64_t byte_count)
 
bool operator== (const FlowStats &other) const
 
bool operator!= (const FlowStats &other) const
 
size_t pack (uint8_t *buffer)
 
of_error unpack (uint8_t *buffer)
 
uint16_t get_flags ()
 
void set_flags (uint16_t flags)
 
void match (of13::Match match)
 
of13::Match match ()
 
OXMTLVget_oxm_field (uint8_t field)
 
void instructions (InstructionSet instructions)
 
void add_instruction (Instruction *inst)
 
- Public Member Functions inherited from fluid_msg::FlowStatsCommon
 FlowStatsCommon (uint8_t table_id, uint32_t duration_sec, uint32_t duration_nsec, uint16_t priority, uint16_t idle_timeout, uint16_t hard_timeout, uint64_t cookie, uint64_t packet_count, uint64_t byte_count)
 
bool operator== (const FlowStatsCommon &other) const
 
bool operator!= (const FlowStatsCommon &other) const
 
uint16_t length ()
 
uint8_t table_id ()
 
uint32_t duration_sec ()
 
uint32_t duration_nsec ()
 
uint16_t priority ()
 
uint16_t idle_timeout ()
 
uint16_t hard_timeout ()
 
uint64_t cookie ()
 
uint64_t packet_count ()
 
uint64_t byte_count ()
 
void table_id (uint8_t table_id)
 
void duration_sec (uint32_t duration_sec)
 
void duration_nsec (uint32_t duration_nsec)
 
void priority (uint16_t priority)
 
void idle_timeout (uint16_t idle_timeout)
 
void hard_timeout (uint16_t hard_timeout)
 
void cookie (uint64_t cookie)
 
void packet_count (uint16_t packet_count)
 
void byte_count (uint64_t byte_count)
 

Additional Inherited Members

- Protected Attributes inherited from fluid_msg::FlowStatsCommon
uint16_t length_
 
uint8_t table_id_
 
uint32_t duration_sec_
 
uint32_t duration_nsec_
 
uint16_t priority_
 
uint16_t idle_timeout_
 
uint16_t hard_timeout_
 
uint64_t cookie_
 
uint64_t packet_count_
 
uint64_t byte_count_
 

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