OpenVPN 3 Core Library
Loading...
Searching...
No Matches
fw.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
#ifndef OPENVPN_TUN_EXTERN_FW_H
13
#define OPENVPN_TUN_EXTERN_FW_H
14
15
namespace
openvpn
{
16
17
#if defined(OPENVPN_EXTERNAL_TUN_FACTORY)
18
19
struct
TunClientFactory;
20
class
OptionList;
21
22
namespace
ExternalTun {
23
struct
Config
;
// defined in config.hpp
24
struct
Factory
25
{
26
virtual
TunClientFactory *new_tun_factory(
const
Config
&conf,
const
OptionList &opt) = 0;
27
virtual
~Factory() =
default
;
28
};
29
}
// namespace ExternalTun
30
31
#else
32
33
namespace
ExternalTun {
34
struct
Factory
35
{
36
};
37
}
// namespace ExternalTun
38
39
#endif
40
}
// namespace openvpn
41
#endif
Config
The data needed to construct an OpenSSLContext.
openvpn
Definition
ovpncli.cpp:97
openvpn::ExternalTun::Factory
Definition
fw.hpp:35
openvpn
tun
extern
fw.hpp
Generated by
1.9.8