OpenSDN source code
|
#include <flow_entry.h>
Public Member Functions | |
VmFlowRef () | |
VmFlowRef (const VmFlowRef &rhs) | |
~VmFlowRef () | |
void | Init (FlowEntry *flow) |
void | operator= (const VmFlowRef &rhs) |
void | Reset (bool reset_flow) |
void | FreeRef () |
void | FreeFd () |
void | SetVm (const VmEntry *vm) |
bool | AllocateFd (Agent *agent, uint8_t l3_proto) |
void | Move (VmFlowRef *rhs) |
int | fd () const |
uint16_t | port () const |
const VmEntry * | vm () const |
Static Public Attributes | |
static const int | kInvalidFd =-1 |
Private Attributes | |
VmEntryConstRef | vm_ |
int | fd_ |
uint16_t | port_ |
FlowEntry * | flow_ |
Definition at line 97 of file flow_entry.h.
VmFlowRef::VmFlowRef | ( | ) |
Definition at line 116 of file flow_entry.cc.
VmFlowRef::VmFlowRef | ( | const VmFlowRef & | rhs | ) |
VmFlowRef::~VmFlowRef | ( | ) |
bool VmFlowRef::AllocateFd | ( | Agent * | agent, |
uint8_t | l3_proto | ||
) |
|
inline |
Definition at line 113 of file flow_entry.h.
void VmFlowRef::FreeFd | ( | ) |
void VmFlowRef::FreeRef | ( | ) |
Definition at line 175 of file flow_entry.cc.
void VmFlowRef::Init | ( | FlowEntry * | flow | ) |
Definition at line 136 of file flow_entry.cc.
void VmFlowRef::Move | ( | VmFlowRef * | rhs | ) |
void VmFlowRef::operator= | ( | const VmFlowRef & | rhs | ) |
Definition at line 140 of file flow_entry.cc.
|
inline |
Definition at line 114 of file flow_entry.h.
void VmFlowRef::Reset | ( | bool | reset_flow | ) |
void VmFlowRef::SetVm | ( | const VmEntry * | vm | ) |
|
inline |
Definition at line 115 of file flow_entry.h.
|
private |
Definition at line 120 of file flow_entry.h.
|
private |
Definition at line 122 of file flow_entry.h.
|
static |
Definition at line 99 of file flow_entry.h.
|
private |
Definition at line 121 of file flow_entry.h.
|
private |
Definition at line 119 of file flow_entry.h.