Loading ttcn/LibDiameter_Templates.ttcn +12 −2 Original line number Diff line number Diff line Loading @@ -374,6 +374,12 @@ module LibDiameter_Templates { return v_sum } function f_lengthof_AVP(AVP_Header p_header) return AVP_Length { var AVP_Length v_sum; v_sum := 8 + p_header.aVP_len + f_lengthVid(p_header.aVP_vid); return v_sum } function f_getByteAlignedLength(template AVP_Length p_length) return AVP_Length { return (valueof(p_length) + ((4-valueof(p_length) mod 4) mod 4)); Loading Loading @@ -776,6 +782,10 @@ module LibDiameter_Templates { aVP_Header := m_aVP_HeaderVid_Mbit1(c_user_Name_AVP_Code, lengthof(p_avpData), omit), aVP_Data := p_avpData } template User_Name_AVP mw_userName(template (present) UTF8String p_avpData) := { aVP_Header := mw_aVP_Header_Vbit0Mbit1(c_user_Name_AVP_Code), aVP_Data := p_avpData } } //end group SpecificAVPHeaders } //end group HeaderFieldTemplates Loading ttcn/LibDiameter_Types_CxDx_AVPs.ttcn +2 −2 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ */ module LibDiameter_Types_CxDx_AVPs { import from LibCommon_BasicTypesAndValues {type UInt32;}; import from LibCommon_BasicTypesAndValues {type UInt32;} import from LibDiameter_Types_Base_AVPs all; import from LibDiameter_TypesAndValues all; Loading Loading
ttcn/LibDiameter_Templates.ttcn +12 −2 Original line number Diff line number Diff line Loading @@ -374,6 +374,12 @@ module LibDiameter_Templates { return v_sum } function f_lengthof_AVP(AVP_Header p_header) return AVP_Length { var AVP_Length v_sum; v_sum := 8 + p_header.aVP_len + f_lengthVid(p_header.aVP_vid); return v_sum } function f_getByteAlignedLength(template AVP_Length p_length) return AVP_Length { return (valueof(p_length) + ((4-valueof(p_length) mod 4) mod 4)); Loading Loading @@ -776,6 +782,10 @@ module LibDiameter_Templates { aVP_Header := m_aVP_HeaderVid_Mbit1(c_user_Name_AVP_Code, lengthof(p_avpData), omit), aVP_Data := p_avpData } template User_Name_AVP mw_userName(template (present) UTF8String p_avpData) := { aVP_Header := mw_aVP_Header_Vbit0Mbit1(c_user_Name_AVP_Code), aVP_Data := p_avpData } } //end group SpecificAVPHeaders } //end group HeaderFieldTemplates Loading
ttcn/LibDiameter_Types_CxDx_AVPs.ttcn +2 −2 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ */ module LibDiameter_Types_CxDx_AVPs { import from LibCommon_BasicTypesAndValues {type UInt32;}; import from LibCommon_BasicTypesAndValues {type UInt32;} import from LibDiameter_Types_Base_AVPs all; import from LibDiameter_TypesAndValues all; Loading