hostapd
Public Attributes | List of all members
radius_client_data Struct Reference

struct radius_client_data - Internal RADIUS client data More...

Public Attributes

void * ctx
 ctx - Context pointer for hostapd_logger() callbacks
 
struct hostapd_radius_serversconf
 conf - RADIUS client configuration (list of RADIUS servers to use)
 
int auth_serv_sock
 auth_serv_sock - IPv4 socket for RADIUS authentication messages
 
int acct_serv_sock
 acct_serv_sock - IPv4 socket for RADIUS accounting messages
 
int auth_serv_sock6
 auth_serv_sock6 - IPv6 socket for RADIUS authentication messages
 
int acct_serv_sock6
 acct_serv_sock6 - IPv6 socket for RADIUS accounting messages
 
int auth_sock
 auth_sock - Currently used socket for RADIUS authentication server
 
int acct_sock
 acct_sock - Currently used socket for RADIUS accounting server
 
struct radius_rx_handlerauth_handlers
 auth_handlers - Authentication message handlers
 
size_t num_auth_handlers
 num_auth_handlers - Number of handlers in auth_handlers
 
struct radius_rx_handleracct_handlers
 acct_handlers - Accounting message handlers
 
size_t num_acct_handlers
 num_acct_handlers - Number of handlers in acct_handlers
 
struct radius_msg_listmsgs
 msgs - Pending outgoing RADIUS messages
 
size_t num_msgs
 num_msgs - Number of pending messages in the msgs list
 
u8 next_radius_identifier
 next_radius_identifier - Next RADIUS message identifier to use
 
void(* interim_error_cb )(const u8 *addr, void *ctx)
 interim_error_cb - Interim accounting error callback
 
void * interim_error_cb_ctx
 interim_error_cb_ctx - interim_error_cb() context data
 

Detailed Description

struct radius_client_data - Internal RADIUS client data

This data structure is used internally inside the RADIUS client module. External users allocate this by calling radius_client_init() and free it by calling radius_client_deinit(). The pointer to this opaque data is used in calls to other functions as an identifier for the RADIUS client instance.


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