#include <interface_ksync.h>
|
| | InterfaceKSyncEntry (InterfaceKSyncObject *obj, const InterfaceKSyncEntry *entry, uint32_t index) |
| |
| | InterfaceKSyncEntry (InterfaceKSyncObject *obj, const Interface *intf) |
| |
| virtual | ~InterfaceKSyncEntry () |
| |
| const MacAddress & | mac () const |
| |
| const MacAddress & | smac () const |
| |
| uint32_t | interface_id () const |
| |
| const string & | interface_name () const |
| |
| bool | has_service_vlan () const |
| |
| bool | no_arp () const |
| |
| PhysicalInterface::EncapType | encap_type () const |
| |
| KSyncDBObject * | GetObject () const |
| |
| virtual bool | Sync (DBEntry *e) |
| |
| virtual bool | IsLess (const KSyncEntry &rhs) const |
| |
| virtual std::string | ToString () const |
| |
| virtual int | AddMsg (char *buf, int buf_len) |
| |
| virtual int | ChangeMsg (char *buf, int buf_len) |
| |
| virtual int | DeleteMsg (char *buf, int buf_len) |
| |
| virtual KSyncEntry * | UnresolvedReference () |
| |
| void | FillObjectLog (sandesh_op::type op, KSyncIntfInfo &info) const |
| |
| bool | drop_new_flows () const |
| |
| bool | dhcp_enable () const |
| |
| bool | dhcp_enable_v6 () const |
| |
| bool | layer3_forwarding () const |
| |
| bool | bridging () const |
| |
| bool | pbb_interface () const |
| |
| const MacAddress & | pbb_mac () const |
| |
| int | MsgLen () |
| |
| bool | KSyncEntrySandesh (Sandesh *resp) |
| |
| | 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 33 of file interface_ksync.h.
◆ InterfaceKSyncEntry() [1/2]
◆ InterfaceKSyncEntry() [2/2]
◆ ~InterfaceKSyncEntry()
| InterfaceKSyncEntry::~InterfaceKSyncEntry |
( |
| ) |
|
|
virtual |
◆ AddMsg()
| int InterfaceKSyncEntry::AddMsg |
( |
char * |
buf, |
|
|
int |
buf_len |
|
) |
| |
|
virtual |
◆ bridging()
| bool InterfaceKSyncEntry::bridging |
( |
| ) |
const |
|
inline |
◆ ChangeMsg()
| int InterfaceKSyncEntry::ChangeMsg |
( |
char * |
buf, |
|
|
int |
buf_len |
|
) |
| |
|
virtual |
◆ DeleteMsg()
| int InterfaceKSyncEntry::DeleteMsg |
( |
char * |
buf, |
|
|
int |
buf_len |
|
) |
| |
|
virtual |
◆ dhcp_enable()
| bool InterfaceKSyncEntry::dhcp_enable |
( |
| ) |
const |
|
inline |
◆ dhcp_enable_v6()
| bool InterfaceKSyncEntry::dhcp_enable_v6 |
( |
| ) |
const |
|
inline |
◆ DISALLOW_COPY_AND_ASSIGN()
◆ drop_new_flows()
| bool InterfaceKSyncEntry::drop_new_flows |
( |
| ) |
const |
|
inline |
◆ encap_type()
◆ Encode()
| int InterfaceKSyncEntry::Encode |
( |
sandesh_op::type |
op, |
|
|
char * |
buf, |
|
|
int |
buf_len |
|
) |
| |
|
private |
◆ FillObjectLog()
| void InterfaceKSyncEntry::FillObjectLog |
( |
sandesh_op::type |
op, |
|
|
KSyncIntfInfo & |
info |
|
) |
| const |
◆ GetObject()
◆ has_service_vlan()
| bool InterfaceKSyncEntry::has_service_vlan |
( |
| ) |
const |
|
inline |
◆ interface_id()
| uint32_t InterfaceKSyncEntry::interface_id |
( |
| ) |
const |
|
inline |
◆ interface_name()
| const string& InterfaceKSyncEntry::interface_name |
( |
| ) |
const |
|
inline |
◆ IsLess()
| bool InterfaceKSyncEntry::IsLess |
( |
const KSyncEntry & |
rhs | ) |
const |
|
virtual |
◆ KSyncEntrySandesh()
| bool InterfaceKSyncEntry::KSyncEntrySandesh |
( |
Sandesh * |
resp | ) |
|
◆ layer3_forwarding()
| bool InterfaceKSyncEntry::layer3_forwarding |
( |
| ) |
const |
|
inline |
◆ mac()
| const MacAddress& InterfaceKSyncEntry::mac |
( |
void |
| ) |
const |
|
inline |
◆ MsgLen()
| int InterfaceKSyncEntry::MsgLen |
( |
| ) |
|
|
inlinevirtual |
◆ no_arp()
| bool InterfaceKSyncEntry::no_arp |
( |
| ) |
const |
|
inline |
◆ pbb_interface()
| bool InterfaceKSyncEntry::pbb_interface |
( |
| ) |
const |
|
inline |
◆ pbb_mac()
| const MacAddress& InterfaceKSyncEntry::pbb_mac |
( |
| ) |
const |
|
inline |
◆ SetKsyncItfSandeshData()
| void InterfaceKSyncEntry::SetKsyncItfSandeshData |
( |
KSyncItfSandeshData * |
data | ) |
const |
|
private |
◆ smac()
| const MacAddress& InterfaceKSyncEntry::smac |
( |
| ) |
const |
|
inline |
◆ Sync()
| bool InterfaceKSyncEntry::Sync |
( |
DBEntry * |
e | ) |
|
|
virtual |
◆ ToString()
| std::string InterfaceKSyncEntry::ToString |
( |
| ) |
const |
|
virtual |
◆ UnresolvedReference()
| KSyncEntry * InterfaceKSyncEntry::UnresolvedReference |
( |
| ) |
|
|
virtual |
◆ InterfaceKSyncObject
◆ aap_mac_list_
| std::set<MacAddress> InterfaceKSyncEntry::aap_mac_list_ |
|
private |
◆ analyzer_name_
| string InterfaceKSyncEntry::analyzer_name_ |
|
private |
◆ bridging_
| bool InterfaceKSyncEntry::bridging_ |
|
private |
◆ dhcp_enable_
| bool InterfaceKSyncEntry::dhcp_enable_ |
|
private |
◆ dhcp_enable_v6_
| bool InterfaceKSyncEntry::dhcp_enable_v6_ |
|
private |
◆ display_name_
| std::string InterfaceKSyncEntry::display_name_ |
|
private |
◆ drop_new_flows_
| bool InterfaceKSyncEntry::drop_new_flows_ |
|
private |
◆ encap_type_
◆ etree_leaf_
| bool InterfaceKSyncEntry::etree_leaf_ |
|
private |
◆ fat_flow_exclude_list_
◆ fat_flow_list_
◆ fd_
| uint32_t InterfaceKSyncEntry::fd_ |
|
private |
◆ flood_unknown_unicast_
| bool InterfaceKSyncEntry::flood_unknown_unicast_ |
|
private |
◆ flow_key_nh_id_
| uint32_t InterfaceKSyncEntry::flow_key_nh_id_ |
|
private |
◆ has_service_vlan_
| bool InterfaceKSyncEntry::has_service_vlan_ |
|
private |
◆ hbs_intf_type_
◆ hc_active_
| bool InterfaceKSyncEntry::hc_active_ |
|
private |
◆ igmp_enable_
| bool InterfaceKSyncEntry::igmp_enable_ |
|
private |
◆ interface_id_
| uint32_t InterfaceKSyncEntry::interface_id_ |
|
private |
◆ interface_name_
| string InterfaceKSyncEntry::interface_name_ |
|
private |
◆ ip_
| uint32_t InterfaceKSyncEntry::ip_ |
|
private |
◆ ipv4_active_
| bool InterfaceKSyncEntry::ipv4_active_ |
|
private |
◆ isid_
| uint32_t InterfaceKSyncEntry::isid_ |
|
private |
◆ kDefaultInterfaceMsgSize
| const int InterfaceKSyncEntry::kDefaultInterfaceMsgSize = 2048 |
|
static |
◆ ksync_obj_
◆ l2_active_
| bool InterfaceKSyncEntry::l2_active_ |
|
private |
◆ layer3_forwarding_
| bool InterfaceKSyncEntry::layer3_forwarding_ |
|
private |
◆ learning_enabled_
| bool InterfaceKSyncEntry::learning_enabled_ |
|
private |
◆ mac_
◆ mac_ip_learning_enable_
| bool InterfaceKSyncEntry::mac_ip_learning_enable_ |
|
private |
◆ metadata_ip_active_
| bool InterfaceKSyncEntry::metadata_ip_active_ |
|
private |
◆ metadata_l2_active_
| bool InterfaceKSyncEntry::metadata_l2_active_ |
|
private |
◆ mirror_direction_
◆ multicast_vrf_id_
| uint32_t InterfaceKSyncEntry::multicast_vrf_id_ |
|
private |
◆ network_id_
| int InterfaceKSyncEntry::network_id_ |
|
private |
◆ no_arp_
| bool InterfaceKSyncEntry::no_arp_ |
|
private |
◆ os_guid_
◆ os_index_
| size_t InterfaceKSyncEntry::os_index_ |
|
private |
◆ parent_
◆ pbb_cmac_vrf_
| uint32_t InterfaceKSyncEntry::pbb_cmac_vrf_ |
|
private |
◆ pbb_interface_
| bool InterfaceKSyncEntry::pbb_interface_ |
|
private |
◆ pbb_mac_
◆ persistent_
| bool InterfaceKSyncEntry::persistent_ |
|
private |
◆ policy_enabled_
| bool InterfaceKSyncEntry::policy_enabled_ |
|
private |
◆ primary_ip6_
◆ proxy_arp_mode_
◆ qos_config_
◆ rx_vlan_id_
| uint16_t InterfaceKSyncEntry::rx_vlan_id_ |
|
private |
◆ smac_
◆ sub_type_
◆ subtype_
◆ transport_
◆ tx_vlan_id_
| uint16_t InterfaceKSyncEntry::tx_vlan_id_ |
|
private |
◆ type_
◆ vhostuser_mode_
| uint8_t InterfaceKSyncEntry::vhostuser_mode_ |
|
private |
◆ vmi_device_type_
◆ vmi_type_
◆ vrf_id_
| uint32_t InterfaceKSyncEntry::vrf_id_ |
|
private |
◆ xconnect_
◆ xconnect_list_
The documentation for this class was generated from the following files: