|
OpenVPN 3 Core Library
|
#include <dcocli.hpp>
Public Member Functions | |
| bool | transport_send_queue_empty () override |
| bool | transport_has_send_queue () override |
| size_t | transport_send_queue_size () override |
| void | reset_align_adjust (const size_t align_adjust) override |
| void | transport_stop_requeueing () override |
| void | server_endpoint_info (std::string &host, std::string &port, std::string &proto, std::string &ip_addr) const override |
| void | stop () override |
| void | set_disconnect () override |
| bool | tun_send (BufferAllocated &buf) override |
| std::string | vpn_ip4 () const override |
| std::string | vpn_ip6 () const override |
| std::string | vpn_gw4 () const override |
| std::string | vpn_gw6 () const override |
| int | vpn_mtu () const override |
Public Member Functions inherited from openvpn::TransportClient | |
| virtual void | transport_start ()=0 |
| virtual bool | transport_send_const (const Buffer &buf)=0 |
| virtual bool | transport_send (BufferAllocated &buf)=0 |
| virtual IP::Addr | server_endpoint_addr () const =0 |
| virtual unsigned short | server_endpoint_port () const |
| virtual openvpn_io::detail::socket_type | native_handle () |
| virtual Protocol | transport_protocol () const =0 |
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. | |
Public Member Functions inherited from openvpn::TunClient | |
| virtual void | tun_start (const OptionList &, TransportClient &, CryptoDCSettings &)=0 |
| virtual std::string | tun_name () const =0 |
| virtual void | adjust_mss (int mss) |
| virtual void | apply_push_update (const OptionList &opt, TransportClient &cli) |
| Notifies tun client about received PUSH_UPDATE control channel message. | |
| virtual std::uint32_t | vpn_interface_index () const |
Public Member Functions inherited from openvpn::AsyncResolvable< RESOLVER_TYPE > | |
| AsyncResolvable (openvpn_io::io_context &io_context_arg) | |
| virtual | ~AsyncResolvable () |
| virtual void | resolve_callback (const openvpn_io::error_code &error, results_type results)=0 |
| 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 | resolve_callback (const openvpn_io::error_code &error, results_type results)=0 |
| virtual void | async_resolve_name (const std::string &host, const std::string &port) |
| void | async_resolve_lock () |
| void | async_resolve_cancel () |
Protected Member Functions | |
| Client (openvpn_io::io_context &io_context_arg, ClientConfig *config_arg, TransportClientParent *parent_arg) | |
| void | transport_reparent (TransportClientParent *parent_arg) override |
| virtual void | stop_ ()=0 |
Protected Attributes | |
| openvpn_io::io_context & | io_context |
| bool | halt |
| TunProp::State::Ptr | state |
| ClientConfig::Ptr | config |
| TransportClientParent * | transport_parent |
| TunClientParent * | tun_parent |
| ActionList::Ptr | remove_cmds |
| std::string | server_host |
| std::string | server_port |
| uint32_t | peer_id |
Private Types | |
| typedef RCPtr< Client > | Ptr |
Friends | |
| class | ClientConfig |
Additional Inherited Members | |
Public Types inherited from openvpn::TransportClient | |
| using | Ptr = RCPtr< TransportClient > |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| using | Ptr = RCPtr< RC > |
Public Types inherited from openvpn::TunClient | |
| using | Ptr = RCPtr< TunClient > |
Public 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 |
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 151 of file dcocli.hpp.
|
private |
Definition at line 157 of file dcocli.hpp.
|
inlineprotected |
Definition at line 252 of file dcocli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 177 of file dcocli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 185 of file dcocli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClient.
Definition at line 205 of file dcocli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 198 of file dcocli.hpp.
|
protectedpure virtual |
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 167 of file dcocli.hpp.
|
inlineoverrideprotectedvirtual |
Implements openvpn::TransportClient.
Definition at line 262 of file dcocli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 162 of file dcocli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 172 of file dcocli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TransportClient.
Definition at line 181 of file dcocli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClient.
Definition at line 209 of file dcocli.hpp.
|
inlineoverridevirtual |
Reimplemented from openvpn::TunClient.
Definition at line 230 of file dcocli.hpp.
|
inlineoverridevirtual |
Reimplemented from openvpn::TunClient.
Definition at line 238 of file dcocli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClient.
Definition at line 214 of file dcocli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClient.
Definition at line 222 of file dcocli.hpp.
|
inlineoverridevirtual |
Implements openvpn::TunClient.
Definition at line 246 of file dcocli.hpp.
|
friend |
Definition at line 155 of file dcocli.hpp.
|
protected |
Definition at line 274 of file dcocli.hpp.
|
protected |
Definition at line 270 of file dcocli.hpp.
|
protected |
Definition at line 269 of file dcocli.hpp.
|
protected |
Definition at line 283 of file dcocli.hpp.
|
protected |
Definition at line 278 of file dcocli.hpp.
|
protected |
Definition at line 280 of file dcocli.hpp.
|
protected |
Definition at line 281 of file dcocli.hpp.
|
protected |
Definition at line 272 of file dcocli.hpp.
|
protected |
Definition at line 275 of file dcocli.hpp.
|
protected |
Definition at line 276 of file dcocli.hpp.