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

#include <arp_proto.h>

Inheritance diagram for ArpVrfState:
Collaboration diagram for ArpVrfState:

Public Types

typedef std::map
< ArpPathPreferenceStateKey,
ArpPathPreferenceState
*, ArpPathPreferenceCmp
ArpPathPreferenceStateMap
 
typedef std::pair
< ArpPathPreferenceStateKey,
ArpPathPreferenceState * > 
ArpPathPreferenceStatePair
 

Public Member Functions

 ArpVrfState (Agent *agent, ArpProto *proto, VrfEntry *vrf, AgentRouteTable *table, AgentRouteTable *evpn_table)
 
 ~ArpVrfState ()
 
void RouteUpdate (DBTablePartBase *part, DBEntryBase *entry)
 
void EvpnRouteUpdate (DBTablePartBase *part, DBEntryBase *entry)
 
void ManagedDelete ()
 
void Delete ()
 
bool DeleteRouteState (DBTablePartBase *part, DBEntryBase *entry)
 
bool DeleteEvpnRouteState (DBTablePartBase *part, DBEntryBase *entry)
 
bool PreWalkDone (DBTableBase *partition)
 
ArpPathPreferenceStateLocate (const IpAddress &ip, uint8_t plen)
 
void Erase (const IpAddress &ip, uint8_t plen)
 
ArpPathPreferenceStateGet (const IpAddress ip, uint8_t plen=32)
 
bool l3_walk_completed () const
 
bool evpn_walk_completed () const
 
- Public Member Functions inherited from DBState
virtual ~DBState ()
 

Static Public Member Functions

static void WalkDone (DBTableBase *partition, ArpVrfState *state)
 

Public Attributes

Agentagent
 
ArpProtoarp_proto
 
VrfEntryvrf
 
AgentRouteTablert_table
 
AgentRouteTableevpn_rt_table
 
DBTableBase::ListenerId route_table_listener_id
 
DBTableBase::ListenerId evpn_route_table_listener_id
 
LifetimeRef< ArpVrfStatetable_delete_ref
 
LifetimeRef< ArpVrfStateevpn_table_delete_ref
 
bool deleted
 
DBTable::DBTableWalkRef evpn_walk_ref_
 
DBTable::DBTableWalkRef managed_delete_walk_ref
 
ArpPathPreferenceStateMap arp_path_preference_map_
 
bool l3_walk_completed_
 
bool evpn_walk_completed_
 

Friends

class ArpProto
 

Detailed Description

Definition at line 336 of file arp_proto.h.

Member Typedef Documentation

Constructor & Destructor Documentation

ArpVrfState::ArpVrfState ( Agent agent,
ArpProto proto,
VrfEntry vrf,
AgentRouteTable table,
AgentRouteTable evpn_table 
)

Definition at line 578 of file arp_proto.cc.

Here is the call graph for this function:

ArpVrfState::~ArpVrfState ( )

Definition at line 595 of file arp_proto.cc.

Member Function Documentation

void ArpVrfState::Delete ( )

Definition at line 508 of file arp_proto.cc.

Here is the call graph for this function:

bool ArpVrfState::DeleteEvpnRouteState ( DBTablePartBase part,
DBEntryBase entry 
)

Definition at line 501 of file arp_proto.cc.

Here is the call graph for this function:

bool ArpVrfState::DeleteRouteState ( DBTablePartBase part,
DBEntryBase entry 
)

Definition at line 496 of file arp_proto.cc.

Here is the call graph for this function:

void ArpVrfState::Erase ( const IpAddress ip,
uint8_t  plen 
)

Definition at line 560 of file arp_proto.cc.

bool ArpVrfState::evpn_walk_completed ( ) const
inline

Definition at line 363 of file arp_proto.h.

void ArpVrfState::EvpnRouteUpdate ( DBTablePartBase part,
DBEntryBase entry 
)

Definition at line 410 of file arp_proto.cc.

Here is the call graph for this function:

ArpPathPreferenceState * ArpVrfState::Get ( const IpAddress  ip,
uint8_t  plen = 32 
)

Definition at line 569 of file arp_proto.cc.

bool ArpVrfState::l3_walk_completed ( ) const
inline

Definition at line 359 of file arp_proto.h.

ArpPathPreferenceState * ArpVrfState::Locate ( const IpAddress ip,
uint8_t  plen 
)

Definition at line 547 of file arp_proto.cc.

Here is the call graph for this function:

void ArpVrfState::ManagedDelete ( )
inline

Definition at line 348 of file arp_proto.h.

bool ArpVrfState::PreWalkDone ( DBTableBase partition)

Definition at line 534 of file arp_proto.cc.

Here is the call graph for this function:

void ArpVrfState::RouteUpdate ( DBTablePartBase part,
DBEntryBase entry 
)

Definition at line 437 of file arp_proto.cc.

Here is the call graph for this function:

void ArpVrfState::WalkDone ( DBTableBase partition,
ArpVrfState state 
)
static

Definition at line 518 of file arp_proto.cc.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class ArpProto
friend

Definition at line 382 of file arp_proto.h.

Member Data Documentation

Agent* ArpVrfState::agent

Definition at line 367 of file arp_proto.h.

ArpPathPreferenceStateMap ArpVrfState::arp_path_preference_map_

Definition at line 379 of file arp_proto.h.

ArpProto* ArpVrfState::arp_proto

Definition at line 368 of file arp_proto.h.

bool ArpVrfState::deleted

Definition at line 376 of file arp_proto.h.

DBTableBase::ListenerId ArpVrfState::evpn_route_table_listener_id

Definition at line 373 of file arp_proto.h.

AgentRouteTable* ArpVrfState::evpn_rt_table

Definition at line 371 of file arp_proto.h.

LifetimeRef<ArpVrfState> ArpVrfState::evpn_table_delete_ref

Definition at line 375 of file arp_proto.h.

bool ArpVrfState::evpn_walk_completed_

Definition at line 381 of file arp_proto.h.

DBTable::DBTableWalkRef ArpVrfState::evpn_walk_ref_

Definition at line 377 of file arp_proto.h.

bool ArpVrfState::l3_walk_completed_

Definition at line 380 of file arp_proto.h.

DBTable::DBTableWalkRef ArpVrfState::managed_delete_walk_ref

Definition at line 378 of file arp_proto.h.

DBTableBase::ListenerId ArpVrfState::route_table_listener_id

Definition at line 372 of file arp_proto.h.

AgentRouteTable* ArpVrfState::rt_table

Definition at line 370 of file arp_proto.h.

LifetimeRef<ArpVrfState> ArpVrfState::table_delete_ref

Definition at line 374 of file arp_proto.h.

VrfEntry* ArpVrfState::vrf

Definition at line 369 of file arp_proto.h.


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