OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::PsidCookieAddrInfoBase Class Referenceabstract

Interface to communicate the server's address semantics. More...

#include <psid_cookie.hpp>

Inheritance diagram for openvpn::PsidCookieAddrInfoBase:
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~PsidCookieAddrInfoBase()

virtual openvpn::PsidCookieAddrInfoBase::~PsidCookieAddrInfoBase ( )
virtualdefault

Member Function Documentation

◆ get_abstract_cli_addrport()

virtual const unsigned char * openvpn::PsidCookieAddrInfoBase::get_abstract_cli_addrport ( size_t &  slab_size) const
pure virtual

Implemented in ClientAddressMock.

Here is the caller graph for this function:

◆ get_impl_info()

virtual const void * openvpn::PsidCookieAddrInfoBase::get_impl_info ( ) const
pure virtual

Implemented in ClientAddressMock.


The documentation for this class was generated from the following file: