OpenVPN 3 Core Library
|
Interface to communicate the server's address semantics. More...
#include <psid_cookie.hpp>
Public Member Functions | |
virtual const unsigned char * | get_abstract_cli_addrport (size_t &slab_size) const =0 |
virtual const void * | get_impl_info () const =0 |
virtual | ~PsidCookieAddrInfoBase ()=default |
Interface to communicate the server's address semantics.
The server implementation must derive a concrete class from this abstract one. This encapsulates the server implementation's knowledge of the address semantics it needs to return the HARD_RESET packet to the client. Further, in support of the psid calculation, this class also needs to supply this component with a reproducably hashable memory slab that represents the client address.
Definition at line 54 of file psid_cookie.hpp.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
Implemented in ClientAddressMock.