OpenVPN 3 Core Library
Loading...
Searching...
No Matches
ipcollbase.hpp
Go to the documentation of this file.
1
// OpenVPN -- An application to securely tunnel IP networks
2
// over a single port, with support for SSL/TLS-based
3
// session authentication and key exchange,
4
// packet encryption, packet authentication, and
5
// packet compression.
6
//
7
// Copyright (C) 2012- OpenVPN Inc.
8
//
9
// SPDX-License-Identifier: MPL-2.0 OR AGPL-3.0-only WITH openvpn3-openssl-exception
10
//
11
12
#pragma once
13
14
#include <string>
15
#include <sstream>
16
#include <unordered_map>
17
#include <mutex>
18
19
#include <
openvpn/common/exception.hpp
>
20
#include <
openvpn/common/action.hpp
>
21
#include <
openvpn/addr/ip.hpp
>
22
23
namespace
openvpn
{
24
class
IPCollisionDetectBase
25
{
26
public
:
27
OPENVPN_EXCEPTION
(ip_collision);
28
29
virtual
void
add
(
const
std::string &addr_str,
30
const
unsigned
int
unit,
31
ActionList
&late_remove)
32
{
33
}
34
};
35
36
}
// namespace openvpn
action.hpp
openvpn::ActionList
Definition
action.hpp:48
openvpn::IPCollisionDetectBase
Definition
ipcollbase.hpp:25
openvpn::IPCollisionDetectBase::add
virtual void add(const std::string &addr_str, const unsigned int unit, ActionList &late_remove)
Definition
ipcollbase.hpp:29
openvpn::IPCollisionDetectBase::OPENVPN_EXCEPTION
OPENVPN_EXCEPTION(ip_collision)
exception.hpp
ip.hpp
openvpn
Definition
ovpncli.cpp:97
openvpn
dco
ipcollbase.hpp
Generated by
1.9.8