wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Data Fields
eap_ssl_data Struct Reference

TLS data for EAP methods. More...

#include <eap_tls_common.h>

Public Types

enum  { MSG, FRAG_ACK, WAIT_FRAG_ACK }
 

Data Fields

struct tls_connectionconn
 TLS connection context data from tls_connection_init()
 
struct wpabuftls_out
 TLS message to be sent out in fragments.
 
size_t tls_out_pos
 The current position in the outgoing TLS message.
 
size_t tls_out_limit
 Maximum fragment size for outgoing TLS messages.
 
struct wpabuftls_in
 Received TLS message buffer for re-assembly.
 
size_t tls_in_left
 Number of remaining bytes in the incoming TLS message.
 
size_t tls_in_total
 Total number of bytes in the incoming TLS message.
 
int phase2
 Whether this TLS connection is used in EAP phase 2 (tunnel)
 
int include_tls_length
 Whether the TLS length field is included even if the TLS data is not fragmented.
 
struct eap_smeap
 EAP state machine allocated with eap_peer_sm_init() More...
 
void * ssl_ctx
 TLS library context to use for the connection.
 
u8 eap_type
 EAP method used in Phase 1 (EAP_TYPE_TLS/PEAP/TTLS/FAST)
 
enum eap_ssl_data:: { ... }  state
 
struct wpabuf tmpbuf
 

Detailed Description

TLS data for EAP methods.

Field Documentation

struct eap_sm * eap_ssl_data::eap

EAP state machine allocated with eap_peer_sm_init()

EAP state machine allocated with eap_server_sm_init()


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