1292 EAP_FUNC_IMPORT eap_status_e check_NAI( |
1292 EAP_FUNC_IMPORT eap_status_e check_NAI( |
1293 const u8_t * const identity, |
1293 const u8_t * const identity, |
1294 const u32_t identity_length, |
1294 const u32_t identity_length, |
1295 const u8_t * const at_character); |
1295 const u8_t * const at_character); |
1296 |
1296 |
|
1297 |
|
1298 #if defined(USE_EAP_TRACE) |
|
1299 |
1297 /** |
1300 /** |
1298 * This function traces the EAP packet. |
1301 * This function traces the EAP packet. |
1299 */ |
1302 */ |
1300 EAP_FUNC_IMPORT void packet_trace( |
1303 EAP_FUNC_IMPORT void packet_trace( |
1301 eap_const_string prefix, |
1304 eap_const_string prefix, |
1302 const eap_am_network_id_c * const receive_network_id, |
1305 const eap_am_network_id_c * const receive_network_id, |
1303 eap_header_wr_c * const received_eap, |
1306 eap_header_wr_c * const received_eap, |
1304 const u32_t eap_packet_length); |
1307 const u32_t eap_packet_length); |
1305 |
|
1306 #if defined(USE_EAP_TRACE) |
|
1307 |
1308 |
1308 #define EAP_AKA_PACKET_TRACE(prefix, receive_network_id, received_eap, eap_packet_length) \ |
1309 #define EAP_AKA_PACKET_TRACE(prefix, receive_network_id, received_eap, eap_packet_length) \ |
1309 packet_trace((prefix), (receive_network_id), (received_eap), (eap_packet_length)) |
1310 packet_trace((prefix), (receive_network_id), (received_eap), (eap_packet_length)) |
1310 |
1311 |
1311 #else |
1312 #else |
1935 |
1936 |
1936 EAP_FUNC_IMPORT eap_status_e cancel_timer( |
1937 EAP_FUNC_IMPORT eap_status_e cancel_timer( |
1937 abs_eap_base_timer_c * const p_initializer, |
1938 abs_eap_base_timer_c * const p_initializer, |
1938 const u32_t p_id); |
1939 const u32_t p_id); |
1939 |
1940 |
|
1941 // |
|
1942 EAP_FUNC_IMPORT eap_status_e cancel_all_timers(); |
|
1943 |
1940 EAP_FUNC_IMPORT static eap_const_string get_identity_string(const eap_type_aka_identity_type identity_type); |
1944 EAP_FUNC_IMPORT static eap_const_string get_identity_string(const eap_type_aka_identity_type identity_type); |
1941 |
1945 |
1942 /** |
1946 /** |
1943 * This function returns string of the state. This is for trace purposes. |
1947 * This function returns string of the state. This is for trace purposes. |
1944 * NOTE this is static member function. |
1948 * NOTE this is static member function. |