OpenSDN source code
ArpVrfState Struct Reference

#include <arp_proto.h>

Inheritance diagram for ArpVrfState:
Collaboration diagram for ArpVrfState:

Public Types

typedef std::map< ArpPathPreferenceStateKey, ArpPathPreferenceState *, ArpPathPreferenceCmpArpPathPreferenceStateMap
 
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

◆ ArpPathPreferenceStateMap

◆ ArpPathPreferenceStatePair

Constructor & Destructor Documentation

◆ ArpVrfState()

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::~ArpVrfState ( )

Definition at line 595 of file arp_proto.cc.

Member Function Documentation

◆ Delete()

void ArpVrfState::Delete ( )

Definition at line 508 of file arp_proto.cc.

Here is the call graph for this function:

◆ DeleteEvpnRouteState()

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

Definition at line 501 of file arp_proto.cc.

Here is the call graph for this function:

◆ DeleteRouteState()

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

Definition at line 496 of file arp_proto.cc.

Here is the call graph for this function:

◆ Erase()

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

Definition at line 560 of file arp_proto.cc.

◆ evpn_walk_completed()

bool ArpVrfState::evpn_walk_completed ( ) const
inline

Definition at line 363 of file arp_proto.h.

◆ EvpnRouteUpdate()

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

Definition at line 410 of file arp_proto.cc.

Here is the call graph for this function:

◆ Get()

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

Definition at line 569 of file arp_proto.cc.

◆ l3_walk_completed()

bool ArpVrfState::l3_walk_completed ( ) const
inline

Definition at line 359 of file arp_proto.h.

◆ Locate()

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:

◆ ManagedDelete()

void ArpVrfState::ManagedDelete ( )
inline

Definition at line 348 of file arp_proto.h.

◆ PreWalkDone()

bool ArpVrfState::PreWalkDone ( DBTableBase partition)

Definition at line 534 of file arp_proto.cc.

Here is the call graph for this function:

◆ RouteUpdate()

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

Definition at line 437 of file arp_proto.cc.

Here is the call graph for this function:

◆ WalkDone()

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

◆ ArpProto

friend class ArpProto
friend

Definition at line 382 of file arp_proto.h.

Member Data Documentation

◆ agent

Agent* ArpVrfState::agent

Definition at line 367 of file arp_proto.h.

◆ arp_path_preference_map_

ArpPathPreferenceStateMap ArpVrfState::arp_path_preference_map_

Definition at line 379 of file arp_proto.h.

◆ arp_proto

ArpProto* ArpVrfState::arp_proto

Definition at line 368 of file arp_proto.h.

◆ deleted

bool ArpVrfState::deleted

Definition at line 376 of file arp_proto.h.

◆ evpn_route_table_listener_id

DBTableBase::ListenerId ArpVrfState::evpn_route_table_listener_id

Definition at line 373 of file arp_proto.h.

◆ evpn_rt_table

AgentRouteTable* ArpVrfState::evpn_rt_table

Definition at line 371 of file arp_proto.h.

◆ evpn_table_delete_ref

LifetimeRef<ArpVrfState> ArpVrfState::evpn_table_delete_ref

Definition at line 375 of file arp_proto.h.

◆ evpn_walk_completed_

bool ArpVrfState::evpn_walk_completed_

Definition at line 381 of file arp_proto.h.

◆ evpn_walk_ref_

DBTable::DBTableWalkRef ArpVrfState::evpn_walk_ref_

Definition at line 377 of file arp_proto.h.

◆ l3_walk_completed_

bool ArpVrfState::l3_walk_completed_

Definition at line 380 of file arp_proto.h.

◆ managed_delete_walk_ref

DBTable::DBTableWalkRef ArpVrfState::managed_delete_walk_ref

Definition at line 378 of file arp_proto.h.

◆ route_table_listener_id

DBTableBase::ListenerId ArpVrfState::route_table_listener_id

Definition at line 372 of file arp_proto.h.

◆ rt_table

AgentRouteTable* ArpVrfState::rt_table

Definition at line 370 of file arp_proto.h.

◆ table_delete_ref

LifetimeRef<ArpVrfState> ArpVrfState::table_delete_ref

Definition at line 374 of file arp_proto.h.

◆ vrf

VrfEntry* ArpVrfState::vrf

Definition at line 369 of file arp_proto.h.


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