OpenVPN 3 Core Library
Loading...
Searching...
No Matches
config.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_CONFIG_H
13
#define OPENVPN_TUN_EXTERN_CONFIG_H
14
15
// These includes are also intended to resolve forward references in fw.hpp
16
#include <
openvpn/common/options.hpp
>
17
#include <
openvpn/tun/client/tunbase.hpp
>
18
#include <
openvpn/tun/client/tunprop.hpp
>
19
#include <
openvpn/frame/frame.hpp
>
20
#include <
openvpn/log/sessionstats.hpp
>
21
#include <
openvpn/common/stop.hpp
>
22
23
namespace
openvpn::ExternalTun
{
24
struct
Config
25
{
26
TunProp::Config
tun_prop
;
27
Frame::Ptr
frame
;
28
SessionStats::Ptr
stats
;
29
Stop
*
stop
=
nullptr
;
30
bool
tun_persist
=
false
;
31
};
32
}
// namespace openvpn::ExternalTun
33
#endif
openvpn::RCPtr< Frame >
openvpn::Stop
Definition
stop.hpp:27
tunbase.hpp
frame.hpp
openvpn::ExternalTun
Definition
config.hpp:23
options.hpp
sessionstats.hpp
stop.hpp
openvpn::ExternalTun::Config
Definition
config.hpp:25
openvpn::ExternalTun::Config::tun_prop
TunProp::Config tun_prop
Definition
config.hpp:26
openvpn::ExternalTun::Config::frame
Frame::Ptr frame
Definition
config.hpp:27
openvpn::ExternalTun::Config::stop
Stop * stop
Definition
config.hpp:29
openvpn::ExternalTun::Config::stats
SessionStats::Ptr stats
Definition
config.hpp:28
openvpn::ExternalTun::Config::tun_persist
bool tun_persist
Definition
config.hpp:30
openvpn::TunProp::Config
Definition
tunprop.hpp:52
tunprop.hpp
openvpn
tun
extern
config.hpp
Generated by
1.9.8