OpenSDN source code
|
#include <services_init.h>
Public Types | |
enum | ServiceList { ArpService, DhcpService, Dhcpv6Service, DnsService } |
Public Member Functions | |
ServicesModule (Agent *agent, const std::string &metadata_secret) | |
~ServicesModule () | |
Agent * | agent () |
MetadataProxy * | metadataproxy () |
void | Init (bool run_with_vrouter) |
void | ConfigInit () |
void | Shutdown () |
void | IoShutdown () |
IcmpErrorProto * | icmp_error_proto () const |
ArpProto * | arp_proto () const |
void | ReserveLocalPorts () |
void | FreeLocalPortBindings () |
Private Member Functions | |
bool | AllocateFd (uint16_t port_number, uint8_t ip_proto) |
Private Attributes | |
Agent * | agent_ |
std::string | metadata_secret_key_ |
boost::scoped_ptr< DhcpProto > | dhcp_proto_ |
boost::scoped_ptr< Dhcpv6Proto > | dhcpv6_proto_ |
boost::scoped_ptr< DnsProto > | dns_proto_ |
boost::scoped_ptr< ArpProto > | arp_proto_ |
boost::scoped_ptr< BfdProto > | bfd_proto_ |
boost::scoped_ptr< IcmpProto > | icmp_proto_ |
boost::scoped_ptr< Icmpv6Proto > | icmpv6_proto_ |
boost::scoped_ptr< IcmpErrorProto > | icmp_error_proto_ |
boost::scoped_ptr < Icmpv6ErrorProto > | icmpv6_error_proto_ |
boost::scoped_ptr< IgmpProto > | igmp_proto_ |
boost::scoped_ptr< MetadataProxy > | metadata_proxy_ |
std::vector< int > | reserved_port_fd_list_ |
Definition at line 20 of file services_init.h.
Enumerator | |
---|---|
ArpService | |
DhcpService | |
Dhcpv6Service | |
DnsService |
Definition at line 22 of file services_init.h.
ServicesModule::ServicesModule | ( | Agent * | agent, |
const std::string & | metadata_secret | ||
) |
Definition at line 32 of file services_init.cc.
ServicesModule::~ServicesModule | ( | ) |
Definition at line 38 of file services_init.cc.
|
inline |
Definition at line 31 of file services_init.h.
|
private |
Definition at line 122 of file services_init.cc.
|
inline |
Definition at line 42 of file services_init.h.
void ServicesModule::ConfigInit | ( | ) |
Definition at line 76 of file services_init.cc.
void ServicesModule::FreeLocalPortBindings | ( | ) |
Definition at line 161 of file services_init.cc.
|
inline |
Definition at line 38 of file services_init.h.
void ServicesModule::Init | ( | bool | run_with_vrouter | ) |
void ServicesModule::IoShutdown | ( | ) |
Definition at line 80 of file services_init.cc.
|
inline |
Definition at line 32 of file services_init.h.
void ServicesModule::ReserveLocalPorts | ( | ) |
void ServicesModule::Shutdown | ( | ) |
|
private |
Definition at line 50 of file services_init.h.
|
private |
Definition at line 55 of file services_init.h.
|
private |
Definition at line 56 of file services_init.h.
|
private |
Definition at line 52 of file services_init.h.
|
private |
Definition at line 53 of file services_init.h.
|
private |
Definition at line 54 of file services_init.h.
|
private |
Definition at line 59 of file services_init.h.
|
private |
Definition at line 57 of file services_init.h.
|
private |
Definition at line 60 of file services_init.h.
|
private |
Definition at line 58 of file services_init.h.
|
private |
Definition at line 61 of file services_init.h.
|
private |
Definition at line 62 of file services_init.h.
|
private |
Definition at line 51 of file services_init.h.
|
private |
Definition at line 63 of file services_init.h.