OpenSDN source code
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() [1/2]

VmFlowRef::VmFlowRef ( )

Definition at line 116 of file flow_entry.cc.

◆ VmFlowRef() [2/2]

VmFlowRef::VmFlowRef ( const VmFlowRef rhs)

Definition at line 120 of file flow_entry.cc.

Here is the call graph for this function:

◆ ~VmFlowRef()

VmFlowRef::~VmFlowRef ( )

Definition at line 132 of file flow_entry.cc.

Here is the call graph for this function:

Member Function Documentation

◆ AllocateFd()

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:

◆ fd()

int VmFlowRef::fd ( ) const
inline

Definition at line 113 of file flow_entry.h.

◆ FreeFd()

void VmFlowRef::FreeFd ( )

Definition at line 185 of file flow_entry.cc.

Here is the call graph for this function:

◆ FreeRef()

void VmFlowRef::FreeRef ( )

Definition at line 175 of file flow_entry.cc.

◆ Init()

void VmFlowRef::Init ( FlowEntry flow)

Definition at line 136 of file flow_entry.cc.

◆ Move()

void VmFlowRef::Move ( VmFlowRef rhs)

Definition at line 152 of file flow_entry.cc.

Here is the call graph for this function:

◆ operator=()

void VmFlowRef::operator= ( const VmFlowRef rhs)

Definition at line 140 of file flow_entry.cc.

◆ port()

uint16_t VmFlowRef::port ( ) const
inline

Definition at line 114 of file flow_entry.h.

◆ Reset()

void VmFlowRef::Reset ( bool  reset_flow)

Definition at line 167 of file flow_entry.cc.

Here is the call graph for this function:

◆ SetVm()

void VmFlowRef::SetVm ( const VmEntry vm)

Definition at line 200 of file flow_entry.cc.

Here is the call graph for this function:

◆ vm()

const VmEntry* VmFlowRef::vm ( ) const
inline

Definition at line 115 of file flow_entry.h.

Member Data Documentation

◆ fd_

int VmFlowRef::fd_
private

Definition at line 120 of file flow_entry.h.

◆ flow_

FlowEntry* VmFlowRef::flow_
private

Definition at line 122 of file flow_entry.h.

◆ kInvalidFd

const int VmFlowRef::kInvalidFd =-1
static

Definition at line 99 of file flow_entry.h.

◆ port_

uint16_t VmFlowRef::port_
private

Definition at line 121 of file flow_entry.h.

◆ vm_

VmEntryConstRef VmFlowRef::vm_
private

Definition at line 119 of file flow_entry.h.


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