eapol/eapol_framework/eapol_common/type/aka/core/eap_type_aka.cpp
changeset 39 fe6b6762fccd
parent 33 938269283a16
equal deleted inserted replaced
38:7a0216d033ac 39:fe6b6762fccd
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 39 %
    19 * %version: 41 %
    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
   381 }
   381 }
   382 
   382 
   383 //-----------------------------------------------
   383 //-----------------------------------------------
   384 
   384 
   385 //
   385 //
   386 void eap_type_aka_c::initialize_state(
   386 EAP_FUNC_EXPORT void eap_type_aka_c::initialize_state(
   387 				const eap_type_aka_state_variable_e state,
   387 				const eap_type_aka_state_variable_e state,
   388 				const bool must_be_initiator,
   388 				const bool must_be_initiator,
   389 				const bool must_be_responder,
   389 				const bool must_be_responder,
   390 				const aka_subtype_e type0,
   390 				const aka_subtype_e type0,
   391 				const aka_subtype_e type1,
   391 				const aka_subtype_e type1,
  2898 	return EAP_STATUS_RETURN(m_am_tools, status);
  2898 	return EAP_STATUS_RETURN(m_am_tools, status);
  2899 }
  2899 }
  2900 
  2900 
  2901 
  2901 
  2902 //--------------------------------------------------
  2902 //--------------------------------------------------
  2903 
       
  2904 #if defined(USE_EAP_TRACE)
       
  2905 
  2903 
  2906 // 
  2904 // 
  2907 EAP_FUNC_EXPORT void eap_type_aka_c::packet_trace(
  2905 EAP_FUNC_EXPORT void eap_type_aka_c::packet_trace(
  2908 	eap_const_string prefix,
  2906 	eap_const_string prefix,
  2909 	const eap_am_network_id_c * const /* receive_network_id */,
  2907 	const eap_am_network_id_c * const /* receive_network_id */,
  3008 	}
  3006 	}
  3009 
  3007 
  3010 	EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT);
  3008 	EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT);
  3011 }
  3009 }
  3012 
  3010 
  3013 #endif //#if defined(USE_EAP_TRACE)
  3011 
  3014 
  3012 
  3015 //--------------------------------------------------
  3013 //--------------------------------------------------
  3016 
  3014 
  3017 // 
  3015 // 
  3018 EAP_FUNC_EXPORT eap_variable_data_c * eap_type_aka_c::get_nai_realm()
  3016 EAP_FUNC_EXPORT eap_variable_data_c * eap_type_aka_c::get_nai_realm()