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

#include <linux_port.h>

Inheritance diagram for KSyncLinuxPortEntry:
Collaboration diagram for KSyncLinuxPortEntry:

Public Member Functions

 KSyncLinuxPortEntry (KSyncLinuxPortObject *obj, const Interface *intrface)
 
 KSyncLinuxPortEntry (KSyncVxlanPortObject *obj, const KSyncLinuxPortEntry *entry)
 
virtual ~KSyncLinuxPortEntry ()
 
bool Add ()
 
bool Change ()
 
bool Delete ()
 
- Public Member Functions inherited from KSyncVxlanPortEntry
 KSyncVxlanPortEntry (KSyncVxlanPortObject *obj, const KSyncVxlanPortEntry *entry)
 
 KSyncVxlanPortEntry (KSyncVxlanPortObject *obj, const Interface *intrface)
 
virtual ~KSyncVxlanPortEntry ()
 
KSyncDBObjectGetObject () const
 
virtual std::string ToString () const
 
virtual bool Sync (DBEntry *e)
 
virtual bool IsLess (const KSyncEntry &rhs) const
 
virtual KSyncEntryUnresolvedReference ()
 
Interface::Type type () const
 
const std::string & port_name () const
 
const KSyncVxlanBridgeEntrybridge () const
 
- Public Member Functions inherited from KSyncDBEntry
 KSyncDBEntry ()
 
 KSyncDBEntry (uint32_t index)
 
virtual ~KSyncDBEntry ()
 
void SetDBEntry (DBEntry *db_entry)
 
DBEntryGetDBEntry ()
 
- Public Member Functions inherited from KSyncEntry
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)
 
- Public Member Functions inherited from DBState
virtual ~DBState ()
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (KSyncLinuxPortEntry)
 

Private Attributes

const KSyncLinuxBridgeEntryold_bridge_
 

Additional Inherited Members

- Public Types inherited from KSyncDBEntry
typedef std::list< DBEntry * > DupEntryList
 
- Public Types inherited from KSyncEntry
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 Public Member Functions inherited from KSyncEntry
static std::string VrouterErrorToString (uint32_t error)
 
- Static Public Attributes inherited from KSyncEntry
static const size_t kInvalidIndex = 0xFFFFFFFF
 
static const int kDefaultMsgSize = 512
 
- Protected Member Functions inherited from KSyncEntry
void SetIndex (size_t index)
 
void SetState (KSyncState state)
 

Detailed Description

Definition at line 30 of file linux_port.h.

Constructor & Destructor Documentation

KSyncLinuxPortEntry::KSyncLinuxPortEntry ( KSyncLinuxPortObject obj,
const Interface intrface 
)

Definition at line 141 of file linux_vxlan.cc.

KSyncLinuxPortEntry::KSyncLinuxPortEntry ( KSyncVxlanPortObject obj,
const KSyncLinuxPortEntry entry 
)

Definition at line 146 of file linux_vxlan.cc.

virtual KSyncLinuxPortEntry::~KSyncLinuxPortEntry ( )
inlinevirtual

Definition at line 35 of file linux_port.h.

Member Function Documentation

bool KSyncLinuxPortEntry::Add ( )
virtual

Implements KSyncVxlanPortEntry.

Definition at line 151 of file linux_vxlan.cc.

Here is the call graph for this function:

bool KSyncLinuxPortEntry::Change ( )
virtual

Implements KSyncVxlanPortEntry.

Definition at line 174 of file linux_vxlan.cc.

Here is the call graph for this function:

bool KSyncLinuxPortEntry::Delete ( )
virtual

Implements KSyncVxlanPortEntry.

Definition at line 178 of file linux_vxlan.cc.

Here is the call graph for this function:

KSyncLinuxPortEntry::DISALLOW_COPY_AND_ASSIGN ( KSyncLinuxPortEntry  )
private

Member Data Documentation

const KSyncLinuxBridgeEntry* KSyncLinuxPortEntry::old_bridge_
private

Definition at line 45 of file linux_port.h.


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