Kea  2.1.7-git
isc::dhcp::Dhcp4to6Ipc Class Reference

Handles DHCPv4-over-DHCPv6 IPC on the DHCPv4 server side. More...

#include <dhcp4to6_ipc.h>

+ Inheritance diagram for isc::dhcp::Dhcp4to6Ipc:

Public Member Functions

virtual void open ()
 Open communication socket. More...
 
- Public Member Functions inherited from isc::dhcp::Dhcp4o6IpcBase
void close ()
 Close communication socket. More...
 
Pkt6Ptr receive ()
 Receive message over IPC. More...
 
void send (const Pkt6Ptr &pkt)
 Send message over IPC. More...
 

Static Public Member Functions

static void handler (int)
 On receive handler. More...
 
static Dhcp4to6Ipcinstance ()
 Returns pointer to the sole instance of Dhcp4to6Ipc. More...
 

Protected Member Functions

 Dhcp4to6Ipc ()
 Constructor. More...
 
virtual ~Dhcp4to6Ipc ()
 Destructor. More...
 
- Protected Member Functions inherited from isc::dhcp::Dhcp4o6IpcBase
 Dhcp4o6IpcBase ()
 Constructor. More...
 
virtual ~Dhcp4o6IpcBase ()
 Destructor. More...
 
int open (uint16_t port, EndpointType endpoint_type)
 Open communication socket (from base class). More...
 

Additional Inherited Members

- Public Types inherited from isc::dhcp::Dhcp4o6IpcBase
enum  EndpointType { ENDPOINT_TYPE_V4 = 4, ENDPOINT_TYPE_V6 = 6 }
 Endpoint type: DHCPv4 or DHCPv6 server. More...
 
- Protected Attributes inherited from isc::dhcp::Dhcp4o6IpcBase
uint16_t port_
 Port number configured for IPC communication. More...
 
int socket_fd_
 Socket descriptor. More...
 

Detailed Description

Handles DHCPv4-over-DHCPv6 IPC on the DHCPv4 server side.

Definition at line 23 of file dhcp4to6_ipc.h.

Constructor & Destructor Documentation

◆ Dhcp4to6Ipc()

isc::dhcp::Dhcp4to6Ipc::Dhcp4to6Ipc ( )
protected

Constructor.

Default constructor

Definition at line 30 of file dhcp4to6_ipc.cc.

◆ ~Dhcp4to6Ipc()

virtual isc::dhcp::Dhcp4to6Ipc::~Dhcp4to6Ipc ( )
inlineprotectedvirtual

Destructor.

Definition at line 31 of file dhcp4to6_ipc.h.

References handler(), instance(), and open().

+ Here is the call graph for this function:

Member Function Documentation

◆ handler()

◆ instance()

Dhcp4to6Ipc & isc::dhcp::Dhcp4to6Ipc::instance ( )
static

Returns pointer to the sole instance of Dhcp4to6Ipc.

Dhcp4to6Ipc is a singleton class

Returns
the only existing instance of DHCP4o6 IPC

Definition at line 32 of file dhcp4to6_ipc.cc.

Referenced by handler(), ~Dhcp4to6Ipc(), and isc::dhcp::Dhcpv4Srv::~Dhcpv4Srv().

◆ open()

void isc::dhcp::Dhcp4to6Ipc::open ( )
virtual

The documentation for this class was generated from the following files: