Kea 2.7.5
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.
static Dhcp4to6Ipc & instance()
Returns pointer to the sole instance of Dhcp4to6Ipc.
virtual ~Dhcp4to6Ipc()
Destructor.
virtual void open()
Open communication socket.
static void handler(int)
On receive handler.
Dhcp4to6Ipc()
Constructor.
Defines the Dhcp4o6IpcBase class.
Defines the logger used by the top-level component of kea-lfc.