OpenVPN 3 Core Library
|
#include <udplink.hpp>
Public Types | |
typedef RCPtr< UDPLink > | Ptr |
![]() | |
typedef RCPtr< RC > | Ptr |
Public Member Functions | |
UDPLink (ReadHandler read_handler_arg, openvpn_io::ip::udp::socket &socket_arg, const Frame::Context &frame_context_arg, const SessionStats::Ptr &stats_arg) | |
int | send (const Buffer &buf, const AsioEndpoint *endpoint) |
void | start (const int n_parallel) |
void | stop () |
void | reset_align_adjust (const size_t align_adjust) |
~UDPLink () | |
![]() | |
RC () noexcept=default | |
RC (const RC &)=delete | |
virtual | ~RC ()=default |
RC & | operator= (const RC &)=delete |
olong | use_count () const noexcept |
Delegates call to RCImpl and returns the result. | |
Private Member Functions | |
void | queue_read (PacketFrom *udpfrom) |
void | handle_read (PacketFrom::SPtr pfp, const openvpn_io::error_code &error, const size_t bytes_recvd) |
int | do_send (const Buffer &buf, const AsioEndpoint *endpoint) |
Private Attributes | |
openvpn_io::ip::udp::socket & | socket |
bool | halt |
ReadHandler | read_handler |
Frame::Context | frame_context |
SessionStats::Ptr | stats |
Additional Inherited Members | |
![]() | |
static constexpr bool | is_thread_safe () |
Delegates call to RCImpl and returns the result. | |
Definition at line 60 of file udplink.hpp.
typedef RCPtr<UDPLink> openvpn::UDPTransport::UDPLink< ReadHandler >::Ptr |
Definition at line 63 of file udplink.hpp.
|
inline |
Definition at line 65 of file udplink.hpp.
|
inline |
Definition at line 123 of file udplink.hpp.
|
inlineprivate |
|
inlineprivate |
Definition at line 144 of file udplink.hpp.
|
inlineprivate |
|
inline |
Definition at line 118 of file udplink.hpp.
|
inline |
Definition at line 87 of file udplink.hpp.
|
inline |
Definition at line 100 of file udplink.hpp.
|
inline |
|
private |
Definition at line 230 of file udplink.hpp.
|
private |
Definition at line 228 of file udplink.hpp.
|
private |
Definition at line 229 of file udplink.hpp.
|
private |
Definition at line 227 of file udplink.hpp.
|
private |
Definition at line 231 of file udplink.hpp.