Kea 2.7.6
dhcp6to4_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 DHCP6TO4_IPC_H
8#define DHCP6TO4_IPC_H
9
14#include <dhcpsrv/dhcp4o6_ipc.h>
15#include <boost/shared_ptr.hpp>
16
17namespace isc {
18namespace dhcp {
19
22protected:
27
29 virtual ~Dhcp6to4Ipc() { }
30
31public:
37 static Dhcp6to4Ipc& instance();
38
42 virtual void open();
43
47 static void handler(int /* fd */);
48
51 static uint16_t client_port;
52};
53
54} // namespace isc
55} // namespace dhcp
56
57#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 DHCPv6 server side.
static void handler(int)
On receive handler.
Dhcp6to4Ipc()
Constructor.
virtual ~Dhcp6to4Ipc()
Destructor.
virtual void open()
Open communication socket.
static Dhcp6to4Ipc & instance()
Returns pointer to the sole instance of Dhcp6to4Ipc.
static uint16_t client_port
Defines the Dhcp4o6IpcBase class.
Defines the logger used by the top-level component of kea-lfc.