#include <nexthop_ksync.h>
|
| NHKSyncEntry (NHKSyncObject *obj, const NHKSyncEntry *entry, uint32_t index) |
|
| NHKSyncEntry (NHKSyncObject *obj, const NextHop *nh) |
|
virtual | ~NHKSyncEntry () |
|
const NextHop * | nh () |
|
NextHop::Type | type () const |
|
InterfaceKSyncEntry * | interface () const |
|
std::vector< KSyncEntryPtr > | interface_list () const |
|
std::vector< int32_t > | encap_valid_list () const |
|
InterfaceKSyncEntry * | crypt_interface () const |
|
KSyncDBObject * | GetObject () const |
|
virtual bool | IsLess (const KSyncEntry &rhs) const |
|
virtual std::string | ToString () const |
|
virtual KSyncEntry * | UnresolvedReference () |
|
virtual bool | Sync (DBEntry *e) |
|
virtual int | AddMsg (char *buf, int buf_len) |
|
virtual int | ChangeMsg (char *buf, int buf_len) |
|
virtual int | DeleteMsg (char *buf, int buf_len) |
|
void | FillObjectLog (sandesh_op::type op, KSyncNhInfo &info) const |
|
uint32_t | nh_id () const |
|
void | SetEncap (InterfaceKSyncEntry *if_ksync, std::vector< int8_t > &encap, const int32_t index=-1) |
|
bool | is_bridge () const |
|
bool | is_vxlan_routing () const |
|
int | MsgLen () |
|
uint8_t | SetEcmpFieldsToUse () |
|
bool | KSyncEntrySandesh (Sandesh *resp) |
|
COMPOSITETYPE | CompositeType () const |
|
| KSyncNetlinkDBEntry () |
|
| KSyncNetlinkDBEntry (uint32_t index) |
|
virtual | ~KSyncNetlinkDBEntry () |
|
bool | Add () |
|
bool | Change () |
|
bool | Delete () |
|
| 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 () |
|
|
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) |
|
void | SetIndex (size_t index) |
|
void | SetState (KSyncState state) |
|
Definition at line 25 of file nexthop_ksync.h.
◆ KSyncComponentNHList
◆ NHKSyncEntry() [1/2]
◆ NHKSyncEntry() [2/2]
◆ ~NHKSyncEntry()
NHKSyncEntry::~NHKSyncEntry |
( |
| ) |
|
|
virtual |
◆ AddMsg()
int NHKSyncEntry::AddMsg |
( |
char * |
buf, |
|
|
int |
buf_len |
|
) |
| |
|
virtual |
◆ ChangeMsg()
int NHKSyncEntry::ChangeMsg |
( |
char * |
buf, |
|
|
int |
buf_len |
|
) |
| |
|
virtual |
◆ CompositeType()
◆ crypt_interface()
◆ DeleteMsg()
int NHKSyncEntry::DeleteMsg |
( |
char * |
buf, |
|
|
int |
buf_len |
|
) |
| |
|
virtual |
◆ DISALLOW_COPY_AND_ASSIGN()
◆ encap_valid_list()
std::vector<int32_t> NHKSyncEntry::encap_valid_list |
( |
| ) |
const |
|
inline |
◆ Encode()
◆ FillObjectLog()
void NHKSyncEntry::FillObjectLog |
( |
sandesh_op::type |
op, |
|
|
KSyncNhInfo & |
info |
|
) |
| const |
◆ GetObject()
◆ interface()
◆ interface_list()
std::vector<KSyncEntryPtr> NHKSyncEntry::interface_list |
( |
| ) |
const |
|
inline |
◆ is_bridge()
bool NHKSyncEntry::is_bridge |
( |
| ) |
const |
|
inline |
◆ is_vxlan_routing()
bool NHKSyncEntry::is_vxlan_routing |
( |
| ) |
const |
|
inline |
◆ IsLess()
bool NHKSyncEntry::IsLess |
( |
const KSyncEntry & |
rhs | ) |
const |
|
virtual |
◆ KSyncEntrySandesh()
bool NHKSyncEntry::KSyncEntrySandesh |
( |
Sandesh * |
resp | ) |
|
◆ MsgLen()
int NHKSyncEntry::MsgLen |
( |
| ) |
|
|
inlinevirtual |
◆ nh()
const NextHop* NHKSyncEntry::nh |
( |
| ) |
|
|
inline |
◆ nh_id()
uint32_t NHKSyncEntry::nh_id |
( |
| ) |
const |
|
inline |
◆ SetEcmpFieldsToUse()
uint8_t NHKSyncEntry::SetEcmpFieldsToUse |
( |
| ) |
|
◆ SetEncap()
void NHKSyncEntry::SetEncap |
( |
InterfaceKSyncEntry * |
if_ksync, |
|
|
std::vector< int8_t > & |
encap, |
|
|
const int32_t |
index = -1 |
|
) |
| |
◆ SetKSyncNhListSandeshData()
void NHKSyncEntry::SetKSyncNhListSandeshData |
( |
KSyncNhListSandeshData * |
data | ) |
const |
|
private |
◆ Sync()
bool NHKSyncEntry::Sync |
( |
DBEntry * |
e | ) |
|
|
virtual |
◆ ToString()
std::string NHKSyncEntry::ToString |
( |
| ) |
const |
|
virtual |
◆ type()
◆ UnresolvedReference()
KSyncEntry * NHKSyncEntry::UnresolvedReference |
( |
| ) |
|
|
virtual |
◆ bridge_nh_
bool NHKSyncEntry::bridge_nh_ |
|
private |
◆ comp_type_
◆ component_nh_key_list_
◆ component_nh_list_
◆ crypt_
bool NHKSyncEntry::crypt_ |
|
private |
◆ crypt_interface_
◆ crypt_path_available_
bool NHKSyncEntry::crypt_path_available_ |
|
private |
◆ defer_
bool NHKSyncEntry::defer_ |
|
private |
◆ dip_
◆ dmac_
◆ dmac_list_
◆ dport_
uint16_t NHKSyncEntry::dport_ |
|
private |
◆ ecmp_hash_fieds_
◆ encap_valid_list_
std::vector<int32_t> NHKSyncEntry::encap_valid_list_ |
|
private |
◆ etree_leaf_
bool NHKSyncEntry::etree_leaf_ |
|
private |
◆ flood_unknown_unicast_
bool NHKSyncEntry::flood_unknown_unicast_ |
|
private |
◆ interface_
◆ interface_list_
◆ is_bridge_
bool NHKSyncEntry::is_bridge_ |
|
private |
◆ is_local_ecmp_nh_
bool NHKSyncEntry::is_local_ecmp_nh_ |
|
private |
◆ is_mcast_nh_
bool NHKSyncEntry::is_mcast_nh_ |
|
private |
◆ is_vxlan_routing_
bool NHKSyncEntry::is_vxlan_routing_ |
|
private |
◆ isid_
uint32_t NHKSyncEntry::isid_ |
|
private |
◆ kDefaultNhMsgSize
const int NHKSyncEntry::kDefaultNhMsgSize = 4096 |
|
static |
◆ ksync_obj_
◆ label_
uint32_t NHKSyncEntry::label_ |
|
private |
◆ layer2_control_word_
bool NHKSyncEntry::layer2_control_word_ |
|
private |
◆ learning_enabled_
bool NHKSyncEntry::learning_enabled_ |
|
private |
◆ MAX_VR_PHY_INTF
const int NHKSyncEntry::MAX_VR_PHY_INTF = 3 |
|
static |
◆ need_pbb_tunnel_
bool NHKSyncEntry::need_pbb_tunnel_ |
|
private |
◆ nh_
◆ nh_id_
uint32_t NHKSyncEntry::nh_id_ |
|
private |
◆ pbb_child_nh_
◆ pbb_label_
uint32_t NHKSyncEntry::pbb_label_ |
|
private |
◆ policy_
bool NHKSyncEntry::policy_ |
|
private |
◆ prefix_len_
uint8_t NHKSyncEntry::prefix_len_ |
|
private |
◆ rewrite_dmac_
◆ sip_
◆ smac_
◆ sport_
uint16_t NHKSyncEntry::sport_ |
|
private |
◆ transport_tunnel_type_
◆ tunnel_type_
◆ type_
◆ valid_
bool NHKSyncEntry::valid_ |
|
private |
◆ validate_mcast_src_
bool NHKSyncEntry::validate_mcast_src_ |
|
private |
◆ vlan_tag_
uint16_t NHKSyncEntry::vlan_tag_ |
|
private |
◆ vrf_id_
uint32_t NHKSyncEntry::vrf_id_ |
|
private |
The documentation for this class was generated from the following files: