Kea: dhcp6to4_ipc.h Source File

| Kea 3.2.0-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
17namespace isc {
18namespace dhcp {
19
21 class Dhcp6to4Ipc : public Dhcp4o6IpcBase {
22protected:
26 Dhcp6to4Ipc();
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
isc::dhcp::Dhcp4o6IpcBase::Dhcp4o6IpcBase
Dhcp4o6IpcBase()
Constructor.
Definition dhcp4o6_ipc.cc:33
isc::dhcp::Dhcp6to4Ipc
Handles DHCPv4-over-DHCPv6 IPC on the DHCPv6 server side.
Definition dhcp6to4_ipc.h:21
isc::dhcp::Dhcp6to4Ipc::handler
static void handler(int)
On receive handler.
Definition dhcp6to4_ipc.cc:57
isc::dhcp::Dhcp6to4Ipc::Dhcp6to4Ipc
Dhcp6to4Ipc()
Constructor.
Definition dhcp6to4_ipc.cc:32
isc::dhcp::Dhcp6to4Ipc::~Dhcp6to4Ipc
virtual ~Dhcp6to4Ipc()
Destructor.
Definition dhcp6to4_ipc.h:29
isc::dhcp::Dhcp6to4Ipc::open
virtual void open()
Open communication socket.
Definition dhcp6to4_ipc.cc:39
isc::dhcp::Dhcp6to4Ipc::instance
static Dhcp6to4Ipc & instance()
Returns pointer to the sole instance of Dhcp6to4Ipc.
Definition dhcp6to4_ipc.cc:34
isc::dhcp::Dhcp6to4Ipc::client_port
static uint16_t client_port
Definition dhcp6to4_ipc.h:51
dhcp4o6_ipc.h
Defines the Dhcp4o6IpcBase class.
isc::dhcp
Definition dhcp4/client_handler.cc:20
isc
Defines the logger used by the top-level component of kea-lfc.
Definition check_exists_add.cc:18