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_TRANSPORT_CLIENT_EXTERN_CONFIG_H
13
#define OPENVPN_TRANSPORT_CLIENT_EXTERN_CONFIG_H
14
15
#include <sstream>
16
#include <
openvpn/transport/client/transbase.hpp
>
17
#include <
openvpn/transport/socket_protect.hpp
>
18
#include <
openvpn/client/remotelist.hpp
>
19
20
namespace
openvpn::ExternalTransport
{
21
struct
Config
22
{
23
Protocol
protocol
;
24
RemoteList::Ptr
remote_list
;
25
bool
server_addr_float
=
false
;
26
bool
synchronous_dns_lookup
=
false
;
27
Frame::Ptr
frame
;
28
SessionStats::Ptr
stats
;
29
SocketProtect
*
socket_protect
=
nullptr
;
30
};
31
}
// namespace openvpn::ExternalTransport
32
33
#endif
openvpn::BaseSocketProtect
Definition
socket_protect.hpp:26
openvpn::Protocol
Definition
protocol.hpp:26
openvpn::RCPtr< RemoteList >
transbase.hpp
openvpn::ExternalTransport
Definition
config.hpp:20
remotelist.hpp
socket_protect.hpp
openvpn::ExternalTransport::Config
Definition
config.hpp:22
openvpn::ExternalTransport::Config::remote_list
RemoteList::Ptr remote_list
Definition
config.hpp:24
openvpn::ExternalTransport::Config::socket_protect
SocketProtect * socket_protect
Definition
config.hpp:29
openvpn::ExternalTransport::Config::frame
Frame::Ptr frame
Definition
config.hpp:27
openvpn::ExternalTransport::Config::synchronous_dns_lookup
bool synchronous_dns_lookup
Definition
config.hpp:26
openvpn::ExternalTransport::Config::stats
SessionStats::Ptr stats
Definition
config.hpp:28
openvpn::ExternalTransport::Config::server_addr_float
bool server_addr_float
Definition
config.hpp:25
openvpn::ExternalTransport::Config::protocol
Protocol protocol
Definition
config.hpp:23
openvpn
transport
client
extern
config.hpp
Generated by
1.9.8