OpenVPN 3 Core Library
Loading...
Searching...
No Matches
is_openvpn_protocol.hpp File Reference
#include <cstddef>
Include dependency graph for is_openvpn_protocol.hpp:

Go to the source code of this file.

Namespaces

namespace  openvpn
 Support deferred server-side state creation when client connects.
 

Functions

bool openvpn::is_openvpn_protocol (const unsigned char *p, std::size_t len)
 Given either the first 2 or 3 bytes of an initial client -> server data payload, return true if the protocol is that of an OpenVPN client attempting to connect with an OpenVPN server.