eapol/eapol_framework/eapol_common/type/gsmsim/core/eap_type_gsmsim_header.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: 10.1.2 %
    19 * %version: 12 %
    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
   302 	{
   302 	{
   303 		return 0;
   303 		return 0;
   304 	}
   304 	}
   305 }
   305 }
   306 
   306 
   307 EAP_FUNC_EXPORT u32_t gsmsim_header_c::get_sub_type_offset() const
   307 u32_t gsmsim_header_c::get_sub_type_offset() const
   308 {
   308 {
   309 	return eap_header_base_c::get_header_length() + eap_header_base_c::get_type_field_length() + m_subtype_delta_offset;
   309 	return eap_header_base_c::get_header_length() + eap_header_base_c::get_type_field_length() + m_subtype_delta_offset;
   310 }
   310 }
   311 
   311 
   312 EAP_FUNC_EXPORT u32_t gsmsim_header_c::get_header_length() const
   312 EAP_FUNC_EXPORT u32_t gsmsim_header_c::get_header_length() const