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

#include <vm_interface.h>

Inheritance diagram for ResolveRouteState:
Collaboration diagram for ResolveRouteState:

Public Member Functions

 ResolveRouteState ()
 
virtual ~ResolveRouteState ()
 
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
 
void Copy (const Agent *agent, const VmInterface *vmi) 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

const VrfEntryvrf_
 
Ip4Address subnet_
 
uint8_t plen_
 
- 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 294 of file vm_interface.h.

Constructor & Destructor Documentation

ResolveRouteState::ResolveRouteState ( )

Definition at line 1290 of file vm_interface.cc.

ResolveRouteState::~ResolveRouteState ( )
virtual

Definition at line 1294 of file vm_interface.cc.

Member Function Documentation

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

Reimplemented from VmInterfaceState.

Definition at line 1390 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1323 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1297 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1381 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1315 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1366 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1303 of file vm_interface.cc.

Here is the call graph for this function:

Member Data Documentation

uint8_t ResolveRouteState::plen_
mutable

Definition at line 310 of file vm_interface.h.

Ip4Address ResolveRouteState::subnet_
mutable

Definition at line 309 of file vm_interface.h.

const VrfEntry* ResolveRouteState::vrf_
mutable

Definition at line 308 of file vm_interface.h.


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