libtins  4.0
Public Types | Public Member Functions | List of all members
Tins::EAPOLHandshake< T > Class Template Reference

Generic EAPOL handshake. More...

#include <handshake_capturer.h>

Public Types

typedef std::vector< T > container_type
 
typedef HWAddress< 6 > address_type
 

Public Member Functions

 EAPOLHandshake ()
 Default constructor.
 
 EAPOLHandshake (const address_type &client_address, const address_type &supplicant_address, const container_type &cont)
 
const address_typeclient_address () const
 
const address_typesupplicant_address () const
 
const container_type & handshake () const
 

Detailed Description

template<typename T>
class Tins::EAPOLHandshake< T >

Generic EAPOL handshake.

Stores both the client and supplicant addresses, as well as all of the EAPOL packets used during the handshake.

Constructor & Destructor Documentation

template<typename T >
Tins::EAPOLHandshake< T >::EAPOLHandshake ( const address_type client_address,
const address_type supplicant_address,
const container_type &  cont 
)
inline

Constructs an EAPOLHandshake object.

Parameters
client_addressThe client address.
supplicant_addressThe supplicant address.
contThe container that holds the EAPOL packets used in the handshake.

Member Function Documentation

template<typename T >
const address_type& Tins::EAPOLHandshake< T >::client_address ( ) const
inline
Returns
const address_type&
template<typename T >
const container_type& Tins::EAPOLHandshake< T >::handshake ( ) const
inline
Returns
const container_type&
template<typename T >
const address_type& Tins::EAPOLHandshake< T >::supplicant_address ( ) const
inline
Returns
const address_type&

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