#include <protocol.hpp>
|
| enum | Type {
NONE
, UDPv4
, TCPv4
, UDPv6
,
TCPv6
, TLSv4
, TLSv6
, UnixStream
,
UnixDGram
, NamedPipe
, UDP
, TCP
,
TLS
} |
| |
| enum | AllowSuffix { NO_SUFFIX
, CLIENT_SUFFIX
, SERVER_SUFFIX
} |
| |
Definition at line 25 of file protocol.hpp.
◆ AllowSuffix
| Enumerator |
|---|
| NO_SUFFIX | |
| CLIENT_SUFFIX | |
| SERVER_SUFFIX | |
Definition at line 45 of file protocol.hpp.
◆ Type
| Enumerator |
|---|
| NONE | |
| UDPv4 | |
| TCPv4 | |
| UDPv6 | |
| TCPv6 | |
| TLSv4 | |
| TLSv6 | |
| UnixStream | |
| UnixDGram | |
| NamedPipe | |
| UDP | |
| TCP | |
| TLS | |
Definition at line 28 of file protocol.hpp.
◆ Protocol() [1/2]
| openvpn::Protocol::Protocol |
( |
| ) |
|
|
inline |
◆ Protocol() [2/2]
| openvpn::Protocol::Protocol |
( |
const Type |
t | ) |
|
|
inlineexplicit |
◆ defined()
| bool openvpn::Protocol::defined |
( |
| ) |
const |
|
inline |
◆ extra_transport_bytes()
| unsigned int openvpn::Protocol::extra_transport_bytes |
( |
| ) |
const |
|
inline |
◆ is_ipv4()
| bool openvpn::Protocol::is_ipv4 |
( |
| ) |
const |
|
inline |
◆ is_ipv6()
| bool openvpn::Protocol::is_ipv6 |
( |
| ) |
const |
|
inline |
◆ is_local()
| bool openvpn::Protocol::is_local |
( |
| ) |
const |
|
inline |
◆ is_local_type()
| static bool openvpn::Protocol::is_local_type |
( |
const std::string & |
str | ) |
|
|
inlinestatic |
◆ is_named_pipe()
| bool openvpn::Protocol::is_named_pipe |
( |
| ) |
const |
|
inline |
◆ is_reliable()
| bool openvpn::Protocol::is_reliable |
( |
| ) |
const |
|
inline |
◆ is_tcp()
| bool openvpn::Protocol::is_tcp |
( |
| ) |
const |
|
inline |
◆ is_tls()
| bool openvpn::Protocol::is_tls |
( |
| ) |
const |
|
inline |
◆ is_udp()
| bool openvpn::Protocol::is_udp |
( |
| ) |
const |
|
inline |
◆ is_unix()
| bool openvpn::Protocol::is_unix |
( |
| ) |
const |
|
inline |
◆ mod_addr_version()
◆ occ_str()
| const char * openvpn::Protocol::occ_str |
( |
const bool |
server | ) |
const |
|
inline |
◆ operator!=()
| bool openvpn::Protocol::operator!= |
( |
const Protocol & |
other | ) |
const |
|
inline |
◆ operator()()
| Type openvpn::Protocol::operator() |
( |
| ) |
const |
|
inline |
◆ operator==()
| bool openvpn::Protocol::operator== |
( |
const Protocol & |
other | ) |
const |
|
inline |
◆ parse()
| static Protocol openvpn::Protocol::parse |
( |
const std::string & |
str, |
|
|
const AllowSuffix |
allow_suffix, |
|
|
const char * |
title = nullptr |
|
) |
| |
|
inlinestatic |
◆ parse_type()
| static Type openvpn::Protocol::parse_type |
( |
const std::string & |
str, |
|
|
const AllowSuffix |
allow_suffix |
|
) |
| |
|
inlinestaticprivate |
◆ protocol_to_string()
| const char * openvpn::Protocol::protocol_to_string |
( |
| ) |
const |
|
inline |
◆ reset()
| void openvpn::Protocol::reset |
( |
| ) |
|
|
inline |
◆ str()
| const char * openvpn::Protocol::str |
( |
| ) |
const |
|
inline |
◆ transport_match()
| bool openvpn::Protocol::transport_match |
( |
const Protocol & |
other | ) |
const |
|
inline |
◆ transport_proto()
| int openvpn::Protocol::transport_proto |
( |
| ) |
const |
|
inline |
◆ type_
| Type openvpn::Protocol::type_ |
|
private |
The documentation for this class was generated from the following file: