|
OpenVPN 3 Core Library
|
The hook an embedder installs, standing in for PG's. More...
Public Member Functions | |
| TLSCryptMetadata::Ptr | new_obj () 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. | |
Public Attributes | |
| bool | accept = true |
| verify() verdict handed to the recorders produced here | |
| unsigned int | n_created = 0 |
| RCPtr< MetadataRecorder > | last |
Additional Inherited Members | |
Public Types inherited from openvpn::TLSCryptMetadataFactory | |
| using | Ptr = RCPtr< TLSCryptMetadataFactory > |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| using | Ptr = RCPtr< RC > |
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. | |
The hook an embedder installs, standing in for PG's.
Keeps the recorders it makes reachable from the test: n_created counts how many records were put to the hook at all, which is what says whether a packet reached it that should not have, and last holds the verdict and payload of the most recent one.
Definition at line 416 of file test_psid_cookie.cpp.
|
inlineoverridevirtual |
Implements openvpn::TLSCryptMetadataFactory.
Definition at line 419 of file test_psid_cookie.cpp.
| bool MetadataRecorderFactory::accept = true |
verify() verdict handed to the recorders produced here
Definition at line 426 of file test_psid_cookie.cpp.
| RCPtr<MetadataRecorder> MetadataRecorderFactory::last |
Definition at line 428 of file test_psid_cookie.cpp.
| unsigned int MetadataRecorderFactory::n_created = 0 |
Definition at line 427 of file test_psid_cookie.cpp.