|
OpenVPN 3 Core Library
|
#include <udplink.hpp>
Public Types | |
| using | Ptr = RCPtr< UDPLink > |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| using | Ptr = RCPtr< RC > |
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 () | |
Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| 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 Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| static constexpr bool | is_thread_safe () |
| Delegates call to RCImpl and returns the result. | |
Definition at line 60 of file udplink.hpp.
| using openvpn::UDPTransport::UDPLink< ReadHandler >::Ptr = RCPtr<UDPLink> |
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 228 of file udplink.hpp.
|
private |
Definition at line 226 of file udplink.hpp.
|
private |
Definition at line 227 of file udplink.hpp.
|
private |
Definition at line 225 of file udplink.hpp.
|
private |
Definition at line 229 of file udplink.hpp.