OpenSDN source code
|
#include <ksync_vxlan_route.h>
Public Member Functions | |
KSyncVxlanFdbEntry (KSyncVxlanRouteObject *obj, const KSyncVxlanFdbEntry *entry) | |
KSyncVxlanFdbEntry (KSyncVxlanRouteObject *obj, const BridgeRouteEntry *route) | |
virtual | ~KSyncVxlanFdbEntry () |
virtual bool | CompareRoute (const KSyncVxlanRouteEntry &rhs) const |
virtual std::string | ToString () const |
virtual bool | Sync (DBEntry *e) |
virtual KSyncEntry * | UnresolvedReference () |
virtual bool | Add ()=0 |
virtual bool | Change ()=0 |
virtual bool | Delete ()=0 |
const MacAddress & | mac () const |
const KSyncVxlanBridgeEntry * | bridge () const |
const KSyncVxlanPortEntry * | port () const |
const Ip4Address & | tunnel_dest () const |
![]() | |
KSyncVxlanRouteEntry (KSyncVxlanRouteObject *obj, const KSyncVxlanRouteEntry *entry) | |
KSyncVxlanRouteEntry (KSyncVxlanRouteObject *obj, const AgentRoute *route) | |
virtual | ~KSyncVxlanRouteEntry () |
virtual bool | IsLess (const KSyncEntry &rhs) const |
KSyncDBObject * | GetObject () const |
uint32_t | vrf_id () const |
KSyncVxlanRouteObject * | ksync_object () const |
![]() | |
KSyncDBEntry () | |
KSyncDBEntry (uint32_t index) | |
virtual | ~KSyncDBEntry () |
void | SetDBEntry (DBEntry *db_entry) |
DBEntry * | GetDBEntry () |
![]() | |
std::string | StateString () const |
std::string | AckOperationString (KSyncEvent ack_event) const |
std::string | EventString (KSyncEvent event) const |
KSyncEntry () | |
KSyncEntry (uint32_t index) | |
virtual | ~KSyncEntry () |
void | Reset () |
void | Reset (uint32_t index) |
bool | operator< (const KSyncEntry &rhs) const |
virtual bool | ShouldReEvalBackReference () const |
bool | IsResolved () |
virtual bool | IsDataResolved () |
virtual void | Response () |
virtual bool | AllowDeleteStateComp () |
virtual void | ErrorHandler (int err, uint32_t seqno, KSyncEvent event) const |
virtual std::string | VrouterError (uint32_t error) const |
virtual bool | pre_alloc_rx_buffer () const |
virtual uint32_t | GetTableIndex () const |
virtual void | StaleTimerExpired () |
size_t | GetIndex () const |
KSyncState | GetState () const |
bool | del_add_pending () const |
uint32_t | GetRefCount () const |
bool | Seen () const |
bool | stale () const |
void | SetSeen () |
bool | IsDeleted () |
bool | IsActive () |
void | set_del_add_pending (bool pending) |
void | RecordTransition (KSyncState from, KSyncState to, KSyncEvent event) |
![]() | |
virtual | ~DBState () |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (KSyncVxlanFdbEntry) | |
Private Attributes | |
KSyncVxlanBridgeEntry * | bridge_ |
MacAddress | mac_ |
KSyncVxlanPortEntry * | port_ |
Ip4Address | tunnel_dest_ |
Additional Inherited Members | |
![]() | |
typedef std::list< DBEntry * > | DupEntryList |
![]() | |
enum | KSyncState { INIT, TEMP, ADD_DEFER, CHANGE_DEFER, IN_SYNC, SYNC_WAIT, NEED_SYNC, DEL_DEFER_SYNC, DEL_DEFER_REF, DEL_DEFER_DEL_ACK, DEL_ACK_WAIT, RENEW_WAIT, FREE_WAIT } |
enum | KSyncEvent { ADD_CHANGE_REQ, ADD_ACK, CHANGE_ACK, DEL_REQ, DEL_ADD_REQ, DEL_ACK, RE_EVAL, INT_PTR_REL, INVALID } |
typedef boost::intrusive_ptr < KSyncEntry > | KSyncEntryPtr |
![]() | |
static std::string | VrouterErrorToString (uint32_t error) |
![]() | |
static const size_t | kInvalidIndex = 0xFFFFFFFF |
static const int | kDefaultMsgSize = 512 |
![]() | |
void | SetIndex (size_t index) |
void | SetState (KSyncState state) |
Definition at line 118 of file ksync_vxlan_route.h.
KSyncVxlanFdbEntry::KSyncVxlanFdbEntry | ( | KSyncVxlanRouteObject * | obj, |
const KSyncVxlanFdbEntry * | entry | ||
) |
Definition at line 70 of file ksync_vxlan_route.cc.
KSyncVxlanFdbEntry::KSyncVxlanFdbEntry | ( | KSyncVxlanRouteObject * | obj, |
const BridgeRouteEntry * | route | ||
) |
Definition at line 76 of file ksync_vxlan_route.cc.
|
virtual |
Definition at line 82 of file ksync_vxlan_route.cc.
|
pure virtual |
Implements KSyncEntry.
Implemented in KSyncLinuxFdbEntry.
|
inline |
Definition at line 139 of file ksync_vxlan_route.h.
|
pure virtual |
Implements KSyncEntry.
Implemented in KSyncLinuxFdbEntry.
|
virtual |
Implements KSyncVxlanRouteEntry.
Definition at line 85 of file ksync_vxlan_route.cc.
|
pure virtual |
Implements KSyncEntry.
Implemented in KSyncLinuxFdbEntry.
|
private |
|
inline |
Definition at line 138 of file ksync_vxlan_route.h.
|
inline |
Definition at line 140 of file ksync_vxlan_route.h.
|
virtual |
Implements KSyncDBEntry.
Definition at line 97 of file ksync_vxlan_route.cc.
|
virtual |
Implements KSyncEntry.
Definition at line 91 of file ksync_vxlan_route.cc.
|
inline |
Definition at line 141 of file ksync_vxlan_route.h.
|
virtual |
Implements KSyncEntry.
Definition at line 174 of file ksync_vxlan_route.cc.
|
private |
Definition at line 143 of file ksync_vxlan_route.h.
|
private |
Definition at line 144 of file ksync_vxlan_route.h.
|
private |
Definition at line 145 of file ksync_vxlan_route.h.
|
private |
Definition at line 146 of file ksync_vxlan_route.h.