|
OpenVPN 3 Core Library
|
#include <optfilt.hpp>
Classes | |
| struct | PullFilter |
Public Member Functions | |
| PushedOptionsFilter (const OptionList &opt) | |
| bool | filter (const Option &opt) 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 | |
| enum | FilterAction { None , Accept , Ignore , Reject } |
Private Member Functions | |
| FilterAction | filter_ (const Option &opt) |
| void | static_filter_ (const Option &o) |
| FilterAction | pull_filter_ (const Option &pushed) |
| bool | pull_filter_matches_ (const Option &pushed, const Option &match) |
| FilterAction | route_nopull_filter_ (const Option &opt) |
Private Attributes | |
| bool | route_nopull_ |
| std::vector< PullFilter > | pull_filter_list_ |
Additional Inherited Members | |
Public Types inherited from openvpn::OptionList::FilterBase | |
| typedef RCPtr< FilterBase > | 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. | |
Definition at line 26 of file optfilt.hpp.
|
private |
| Enumerator | |
|---|---|
| None | |
| Accept | |
| Ignore | |
| Reject | |
Definition at line 63 of file optfilt.hpp.
|
inline |
Definition at line 29 of file optfilt.hpp.
|
inlineoverridevirtual |
Implements openvpn::OptionList::FilterBase.
Definition at line 57 of file optfilt.hpp.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
private |
Definition at line 212 of file optfilt.hpp.
|
private |
Definition at line 211 of file optfilt.hpp.