|
OpenVPN 3 Core Library
|
#include <udpcli.hpp>
Public Member Functions | |
| void | transport_start () override |
| bool | transport_send_const (const Buffer &buf) override |
| bool | transport_send (BufferAllocated &buf) override |
| bool | transport_send_queue_empty () override |
| bool | transport_has_send_queue () override |
| void | transport_stop_requeueing () override |
| size_t | transport_send_queue_size () override |
| void | reset_align_adjust (const size_t align_adjust) override |
| void | server_endpoint_info (std::string &host, std::string &port, std::string &proto, std::string &ip_addr) const override |
| IP::Addr | server_endpoint_addr () const override |
| unsigned short | server_endpoint_port () const override |
| openvpn_io::detail::socket_type | native_handle () override |
| Protocol | transport_protocol () const override |
| void | stop () override |
| ~Client () override | |
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 Types | |
| typedef RCPtr< Client > | Ptr |
| typedef UDPLink< Client * > | LinkImpl |
Private Types inherited from openvpn::AsyncResolvable< RESOLVER_TYPE > | |
| using | resolver_type = RESOLVER_TYPE |
| using | results_type = typename RESOLVER_TYPE::results_type |
| using | resolver_type = RESOLVER_TYPE |
| using | results_type = typename RESOLVER_TYPE::results_type |
Private Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| typedef RCPtr< RC > | Ptr |
Private Member Functions | |
| Client (openvpn_io::io_context &io_context_arg, ClientConfig *config_arg, TransportClientParent *parent_arg) | |
| void | transport_reparent (TransportClientParent *parent_arg) override |
| bool | send (const Buffer &buf) |
| void | udp_read_handler (PacketFrom::SPtr &pfp) |
| void | stop_ () |
| void | resolve_callback (const openvpn_io::error_code &error, results_type results) override |
| void | start_connect_ () |
| void | start_impl_ (const openvpn_io::error_code &error) |
Private Member Functions inherited from openvpn::AsyncResolvable< RESOLVER_TYPE > | |
| AsyncResolvable (openvpn_io::io_context &io_context_arg) | |
| virtual | ~AsyncResolvable () |
| virtual void | async_resolve_name (const std::string &host, const std::string &port) |
| void | async_resolve_lock () |
| void | async_resolve_cancel () |
| AsyncResolvable (openvpn_io::io_context &io_context_arg) | |
| virtual void | async_resolve_name (const std::string &host, const std::string &port) |
| void | async_resolve_lock () |
| void | async_resolve_cancel () |
Private 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 Attributes | |
| std::string | server_host |
| std::string | server_port |
| Protocol | server_protocol |
| openvpn_io::ip::udp::socket | socket |
| ClientConfig::Ptr | config |
| TransportClientParent * | parent |
| LinkImpl::Ptr | impl |
| openvpn_io::ip::udp::resolver | resolver |
| UDPTransport::AsioEndpoint | server_endpoint |
| bool | halt |
Friends | |
| class | ClientConfig |
| class | UDPLink< Client * > |
Additional Inherited Members | |
Public Types inherited from openvpn::TransportClient | |
| typedef RCPtr< TransportClient > | Ptr |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| typedef RCPtr< RC > | Ptr |
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. | |
Static Private 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 72 of file udpcli.hpp.
|
private |
Definition at line 79 of file udpcli.hpp.
|
private |
Definition at line 74 of file udpcli.hpp.
|
inlineoverride |
Definition at line 177 of file udpcli.hpp.
|
inlineprivate |
Definition at line 183 of file udpcli.hpp.
|
inlineoverridevirtual |
Reimplemented from openvpn::TransportClient.
Definition at line 163 of file udpcli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 138 of file udpcli.hpp.
|
inlineoverrideprivatevirtual |
Implements openvpn::AsyncResolvable< RESOLVER_TYPE >.
Definition at line 254 of file udpcli.hpp.
|
inlineprivate |
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 153 of file udpcli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 144 of file udpcli.hpp.
|
inlineoverridevirtual |
Reimplemented from openvpn::TransportClient.
Definition at line 158 of file udpcli.hpp.
|
inlineprivate |
|
inlineprivate |
Definition at line 302 of file udpcli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 173 of file udpcli.hpp.
|
inlineprivate |
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 124 of file udpcli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 168 of file udpcli.hpp.
|
inlineoverrideprivatevirtual |
Implements openvpn::TransportClient.
Definition at line 195 of file udpcli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 114 of file udpcli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 109 of file udpcli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 119 of file udpcli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 133 of file udpcli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 82 of file udpcli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 129 of file udpcli.hpp.
|
inlineprivate |
Definition at line 232 of file udpcli.hpp.
|
friend |
Definition at line 76 of file udpcli.hpp.
Definition at line 76 of file udpcli.hpp.
|
private |
Definition at line 335 of file udpcli.hpp.
|
private |
Definition at line 340 of file udpcli.hpp.
|
private |
Definition at line 337 of file udpcli.hpp.
|
private |
Definition at line 336 of file udpcli.hpp.
|
private |
Definition at line 338 of file udpcli.hpp.
|
private |
Definition at line 339 of file udpcli.hpp.
|
private |
Definition at line 329 of file udpcli.hpp.
|
private |
Definition at line 330 of file udpcli.hpp.
|
private |
Definition at line 332 of file udpcli.hpp.
|
private |
Definition at line 334 of file udpcli.hpp.