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

#include <vm_interface.h>

Inheritance diagram for VmInterface::VmiReceiveRoute:
Collaboration diagram for VmInterface::VmiReceiveRoute:

Public Member Functions

 VmiReceiveRoute ()
 
 VmiReceiveRoute (const VmiReceiveRoute &rhs)
 
 VmiReceiveRoute (const IpAddress &addr, uint32_t plen, bool add_l2)
 
virtual ~VmiReceiveRoute ()
 
bool operator() (const VmiReceiveRoute &lhs, const VmiReceiveRoute &rhs) const
 
bool IsLess (const VmiReceiveRoute *rhs) const
 
VmInterfaceState::Op GetOpL2 (const Agent *agent, const VmInterface *vmi) const
 
bool DeleteL2 (const Agent *agent, VmInterface *vmi) const
 
bool AddL2 (const Agent *agent, VmInterface *vmi) const
 
void Copy (const Agent *agent, const VmInterface *vmi) const
 
VmInterfaceState::Op GetOpL3 (const Agent *agent, const VmInterface *vmi) const
 
bool AddL3 (const Agent *agent, VmInterface *vmi) const
 
bool DeleteL3 (const Agent *agent, VmInterface *vmi) const
 
- Public Member Functions inherited from VmInterface::ListEntry
 ListEntry ()
 
 ListEntry (bool del_pending)
 
virtual ~ListEntry ()
 
bool del_pending () const
 
void set_del_pending (bool val) const
 
VmInterfaceState::Op GetOp (VmInterfaceState::Op op) const
 
- Public Member Functions inherited from VmInterfaceState
 VmInterfaceState ()
 
 VmInterfaceState (bool l2_installed, bool l3_installed)
 
virtual ~VmInterfaceState ()
 
bool Installed () const
 
virtual bool Update (const Agent *agent, VmInterface *vmi, Op l2_force_op, Op l3_force_op) const
 

Public Attributes

IpAddress addr_
 
uint32_t plen_
 
bool add_l2_
 
VrfEntryRef vrf_
 
- Public Attributes inherited from VmInterface::ListEntry
bool del_pending_
 
- Public Attributes inherited from VmInterfaceState
bool l2_installed_
 
bool l3_installed_
 

Additional Inherited Members

- Public Types inherited from VmInterfaceState
enum  Op { INVALID, ADD, DEL_ADD, DEL }
 
- Static Public Member Functions inherited from VmInterfaceState
static Op RecomputeOp (Op old_op, Op new_op)
 

Detailed Description

Definition at line 1176 of file vm_interface.h.

Constructor & Destructor Documentation

VmInterface::VmiReceiveRoute::VmiReceiveRoute ( )

Definition at line 3278 of file vm_interface.cc.

VmInterface::VmiReceiveRoute::VmiReceiveRoute ( const VmiReceiveRoute rhs)

Definition at line 3282 of file vm_interface.cc.

VmInterface::VmiReceiveRoute::VmiReceiveRoute ( const IpAddress addr,
uint32_t  plen,
bool  add_l2 
)

Definition at line 3288 of file vm_interface.cc.

virtual VmInterface::VmiReceiveRoute::~VmiReceiveRoute ( )
inlinevirtual

Definition at line 1180 of file vm_interface.h.

Member Function Documentation

bool VmInterface::VmiReceiveRoute::AddL2 ( const Agent agent,
VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 3373 of file vm_interface.cc.

Here is the call graph for this function:

bool VmInterface::VmiReceiveRoute::AddL3 ( const Agent agent,
VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 3342 of file vm_interface.cc.

Here is the call graph for this function:

void VmInterface::VmiReceiveRoute::Copy ( const Agent agent,
const VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 3312 of file vm_interface.cc.

Here is the call graph for this function:

bool VmInterface::VmiReceiveRoute::DeleteL2 ( const Agent agent,
VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 3386 of file vm_interface.cc.

Here is the call graph for this function:

bool VmInterface::VmiReceiveRoute::DeleteL3 ( const Agent agent,
VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 3363 of file vm_interface.cc.

Here is the call graph for this function:

VmInterfaceState::Op VmInterface::VmiReceiveRoute::GetOpL2 ( const Agent agent,
const VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 3330 of file vm_interface.cc.

Here is the call graph for this function:

VmInterfaceState::Op VmInterface::VmiReceiveRoute::GetOpL3 ( const Agent agent,
const VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 3318 of file vm_interface.cc.

Here is the call graph for this function:

bool VmInterface::VmiReceiveRoute::IsLess ( const VmiReceiveRoute rhs) const

Definition at line 3300 of file vm_interface.cc.

bool VmInterface::VmiReceiveRoute::operator() ( const VmiReceiveRoute lhs,
const VmiReceiveRoute rhs 
) const

Definition at line 3294 of file vm_interface.cc.

Here is the call graph for this function:

Member Data Documentation

bool VmInterface::VmiReceiveRoute::add_l2_

Definition at line 1199 of file vm_interface.h.

IpAddress VmInterface::VmiReceiveRoute::addr_

Definition at line 1197 of file vm_interface.h.

uint32_t VmInterface::VmiReceiveRoute::plen_

Definition at line 1198 of file vm_interface.h.

VrfEntryRef VmInterface::VmiReceiveRoute::vrf_
mutable

Definition at line 1200 of file vm_interface.h.


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