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

#include <flow_entry.h>

Collaboration diagram for VmFlowRef:

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 VmEntryvm () const
 

Static Public Attributes

static const int kInvalidFd =-1
 

Private Attributes

VmEntryConstRef vm_
 
int fd_
 
uint16_t port_
 
FlowEntryflow_
 

Detailed Description

Definition at line 97 of file flow_entry.h.

Constructor & Destructor Documentation

VmFlowRef::VmFlowRef ( )

Definition at line 116 of file flow_entry.cc.

VmFlowRef::VmFlowRef ( const VmFlowRef rhs)

Definition at line 120 of file flow_entry.cc.

Here is the call graph for this function:

VmFlowRef::~VmFlowRef ( )

Definition at line 132 of file flow_entry.cc.

Here is the call graph for this function:

Member Function Documentation

bool VmFlowRef::AllocateFd ( Agent agent,
uint8_t  l3_proto 
)

Definition at line 218 of file flow_entry.cc.

Here is the call graph for this function:

int VmFlowRef::fd ( ) const
inline

Definition at line 113 of file flow_entry.h.

void VmFlowRef::FreeFd ( )

Definition at line 185 of file flow_entry.cc.

Here is the call graph for this function:

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)

Definition at line 152 of file flow_entry.cc.

Here is the call graph for this function:

void VmFlowRef::operator= ( const VmFlowRef rhs)

Definition at line 140 of file flow_entry.cc.

uint16_t VmFlowRef::port ( ) const
inline

Definition at line 114 of file flow_entry.h.

void VmFlowRef::Reset ( bool  reset_flow)

Definition at line 167 of file flow_entry.cc.

Here is the call graph for this function:

void VmFlowRef::SetVm ( const VmEntry vm)

Definition at line 200 of file flow_entry.cc.

Here is the call graph for this function:

const VmEntry* VmFlowRef::vm ( ) const
inline

Definition at line 115 of file flow_entry.h.

Member Data Documentation

int VmFlowRef::fd_
private

Definition at line 120 of file flow_entry.h.

FlowEntry* VmFlowRef::flow_
private

Definition at line 122 of file flow_entry.h.

const int VmFlowRef::kInvalidFd =-1
static

Definition at line 99 of file flow_entry.h.

uint16_t VmFlowRef::port_
private

Definition at line 121 of file flow_entry.h.

VmEntryConstRef VmFlowRef::vm_
private

Definition at line 119 of file flow_entry.h.


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