wpa_supplicant / hostapd
2.5
|
RADIUS authentication server. More...
Go to the source code of this file.
Data Structures | |
struct | radius_server_conf |
RADIUS server configuration. More... | |
Functions | |
struct radius_server_data * | radius_server_init (struct radius_server_conf *conf) |
Initialize RADIUS server. More... | |
void | radius_server_erp_flush (struct radius_server_data *data) |
Flush all ERP keys. More... | |
void | radius_server_deinit (struct radius_server_data *data) |
Deinitialize RADIUS server. More... | |
int | radius_server_get_mib (struct radius_server_data *data, char *buf, size_t buflen) |
Get RADIUS server MIB information. More... | |
void | radius_server_eap_pending_cb (struct radius_server_data *data, void *ctx) |
Pending EAP data notification. More... | |
RADIUS authentication server.
void radius_server_deinit | ( | struct radius_server_data * | data | ) |
Deinitialize RADIUS server.
data | RADIUS server context from radius_server_init() |
void radius_server_eap_pending_cb | ( | struct radius_server_data * | data, |
void * | ctx | ||
) |
Pending EAP data notification.
data | RADIUS server context from radius_server_init() |
ctx | Pending EAP context pointer |
This function is used to notify EAP server module that a pending operation has been completed and processing of the EAP session can proceed.
void radius_server_erp_flush | ( | struct radius_server_data * | data | ) |
Flush all ERP keys.
data | RADIUS server context from radius_server_init() |
int radius_server_get_mib | ( | struct radius_server_data * | data, |
char * | buf, | ||
size_t | buflen | ||
) |
Get RADIUS server MIB information.
data | RADIUS server context from radius_server_init() |
buf | Buffer for returning the MIB data in text format |
buflen | buf length in octets |
struct radius_server_data* radius_server_init | ( | struct radius_server_conf * | conf | ) |
Initialize RADIUS server.
conf | Configuration for the RADIUS server |
This initializes a RADIUS server instance and returns a context pointer that will be used in other calls to the RADIUS server module. The server can be deinitialize by calling radius_server_deinit().