OpenSDN source code
|
#include <arp_proto.h>
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) |
ArpPathPreferenceState * | Locate (const IpAddress &ip, uint8_t plen) |
void | Erase (const IpAddress &ip, uint8_t plen) |
ArpPathPreferenceState * | Get (const IpAddress ip, uint8_t plen=32) |
bool | l3_walk_completed () const |
bool | evpn_walk_completed () const |
![]() | |
virtual | ~DBState () |
Static Public Member Functions | |
static void | WalkDone (DBTableBase *partition, ArpVrfState *state) |
Friends | |
class | ArpProto |
Definition at line 336 of file arp_proto.h.
typedef std::map<ArpPathPreferenceStateKey, ArpPathPreferenceState*, ArpPathPreferenceCmp> ArpVrfState::ArpPathPreferenceStateMap |
Definition at line 340 of file arp_proto.h.
typedef std::pair<ArpPathPreferenceStateKey, ArpPathPreferenceState*> ArpVrfState::ArpPathPreferenceStatePair |
Definition at line 342 of file arp_proto.h.
ArpVrfState::ArpVrfState | ( | Agent * | agent, |
ArpProto * | proto, | ||
VrfEntry * | vrf, | ||
AgentRouteTable * | table, | ||
AgentRouteTable * | evpn_table | ||
) |
ArpVrfState::~ArpVrfState | ( | ) |
Definition at line 595 of file arp_proto.cc.
void ArpVrfState::Delete | ( | ) |
bool ArpVrfState::DeleteEvpnRouteState | ( | DBTablePartBase * | part, |
DBEntryBase * | entry | ||
) |
bool ArpVrfState::DeleteRouteState | ( | DBTablePartBase * | part, |
DBEntryBase * | entry | ||
) |
void ArpVrfState::Erase | ( | const IpAddress & | ip, |
uint8_t | plen | ||
) |
Definition at line 560 of file arp_proto.cc.
|
inline |
Definition at line 363 of file arp_proto.h.
void ArpVrfState::EvpnRouteUpdate | ( | DBTablePartBase * | part, |
DBEntryBase * | entry | ||
) |
ArpPathPreferenceState * ArpVrfState::Get | ( | const IpAddress | ip, |
uint8_t | plen = 32 |
||
) |
Definition at line 569 of file arp_proto.cc.
|
inline |
Definition at line 359 of file arp_proto.h.
ArpPathPreferenceState * ArpVrfState::Locate | ( | const IpAddress & | ip, |
uint8_t | plen | ||
) |
|
inline |
Definition at line 348 of file arp_proto.h.
bool ArpVrfState::PreWalkDone | ( | DBTableBase * | partition | ) |
void ArpVrfState::RouteUpdate | ( | DBTablePartBase * | part, |
DBEntryBase * | entry | ||
) |
|
static |
|
friend |
Definition at line 382 of file arp_proto.h.
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.