#include <vnswif_listener_base.h>
|
| void | InterfaceNotify (DBTablePartBase *part, DBEntryBase *e) |
| |
| void | FabricRouteNotify (DBTablePartBase *part, DBEntryBase *e) |
| |
| void | VnNotify (DBTablePartBase *part, DBEntryBase *e) |
| |
| virtual int | CreateSocket ()=0 |
| |
| virtual void | SyncCurrentState ()=0 |
| |
| virtual void | RegisterAsyncReadHandler ()=0 |
| |
| virtual void | UpdateLinkLocalRoute (const Ip4Address &addr, uint8_t plen, bool del_rt)=0 |
| |
| bool | ProcessEvent (Event *re) |
| |
| virtual void | UpdateLinkLocalRouteAndCount (const Ip4Address &addr, uint8_t plen, bool del_rt) |
| |
| void | LinkLocalRouteFromLinkLocalEvent (Event *event) |
| |
| void | LinkLocalRouteFromRouteEvent (Event *event) |
| |
| void | AddLinkLocalRoutes () |
| |
| void | DelLinkLocalRoutes () |
| |
| void | AddIpamRoutes () |
| |
| void | SetSeen (const std::string &name, bool oper, uint32_t oper_idx) |
| |
| void | ResetSeen (const std::string &name, bool oper) |
| |
| void | Activate (const std::string &name, const HostInterfaceEntry *entry) |
| |
| void | DeActivate (const std::string &name, const HostInterfaceEntry *entry) |
| |
| void | SetLinkState (const std::string &name, bool link_up) |
| |
| bool | IsInterfaceActive (const HostInterfaceEntry *entry) |
| |
| void | HandleInterfaceEvent (const Event *event) |
| |
| void | SetAddress (const Event *event) |
| |
| void | ResetAddress (const Event *event) |
| |
| void | HandleAddressEvent (const Event *event) |
| |
| | DISALLOW_COPY_AND_ASSIGN (VnswInterfaceListenerBase) |
| |
Definition at line 33 of file vnswif_listener_base.h.
◆ HostInterfaceTable
◆ IpamSubnetMap
◆ LinkLocalAddressTable
◆ bond_intf_type
◆ VnswInterfaceListenerBase()
| VnswInterfaceListenerBase::VnswInterfaceListenerBase |
( |
Agent * |
agent | ) |
|
◆ ~VnswInterfaceListenerBase()
| VnswInterfaceListenerBase::~VnswInterfaceListenerBase |
( |
| ) |
|
|
virtual |
◆ Activate()
| void VnswInterfaceListenerBase::Activate |
( |
const std::string & |
name, |
|
|
const HostInterfaceEntry * |
entry |
|
) |
| |
|
protected |
◆ AddIpam()
| bool VnswInterfaceListenerBase::AddIpam |
( |
const Ip4Address & |
ip, |
|
|
uint8_t |
plen |
|
) |
| |
|
inline |
◆ AddIpamRoutes()
| void VnswInterfaceListenerBase::AddIpamRoutes |
( |
| ) |
|
|
protected |
◆ AddLinkLocalRoutes()
| void VnswInterfaceListenerBase::AddLinkLocalRoutes |
( |
| ) |
|
|
protected |
◆ agent()
| Agent* VnswInterfaceListenerBase::agent |
( |
| ) |
|
|
inline |
◆ CreateSocket()
| virtual int VnswInterfaceListenerBase::CreateSocket |
( |
| ) |
|
|
protectedpure virtual |
◆ DeActivate()
| void VnswInterfaceListenerBase::DeActivate |
( |
const std::string & |
name, |
|
|
const HostInterfaceEntry * |
entry |
|
) |
| |
|
protected |
◆ DelIpam()
| bool VnswInterfaceListenerBase::DelIpam |
( |
const Ip4Address & |
ip, |
|
|
uint8_t |
plen |
|
) |
| |
|
inline |
◆ DelLinkLocalRoutes()
| void VnswInterfaceListenerBase::DelLinkLocalRoutes |
( |
| ) |
|
|
protected |
◆ DISALLOW_COPY_AND_ASSIGN()
◆ Enqueue()
| void VnswInterfaceListenerBase::Enqueue |
( |
Event * |
event | ) |
|
◆ FabricRouteNotify()
◆ GetHostInterfaceCount()
| uint32_t VnswInterfaceListenerBase::GetHostInterfaceCount |
( |
| ) |
const |
|
inline |
◆ GetHostInterfaceEntry()
◆ HandleAddressEvent()
| void VnswInterfaceListenerBase::HandleAddressEvent |
( |
const Event * |
event | ) |
|
|
protected |
◆ HandleInterfaceEvent()
| void VnswInterfaceListenerBase::HandleInterfaceEvent |
( |
const Event * |
event | ) |
|
|
protected |
◆ Init()
| void VnswInterfaceListenerBase::Init |
( |
| ) |
|
◆ InterfaceNotify()
◆ IsHostLinkStateUp()
| bool VnswInterfaceListenerBase::IsHostLinkStateUp |
( |
const std::string & |
name | ) |
const |
|
inline |
◆ IsInterfaceActive()
◆ IsValidLinkLocalAddress()
| bool VnswInterfaceListenerBase::IsValidLinkLocalAddress |
( |
const Ip4Address & |
addr | ) |
const |
◆ LinkLocalRouteFromLinkLocalEvent()
| void VnswInterfaceListenerBase::LinkLocalRouteFromLinkLocalEvent |
( |
Event * |
event | ) |
|
|
protected |
◆ LinkLocalRouteFromRouteEvent()
| void VnswInterfaceListenerBase::LinkLocalRouteFromRouteEvent |
( |
Event * |
event | ) |
|
|
protected |
◆ ll_add_count()
| uint32_t VnswInterfaceListenerBase::ll_add_count |
( |
| ) |
const |
|
inline |
◆ ll_del_count()
| uint32_t VnswInterfaceListenerBase::ll_del_count |
( |
| ) |
const |
|
inline |
◆ ProcessEvent()
| bool VnswInterfaceListenerBase::ProcessEvent |
( |
Event * |
re | ) |
|
|
protected |
◆ RegisterAsyncReadHandler()
| virtual void VnswInterfaceListenerBase::RegisterAsyncReadHandler |
( |
| ) |
|
|
protectedpure virtual |
◆ ResetAddress()
| void VnswInterfaceListenerBase::ResetAddress |
( |
const Event * |
event | ) |
|
|
protected |
◆ ResetSeen()
| void VnswInterfaceListenerBase::ResetSeen |
( |
const std::string & |
name, |
|
|
bool |
oper |
|
) |
| |
|
protected |
◆ SetAddress()
| void VnswInterfaceListenerBase::SetAddress |
( |
const Event * |
event | ) |
|
|
protected |
◆ SetLinkState()
| void VnswInterfaceListenerBase::SetLinkState |
( |
const std::string & |
name, |
|
|
bool |
link_up |
|
) |
| |
|
protected |
◆ SetSeen()
| void VnswInterfaceListenerBase::SetSeen |
( |
const std::string & |
name, |
|
|
bool |
oper, |
|
|
uint32_t |
oper_idx |
|
) |
| |
|
protected |
◆ Shutdown()
| void VnswInterfaceListenerBase::Shutdown |
( |
void |
| ) |
|
◆ SyncCurrentState()
| virtual void VnswInterfaceListenerBase::SyncCurrentState |
( |
| ) |
|
|
protectedpure virtual |
◆ UpdateLinkLocalRoute()
| virtual void VnswInterfaceListenerBase::UpdateLinkLocalRoute |
( |
const Ip4Address & |
addr, |
|
|
uint8_t |
plen, |
|
|
bool |
del_rt |
|
) |
| |
|
protectedpure virtual |
◆ UpdateLinkLocalRouteAndCount()
| void VnswInterfaceListenerBase::UpdateLinkLocalRouteAndCount |
( |
const Ip4Address & |
addr, |
|
|
uint8_t |
plen, |
|
|
bool |
del_rt |
|
) |
| |
|
protectedvirtual |
◆ vhost_update_count()
| uint32_t VnswInterfaceListenerBase::vhost_update_count |
( |
| ) |
const |
|
inline |
◆ VnNotify()
◆ TestVnswIf
◆ VHostMultiHomeTest
| friend class VHostMultiHomeTest |
|
friend |
◆ agent_
| Agent* VnswInterfaceListenerBase::agent_ |
|
protected |
◆ fabric_listener_id_
◆ host_interface_table_
◆ intf_listener_id_
◆ ipam_subnet_
◆ kMaxBufferSize
| const uint32_t VnswInterfaceListenerBase::kMaxBufferSize = 4096 |
|
static |
◆ kVnswRtmProto
| const int VnswInterfaceListenerBase::kVnswRtmProto = 109 |
|
static |
◆ ll_add_count_
| uint32_t VnswInterfaceListenerBase::ll_add_count_ |
|
protected |
◆ ll_addr_table_
◆ ll_del_count_
| uint32_t VnswInterfaceListenerBase::ll_del_count_ |
|
protected |
◆ read_buf_
| uint8_t* VnswInterfaceListenerBase::read_buf_ |
|
protected |
◆ revent_queue_
◆ seqno_
| int VnswInterfaceListenerBase::seqno_ |
|
protected |
◆ tx_buf_
◆ vhost_intf_up_
| bool VnswInterfaceListenerBase::vhost_intf_up_ |
|
protected |
◆ vhost_update_count_
| uint32_t VnswInterfaceListenerBase::vhost_update_count_ |
|
protected |
◆ vn_listener_id_
The documentation for this class was generated from the following files: