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

#include <vm_interface.h>

Inheritance diagram for NextHopState:
Collaboration diagram for NextHopState:

Public Member Functions

 NextHopState ()
 
virtual ~NextHopState ()
 
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
 
VmInterfaceState::Op GetOpL3 (const Agent *agent, const VmInterface *vmi) const
 
bool DeleteL3 (const Agent *agent, VmInterface *vmi) const
 
bool AddL3 (const Agent *agent, VmInterface *vmi) const
 
uint32_t l2_label () const
 
uint32_t l3_label () 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
 
virtual void Copy (const Agent *agent, const VmInterface *vmi) const
 

Public Attributes

NextHopRef l2_nh_policy_
 
NextHopRef l2_nh_no_policy_
 
uint32_t l2_label_
 
NextHopRef l3_nh_policy_
 
NextHopRef l3_nh_no_policy_
 
uint32_t l3_label_
 
NextHopRef l3_mcast_nh_no_policy_
 
NextHopRef receive_nh_
 
- 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 249 of file vm_interface.h.

Constructor & Destructor Documentation

NextHopState::NextHopState ( )

Definition at line 1053 of file vm_interface.cc.

NextHopState::~NextHopState ( )
virtual

Definition at line 1056 of file vm_interface.cc.

Member Function Documentation

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

Reimplemented from VmInterfaceState.

Definition at line 1078 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1122 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1108 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1162 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1061 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1070 of file vm_interface.cc.

Here is the call graph for this function:

uint32_t NextHopState::l2_label ( ) const
inline

Definition at line 263 of file vm_interface.h.

uint32_t NextHopState::l3_label ( ) const
inline

Definition at line 264 of file vm_interface.h.

Member Data Documentation

uint32_t NextHopState::l2_label_
mutable

Definition at line 268 of file vm_interface.h.

NextHopRef NextHopState::l2_nh_no_policy_
mutable

Definition at line 267 of file vm_interface.h.

NextHopRef NextHopState::l2_nh_policy_
mutable

Definition at line 266 of file vm_interface.h.

uint32_t NextHopState::l3_label_
mutable

Definition at line 272 of file vm_interface.h.

NextHopRef NextHopState::l3_mcast_nh_no_policy_
mutable

Definition at line 274 of file vm_interface.h.

NextHopRef NextHopState::l3_nh_no_policy_
mutable

Definition at line 271 of file vm_interface.h.

NextHopRef NextHopState::l3_nh_policy_
mutable

Definition at line 270 of file vm_interface.h.

NextHopRef NextHopState::receive_nh_
mutable

Definition at line 276 of file vm_interface.h.


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