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
21#include <openvpn/addr/ip.hpp>
22
23namespace openvpn {
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
virtual void add(const std::string &addr_str, const unsigned int unit, ActionList &late_remove)