OpenSDN source code
RouteLeakState Struct Reference

#include <route_leak.h>

Inheritance diagram for RouteLeakState:
Collaboration diagram for RouteLeakState:

Public Member Functions

 RouteLeakState (Agent *agent, VrfEntry *vrf)
 
void AddRoute (const AgentRoute *route)
 
void DeleteRoute (const AgentRoute *route, const std::set< const Peer * > &peer_list)
 
void set_dest_vrf (VrfEntry *vrf)
 
VrfEntrydest_vrf () const
 
std::set< const Peer * > & peer_list ()
 
- Public Member Functions inherited from DBState
virtual ~DBState ()
 

Private Member Functions

void AddIndirectRoute (const AgentRoute *route)
 
void AddInterfaceRoute (const AgentRoute *route, const AgentPath *path)
 
void AddReceiveRoute (const AgentRoute *route)
 
void AddCompositeRoute (const AgentRoute *route)
 
bool CanAdd (const InetUnicastRouteEntry *route)
 

Private Attributes

Agentagent_
 
VrfEntryRef dest_vrf_
 
std::set< const Peer * > peer_list_
 

Detailed Description

Definition at line 7 of file route_leak.h.

Constructor & Destructor Documentation

◆ RouteLeakState()

RouteLeakState::RouteLeakState ( Agent agent,
VrfEntry vrf 
)
inline

Definition at line 8 of file route_leak.h.

Member Function Documentation

◆ AddCompositeRoute()

void RouteLeakState::AddCompositeRoute ( const AgentRoute route)
private

Definition at line 155 of file route_leak.cc.

Here is the call graph for this function:

◆ AddIndirectRoute()

void RouteLeakState::AddIndirectRoute ( const AgentRoute route)
private

Definition at line 10 of file route_leak.cc.

Here is the call graph for this function:

◆ AddInterfaceRoute()

void RouteLeakState::AddInterfaceRoute ( const AgentRoute route,
const AgentPath path 
)
private

Definition at line 62 of file route_leak.cc.

Here is the call graph for this function:

◆ AddReceiveRoute()

void RouteLeakState::AddReceiveRoute ( const AgentRoute route)
private

Definition at line 165 of file route_leak.cc.

Here is the call graph for this function:

◆ AddRoute()

void RouteLeakState::AddRoute ( const AgentRoute route)

Definition at line 234 of file route_leak.cc.

Here is the call graph for this function:

◆ CanAdd()

bool RouteLeakState::CanAdd ( const InetUnicastRouteEntry route)
private

Definition at line 197 of file route_leak.cc.

Here is the call graph for this function:

◆ DeleteRoute()

void RouteLeakState::DeleteRoute ( const AgentRoute route,
const std::set< const Peer * > &  peer_list 
)

Definition at line 282 of file route_leak.cc.

Here is the call graph for this function:

◆ dest_vrf()

VrfEntry* RouteLeakState::dest_vrf ( ) const
inline

Definition at line 19 of file route_leak.h.

◆ peer_list()

std::set<const Peer *>& RouteLeakState::peer_list ( )
inline

Definition at line 23 of file route_leak.h.

◆ set_dest_vrf()

void RouteLeakState::set_dest_vrf ( VrfEntry vrf)
inline

Definition at line 15 of file route_leak.h.

Member Data Documentation

◆ agent_

Agent* RouteLeakState::agent_
private

Definition at line 33 of file route_leak.h.

◆ dest_vrf_

VrfEntryRef RouteLeakState::dest_vrf_
private

Definition at line 34 of file route_leak.h.

◆ peer_list_

std::set<const Peer *> RouteLeakState::peer_list_
private

Definition at line 35 of file route_leak.h.


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