eapol/eapol_framework/eapol_common/type/gsmsim/core/eap_type_gsmsim_payloads.cpp
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 7.1.3 %
    19 * %version: 10 %
    20 */
    20 */
    21 
    21 
    22 // This is enumeration of EAPOL source code.
    22 // This is enumeration of EAPOL source code.
    23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES)
    23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES)
    24 	#undef EAP_FILE_NUMBER_ENUM
    24 	#undef EAP_FILE_NUMBER_ENUM
   267 		&& check_one_payload(NEXT_REAUTH_ID, get_NEXT_REAUTH_ID()) == true
   267 		&& check_one_payload(NEXT_REAUTH_ID, get_NEXT_REAUTH_ID()) == true
   268 		&& check_one_payload(NOTIFICATION, get_NOTIFICATION()) == true
   268 		&& check_one_payload(NOTIFICATION, get_NOTIFICATION()) == true
   269 		&& check_one_payload(VERSION_LIST, get_VERSION_LIST()) == true
   269 		&& check_one_payload(VERSION_LIST, get_VERSION_LIST()) == true
   270 		&& check_one_payload(SELECTED_VERSION, get_SELECTED_VERSION()) == true
   270 		&& check_one_payload(SELECTED_VERSION, get_SELECTED_VERSION()) == true
   271 		&& check_one_payload(COUNTER, get_COUNTER()) == true
   271 		&& check_one_payload(COUNTER, get_COUNTER()) == true
   272 		&& check_one_payload(COUNTER_TOO_SMALL, get_counter_too_small()) == true
   272 		&& check_one_payload(COUNTER_TOO_SMALL, get_COUNTER_TOO_SMALL()) == true
   273 		&& check_one_payload(CLIENT_ERROR_CODE, get_CLIENT_ERROR_CODE()) == true
   273 		&& check_one_payload(CLIENT_ERROR_CODE, get_CLIENT_ERROR_CODE()) == true
   274 		&& check_one_payload(RESULT_IND, get_RESULT_IND()) == true
   274 		&& check_one_payload(RESULT_IND, get_RESULT_IND()) == true
   275 		)
   275 		)
   276 	{
   276 	{
   277 		return true;
   277 		return true;
   376 EAP_FUNC_EXPORT gsmsim_variable_data_c * gsmsim_payloads_c::get_COUNTER()
   376 EAP_FUNC_EXPORT gsmsim_variable_data_c * gsmsim_payloads_c::get_COUNTER()
   377 {
   377 {
   378 	return static_cast<gsmsim_variable_data_c *>(&m_COUNTER);
   378 	return static_cast<gsmsim_variable_data_c *>(&m_COUNTER);
   379 }
   379 }
   380 
   380 
   381 EAP_FUNC_EXPORT gsmsim_variable_data_c * gsmsim_payloads_c::get_counter_too_small()
   381 EAP_FUNC_EXPORT gsmsim_variable_data_c * gsmsim_payloads_c::get_COUNTER_TOO_SMALL()
   382 {
   382 {
   383 	return static_cast<gsmsim_variable_data_c *>(&m_COUNTER_TOO_SMALL);
   383 	return static_cast<gsmsim_variable_data_c *>(&m_COUNTER_TOO_SMALL);
   384 }
   384 }
   385 
   385 
   386 
   386