Kea  1.9.9-git
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 
17 namespace isc {
18 namespace dhcp {
19 
21 class Dhcp6to4Ipc : public Dhcp4o6IpcBase {
22 protected:
26  Dhcp6to4Ipc();
27 
29  virtual ~Dhcp6to4Ipc() { }
30 
31 public:
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
static uint16_t client_port
Definition: dhcp6to4_ipc.h:51
virtual ~Dhcp6to4Ipc()
Destructor.
Definition: dhcp6to4_ipc.h:29
static Dhcp6to4Ipc & instance()
Returns pointer to the sole instance of Dhcp6to4Ipc.
Definition: dhcp6to4_ipc.cc:34
This class implements the communication between the DHCPv4 and DHCPv6 servers to allow for transmissi...
Definition: dhcp4o6_ipc.h:61
virtual void open()
Open communication socket.
Definition: dhcp6to4_ipc.cc:39
Handles DHCPv4-over-DHCPv6 IPC on the DHCPv6 server side.
Definition: dhcp6to4_ipc.h:21
Defines the Dhcp4o6IpcBase class.
Dhcp6to4Ipc()
Constructor.
Definition: dhcp6to4_ipc.cc:32
Defines the logger used by the top-level component of kea-dhcp-ddns.
static void handler(int)
On receive handler.
Definition: dhcp6to4_ipc.cc:57