OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VnswInterfaceListenerBase::Event Struct Reference

#include <vnswif_listener_base.h>

Collaboration diagram for VnswInterfaceListenerBase::Event:

Public Types

enum  Type {
  NONE, ADD_ADDR, DEL_ADDR, ADD_INTERFACE,
  DEL_INTERFACE, ADD_ROUTE, DEL_ROUTE, ADD_LL_ROUTE,
  DEL_LL_ROUTE
}
 

Public Member Functions

 Event (Type event, const std::string &interface, const Ip4Address &addr)
 
 Event (Type event, const std::string &interface, uint32_t flags, unsigned short int type)
 
 Event (Type event, const std::string &interface, const Ip4Address &addr, uint8_t plen, uint32_t flags, bool ipam)
 
 Event (Type event, const Ip4Address &addr, uint8_t plen, const std::string &interface, const Ip4Address &gw, uint8_t protocol, uint32_t flags)
 

Public Attributes

Type event_
 
std::string interface_
 
Ip4Address addr_
 
uint8_t plen_
 
Ip4Address gw_
 
uint32_t flags_
 
uint8_t protocol_
 
bool ipam_
 
unsigned short int type_
 

Detailed Description

Definition at line 38 of file vnswif_listener_base.h.

Member Enumeration Documentation

Enumerator
NONE 
ADD_ADDR 
DEL_ADDR 
ADD_INTERFACE 
DEL_INTERFACE 
ADD_ROUTE 
DEL_ROUTE 
ADD_LL_ROUTE 
DEL_LL_ROUTE 

Definition at line 39 of file vnswif_listener_base.h.

Constructor & Destructor Documentation

VnswInterfaceListenerBase::Event::Event ( Type  event,
const std::string &  interface,
const Ip4Address addr 
)
inline

Definition at line 52 of file vnswif_listener_base.h.

VnswInterfaceListenerBase::Event::Event ( Type  event,
const std::string &  interface,
uint32_t  flags,
unsigned short int  type 
)
inline

Definition at line 59 of file vnswif_listener_base.h.

VnswInterfaceListenerBase::Event::Event ( Type  event,
const std::string &  interface,
const Ip4Address addr,
uint8_t  plen,
uint32_t  flags,
bool  ipam 
)
inline

Definition at line 66 of file vnswif_listener_base.h.

VnswInterfaceListenerBase::Event::Event ( Type  event,
const Ip4Address addr,
uint8_t  plen,
const std::string &  interface,
const Ip4Address gw,
uint8_t  protocol,
uint32_t  flags 
)
inline

Definition at line 73 of file vnswif_listener_base.h.

Member Data Documentation

Ip4Address VnswInterfaceListenerBase::Event::addr_

Definition at line 82 of file vnswif_listener_base.h.

Type VnswInterfaceListenerBase::Event::event_

Definition at line 80 of file vnswif_listener_base.h.

uint32_t VnswInterfaceListenerBase::Event::flags_

Definition at line 85 of file vnswif_listener_base.h.

Ip4Address VnswInterfaceListenerBase::Event::gw_

Definition at line 84 of file vnswif_listener_base.h.

std::string VnswInterfaceListenerBase::Event::interface_

Definition at line 81 of file vnswif_listener_base.h.

bool VnswInterfaceListenerBase::Event::ipam_

Definition at line 87 of file vnswif_listener_base.h.

uint8_t VnswInterfaceListenerBase::Event::plen_

Definition at line 83 of file vnswif_listener_base.h.

uint8_t VnswInterfaceListenerBase::Event::protocol_

Definition at line 86 of file vnswif_listener_base.h.

unsigned short int VnswInterfaceListenerBase::Event::type_

Definition at line 88 of file vnswif_listener_base.h.


The documentation for this struct was generated from the following file: