|
OpenVPN 3 Core Library
|
#include <tunpersist.hpp>
Public Types | |
| typedef RCPtr< TunPersistTemplate > | Ptr |
Public Types inherited from openvpn::TunWrapTemplate< SCOPED_OBJ > | |
| typedef RCPtr< TunWrapTemplate > | Ptr |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| typedef RCPtr< RC > | Ptr |
Public Member Functions | |
| TunPersistTemplate (const bool enable_persistence, const TunWrapObjRetain retain_obj, TunBuilderBase *tb) | |
| const STATE & | state () const |
| virtual | ~TunPersistTemplate () |
| void | invalidate () |
| void | close () |
| void | set_disconnect () |
| const std::string & | options () |
| bool | use_persisted_tun (const IP::Addr server_addr, const TunProp::Config &tun_prop, const OptionList &opt) |
| bool | persist_tun_state (const typename SCOPED_OBJ::base_type obj, const STATE &state, bool save_replace_sock=true) |
Public Member Functions inherited from openvpn::TunWrapTemplate< SCOPED_OBJ > | |
| TunWrapTemplate (const TunWrapObjRetain retain_obj) | |
| virtual | ~TunWrapTemplate () |
| bool | obj_defined () const |
| SCOPED_OBJ::base_type | obj () const |
| bool | destructor_defined () const |
| void | add_destructor (const DestructorBase::Ptr &destruct) |
| void | close_destructor () |
| void | close () |
| void | save_replace_sock (const typename SCOPED_OBJ::base_type obj) |
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 | close_local () |
Private Attributes | |
| const bool | enable_persistence_ |
| TunBuilderBase *const | tb_ |
| STATE | state_ |
| std::string | options_ |
| TunBuilderCapture::Ptr | copt_ |
| bool | use_persisted_tun_ |
| bool | disconnect |
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 25 of file tunpersist.hpp.
| typedef RCPtr<TunPersistTemplate> openvpn::TunPersistTemplate< SCOPED_OBJ, STATE >::Ptr |
Definition at line 28 of file tunpersist.hpp.
|
inline |
Definition at line 30 of file tunpersist.hpp.
|
inlinevirtual |
Definition at line 45 of file tunpersist.hpp.
|
inline |
Definition at line 55 of file tunpersist.hpp.
|
inlineprivate |
|
inline |
Definition at line 50 of file tunpersist.hpp.
|
inline |
Definition at line 67 of file tunpersist.hpp.
|
inline |
Definition at line 119 of file tunpersist.hpp.
|
inline |
Definition at line 61 of file tunpersist.hpp.
|
inline |
|
inline |
Definition at line 74 of file tunpersist.hpp.
|
private |
Definition at line 151 of file tunpersist.hpp.
|
private |
Definition at line 154 of file tunpersist.hpp.
|
private |
Definition at line 146 of file tunpersist.hpp.
|
private |
Definition at line 149 of file tunpersist.hpp.
|
private |
Definition at line 148 of file tunpersist.hpp.
|
private |
Definition at line 147 of file tunpersist.hpp.
|
private |
Definition at line 152 of file tunpersist.hpp.