Kea 2.6.0
dhcp4to6_ipc.h
Go to the documentation of this file.
1// Copyright (C) 2015-2019 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#ifndef DHCP4TO6_IPC_H
8#define DHCP4TO6_IPC_H
9
14
15#include <dhcp/pkt4o6.h>
16#include <dhcpsrv/dhcp4o6_ipc.h>
17#include <boost/shared_ptr.hpp>
18
19namespace isc {
20namespace dhcp {
21
24protected:
29
31 virtual ~Dhcp4to6Ipc() { }
32
33public:
39 static Dhcp4to6Ipc& instance();
40
44 virtual void open();
45
50 static void handler(int /* fd */);
51};
52
53} // namespace isc
54} // namespace dhcp
55
56#endif
This class implements the communication between the DHCPv4 and DHCPv6 servers to allow for transmissi...
Definition: dhcp4o6_ipc.h:61
Handles DHCPv4-over-DHCPv6 IPC on the DHCPv4 server side.
Definition: dhcp4to6_ipc.h:23
static Dhcp4to6Ipc & instance()
Returns pointer to the sole instance of Dhcp4to6Ipc.
Definition: dhcp4to6_ipc.cc:32
virtual ~Dhcp4to6Ipc()
Destructor.
Definition: dhcp4to6_ipc.h:31
virtual void open()
Open communication socket.
Definition: dhcp4to6_ipc.cc:37
static void handler(int)
On receive handler.
Definition: dhcp4to6_ipc.cc:55
Dhcp4to6Ipc()
Constructor.
Definition: dhcp4to6_ipc.cc:30
Defines the Dhcp4o6IpcBase class.
Defines the logger used by the top-level component of kea-lfc.