#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.
VnswInterfaceListenerBase::VnswInterfaceListenerBase |
( |
Agent * |
agent | ) |
|
VnswInterfaceListenerBase::~VnswInterfaceListenerBase |
( |
| ) |
|
|
virtual |
void VnswInterfaceListenerBase::Activate |
( |
const std::string & |
name, |
|
|
const HostInterfaceEntry * |
entry |
|
) |
| |
|
protected |
bool VnswInterfaceListenerBase::AddIpam |
( |
const Ip4Address & |
ip, |
|
|
uint8_t |
plen |
|
) |
| |
|
inline |
void VnswInterfaceListenerBase::AddIpamRoutes |
( |
| ) |
|
|
protected |
void VnswInterfaceListenerBase::AddLinkLocalRoutes |
( |
| ) |
|
|
protected |
Agent* VnswInterfaceListenerBase::agent |
( |
| ) |
|
|
inline |
virtual int VnswInterfaceListenerBase::CreateSocket |
( |
| ) |
|
|
protectedpure virtual |
void VnswInterfaceListenerBase::DeActivate |
( |
const std::string & |
name, |
|
|
const HostInterfaceEntry * |
entry |
|
) |
| |
|
protected |
bool VnswInterfaceListenerBase::DelIpam |
( |
const Ip4Address & |
ip, |
|
|
uint8_t |
plen |
|
) |
| |
|
inline |
void VnswInterfaceListenerBase::DelLinkLocalRoutes |
( |
| ) |
|
|
protected |
void VnswInterfaceListenerBase::Enqueue |
( |
Event * |
event | ) |
|
uint32_t VnswInterfaceListenerBase::GetHostInterfaceCount |
( |
| ) |
const |
|
inline |
void VnswInterfaceListenerBase::HandleAddressEvent |
( |
const Event * |
event | ) |
|
|
protected |
void VnswInterfaceListenerBase::HandleInterfaceEvent |
( |
const Event * |
event | ) |
|
|
protected |
void VnswInterfaceListenerBase::Init |
( |
| ) |
|
bool VnswInterfaceListenerBase::IsHostLinkStateUp |
( |
const std::string & |
name | ) |
const |
|
inline |
bool VnswInterfaceListenerBase::IsValidLinkLocalAddress |
( |
const Ip4Address & |
addr | ) |
const |
void VnswInterfaceListenerBase::LinkLocalRouteFromLinkLocalEvent |
( |
Event * |
event | ) |
|
|
protected |
void VnswInterfaceListenerBase::LinkLocalRouteFromRouteEvent |
( |
Event * |
event | ) |
|
|
protected |
uint32_t VnswInterfaceListenerBase::ll_add_count |
( |
| ) |
const |
|
inline |
uint32_t VnswInterfaceListenerBase::ll_del_count |
( |
| ) |
const |
|
inline |
bool VnswInterfaceListenerBase::ProcessEvent |
( |
Event * |
re | ) |
|
|
protected |
virtual void VnswInterfaceListenerBase::RegisterAsyncReadHandler |
( |
| ) |
|
|
protectedpure virtual |
void VnswInterfaceListenerBase::ResetAddress |
( |
const Event * |
event | ) |
|
|
protected |
void VnswInterfaceListenerBase::ResetSeen |
( |
const std::string & |
name, |
|
|
bool |
oper |
|
) |
| |
|
protected |
void VnswInterfaceListenerBase::SetAddress |
( |
const Event * |
event | ) |
|
|
protected |
void VnswInterfaceListenerBase::SetLinkState |
( |
const std::string & |
name, |
|
|
bool |
link_up |
|
) |
| |
|
protected |
void VnswInterfaceListenerBase::SetSeen |
( |
const std::string & |
name, |
|
|
bool |
oper, |
|
|
uint32_t |
oper_idx |
|
) |
| |
|
protected |
void VnswInterfaceListenerBase::Shutdown |
( |
void |
| ) |
|
virtual void VnswInterfaceListenerBase::SyncCurrentState |
( |
| ) |
|
|
protectedpure virtual |
virtual void VnswInterfaceListenerBase::UpdateLinkLocalRoute |
( |
const Ip4Address & |
addr, |
|
|
uint8_t |
plen, |
|
|
bool |
del_rt |
|
) |
| |
|
protectedpure virtual |
void VnswInterfaceListenerBase::UpdateLinkLocalRouteAndCount |
( |
const Ip4Address & |
addr, |
|
|
uint8_t |
plen, |
|
|
bool |
del_rt |
|
) |
| |
|
protectedvirtual |
uint32_t VnswInterfaceListenerBase::vhost_update_count |
( |
| ) |
const |
|
inline |
friend class VHostMultiHomeTest |
|
friend |
Agent* VnswInterfaceListenerBase::agent_ |
|
protected |
const uint32_t VnswInterfaceListenerBase::kMaxBufferSize = 4096 |
|
static |
const int VnswInterfaceListenerBase::kVnswRtmProto = 109 |
|
static |
uint32_t VnswInterfaceListenerBase::ll_add_count_ |
|
protected |
uint32_t VnswInterfaceListenerBase::ll_del_count_ |
|
protected |
uint8_t* VnswInterfaceListenerBase::read_buf_ |
|
protected |
int VnswInterfaceListenerBase::seqno_ |
|
protected |
bool VnswInterfaceListenerBase::vhost_intf_up_ |
|
protected |
uint32_t VnswInterfaceListenerBase::vhost_update_count_ |
|
protected |
The documentation for this class was generated from the following files: