OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FlowKey Struct Reference

#include <flow_entry.h>

Collaboration diagram for FlowKey:

Public Member Functions

 FlowKey ()
 
 FlowKey (uint32_t nh_p, const Ip4Address &sip_p, const Ip4Address &dip_p, uint8_t proto_p, uint16_t sport_p, uint16_t dport_p)
 
 FlowKey (uint32_t nh_p, const IpAddress &sip_p, const IpAddress &dip_p, uint8_t proto_p, uint16_t sport_p, uint16_t dport_p)
 
 FlowKey (const FlowKey &key)
 
bool IsLess (const FlowKey &key) const
 
bool IsEqual (const FlowKey &key) const
 
void Reset ()
 

Public Attributes

Address::Family family
 
uint32_t nh
 
IpAddress src_addr
 
IpAddress dst_addr
 
uint8_t protocol
 
uint16_t src_port
 
uint16_t dst_port
 

Detailed Description

Definition at line 127 of file flow_entry.h.

Constructor & Destructor Documentation

FlowKey::FlowKey ( )
inline

Definition at line 128 of file flow_entry.h.

FlowKey::FlowKey ( uint32_t  nh_p,
const Ip4Address sip_p,
const Ip4Address dip_p,
uint8_t  proto_p,
uint16_t  sport_p,
uint16_t  dport_p 
)
inline

Definition at line 134 of file flow_entry.h.

FlowKey::FlowKey ( uint32_t  nh_p,
const IpAddress sip_p,
const IpAddress dip_p,
uint8_t  proto_p,
uint16_t  sport_p,
uint16_t  dport_p 
)
inline

Definition at line 140 of file flow_entry.h.

FlowKey::FlowKey ( const FlowKey key)
inline

Definition at line 147 of file flow_entry.h.

Member Function Documentation

bool FlowKey::IsEqual ( const FlowKey key) const
inline

Definition at line 176 of file flow_entry.h.

bool FlowKey::IsLess ( const FlowKey key) const
inline

Definition at line 154 of file flow_entry.h.

void FlowKey::Reset ( )
inline

Definition at line 201 of file flow_entry.h.

Member Data Documentation

IpAddress FlowKey::dst_addr

Definition at line 214 of file flow_entry.h.

uint16_t FlowKey::dst_port

Definition at line 217 of file flow_entry.h.

Address::Family FlowKey::family

Definition at line 211 of file flow_entry.h.

uint32_t FlowKey::nh

Definition at line 212 of file flow_entry.h.

uint8_t FlowKey::protocol

Definition at line 215 of file flow_entry.h.

IpAddress FlowKey::src_addr

Definition at line 213 of file flow_entry.h.

uint16_t FlowKey::src_port

Definition at line 216 of file flow_entry.h.


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