The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
EAP packet composition. More...
Go to the source code of this file.
Data Structures | |
struct | eap_packet_t |
Structure to hold EAP data. More... | |
struct | eap_round_t |
Contains a pair of request and response packets. More... | |
Functions | |
rlm_rcode_t | eap_compose (eap_session_t *eap_session) |
rlm_rcode_t | eap_continue (eap_session_t *eap_session) |
rlm_rcode_t | eap_fail (eap_session_t *eap_session) |
eap_round_t * | eap_round_build (eap_session_t *eap_session, eap_packet_raw_t **eap_packet_p) |
rlm_rcode_t | eap_start (request_t *request, rlm_eap_method_t const methods[], bool ignore_unknown_types) |
rlm_rcode_t | eap_success (eap_session_t *eap_session) |
EAP packet composition.
Definition in file compose.h.
struct eap_packet_t |
Structure to hold EAP data.
length = code + id + length + type + type.data = 1 + 1 + 2 + 1 + X
Data Fields | ||
---|---|---|
eap_code_t | code | |
uint8_t | id | |
size_t | length | |
uint8_t * | packet | |
eap_type_data_t | type |
struct eap_round_t |
Contains a pair of request and response packets.
Helps with formulating/correlating requests to responses we've received.
Data Fields | ||
---|---|---|
eap_packet_t * | request | Packet we will send to the peer. |
eap_packet_t * | response | Packet we received from the peer. |
bool | set_request_id | Whether the EAP-Method already set the next request ID. |
rlm_rcode_t eap_compose | ( | eap_session_t * | eap_session | ) |
rlm_rcode_t eap_continue | ( | eap_session_t * | eap_session | ) |
rlm_rcode_t eap_fail | ( | eap_session_t * | eap_session | ) |
eap_round_t * eap_round_build | ( | eap_session_t * | eap_session, |
eap_packet_raw_t ** | eap_packet_p | ||
) |
rlm_rcode_t eap_start | ( | request_t * | request, |
rlm_eap_method_t const | methods[], | ||
bool | ignore_unknown_types | ||
) |
rlm_rcode_t eap_success | ( | eap_session_t * | eap_session | ) |