Loading ttcn/LibDiameter_Templates.ttcn +11 −11 Original line number Diff line number Diff line Loading @@ -674,31 +674,31 @@ module LibDiameter_Templates { } template Origin_Host_AVP m_originHost(template(value) charstring p_avpData) := { aVP_Header := m_aVP_Header_Mbit1(c_origin_Host_AVP_Code, f_getCharStringLength(p_avpData)), aVP_Header := m_aVP_Header_Mbit1(c_origin_Host_AVP_Code, f_getCharStringLength(valueof(p_avpData))), aVP_Data := p_avpData } template Origin_Realm_AVP m_originRealm(template(value) charstring p_avpData) := { aVP_Header := m_aVP_Header_Mbit1(c_origin_Realm_AVP_Code, f_getCharStringLength(p_avpData)), aVP_Header := m_aVP_Header_Mbit1(c_origin_Realm_AVP_Code, f_getCharStringLength(valueof(p_avpData))), aVP_Data := p_avpData } template Destination_Host_AVP m_destinationHost(template(value) charstring p_avpData) := { aVP_Header := m_aVP_Header_Mbit1(c_destination_Host_AVP_Code, f_getCharStringLength(p_avpData)), aVP_Header := m_aVP_Header_Mbit1(c_destination_Host_AVP_Code, f_getCharStringLength(valueof(p_avpData))), aVP_Data := p_avpData } template Destination_Realm_AVP m_destinationRealm(template(value) charstring p_avpData) := { aVP_Header := m_aVP_Header_Mbit1(c_destination_Realm_AVP_Code, f_getCharStringLength(p_avpData)), aVP_Header := m_aVP_Header_Mbit1(c_destination_Realm_AVP_Code, f_getCharStringLength(valueof(p_avpData))), aVP_Data := p_avpData } template Product_Name_AVP m_productName(template(value) UTF8String p_avpData) := { aVP_Header := m_aVP_Header_Mbit0(c_product_Name_AVP_Code, f_getUTF8StringLength(p_avpData)), aVP_Header := m_aVP_Header_Mbit0(c_product_Name_AVP_Code, f_getUTF8StringLength(valueof(p_avpData))), aVP_Data := p_avpData } Loading Loading @@ -803,7 +803,7 @@ module LibDiameter_Templates { } template User_Name_AVP m_userName(template (value) UTF8String p_avpData) := { aVP_Header := m_aVP_Header_Mbit1(c_user_Name_AVP_Code, f_getUTF8StringLength(p_avpData)), aVP_Header := m_aVP_Header_Mbit1(c_user_Name_AVP_Code, f_getUTF8StringLength(valueof(p_avpData))), aVP_Data := p_avpData } Loading Loading @@ -848,31 +848,31 @@ module LibDiameter_Templates { template Digest_Username_AVP m_digestUsername(template (value) UTF8String p_text) := { Type := c_digest_Username_AVP_Code, Length := f_getUTF8StringLength(p_text), Length := f_getUTF8StringLength(valueof(p_text)), Text := p_text } template Digest_Realm_AVP m_digestRealm(template (value) UTF8String p_text) := { Type := c_digest_Realm_AVP_Code, Length := f_getUTF8StringLength(p_text), Length := f_getUTF8StringLength(valueof(p_text)), Text := p_text } template Digest_Nonce_AVP m_digestNonce(template (value) UTF8String p_text) := { Type := c_digest_Realm_AVP_Code, Length := f_getUTF8StringLength(p_text), Length := f_getUTF8StringLength(valueof(p_text)), Text := p_text } template Digest_URI_AVP m_digestUri(template (value) UTF8String p_text) := { Type := c_digest_URI_AVP_Code, Length := f_getUTF8StringLength(p_text), Length := f_getUTF8StringLength(valueof(p_text)), Text := p_text } template Digest_Response_AVP m_digestResponse(template (value) UTF8String p_text) := { Type := c_digest_Response_AVP_Code, Length := f_getUTF8StringLength(p_text), Length := f_getUTF8StringLength(valueof(p_text)), Text := p_text } Loading ttcn/LibDiameter_TypesAndValues.ttcn +28 −5 Original line number Diff line number Diff line Loading @@ -143,6 +143,11 @@ group BasicTypesAndConstants{ const integer c_sIP_User_Data_Type_AVP_Code := 390; //Ref: RFC4740 9.12.1. SIP-User-Data-Type AVP const integer c_sIP_Visited_Network_Id_AVP_Code := 386; //Ref: RFC4740 9.9. SIP-Visited-Network-Id AVP } // End of group AVPCodeConstantsRFC4740 group AVPCodeConstantsRFC5580 { const integer c_operator_Name_AVP_Code := 126; //Ref: RFC5580 Operator_Name_AVP const integer c_location_Information_AVP_Code := 127; //Ref: RFC5580 Location_Information_AVP const integer c_location_Data_AVP_Code := 128; //Ref: RFC5580 Location_Data_AVP } // End of group AVPCodeConstantsRFC5580 group AVPCodeConstantsCxDx_TS129_229{ const integer c_visited_Network_Identifier_AVP_Code := 600; //Ref: TS 129.229 6.3.1 Visited_Network_Identifier const integer c_public_Identity_AVP_Code := 601; //Ref: TS 129.229 6.3.2 Public_Identity Loading Loading @@ -487,10 +492,19 @@ group BasicTypesAndConstants{ const integer c_ps_Append_Free_Format_Data_AVP_Code := 867; //Ref ETSI TS 132 299 PS_Append_Free_Format_Data_AVP const integer c_service_Information_AVP_Code := 873; //Ref ETSI TS 132 299 Service_Information_AVP const integer c_ps_Information_AVP_Code := 874; //Ref ETSI TS 132 299 PS_Information_AVP const integer c_wlan_Information_AVP_Code := 875; //Ref ETSI TS 132 299 WLAN_Information_AVP const integer c_quota_Consumption_Time_AVP_Code := 881; //Ref ETSI TS 132 299 Quota_Consumption_Time_AVP const integer c_wag_Address_AVP_Code := 890; //Ref ETSI TS 132 299 WAG_Address_AVP const integer c_wag_PLMN_Ids_AVP_Code := 891; //Ref ETSI TS 132 299 WAG_Address_AVP const integer c_wlan_Radio_Container_AVP_Code := 892; //Ref ETSI TS 132 299 WLAN_Radio_Container const integer c_wlan_Technology_AVP_Code := 893; //Ref ETSI TS 132 299 WLAN_Technology_AVP const integer c_wlan_UE_Local_IPAddress_AVP_Code := 894; //Ref ETSI TS 132 299 WLAN_UE_Local_IPAddress_AVP const integer c_pdg_Address_AVP_Code := 895; //Ref ETSI TS 132 299 PDG_Address_AVP const integer c_pdg_Charging_Id_AVP_Code := 896; //Ref ETSI TS 132 299 PDG_Charging_Id_AVP const integer c_unit_Quota_Threshold_AVP_Code := 1226; //Ref ETSI TS 132 299 Unit_Quota_Threshold_AVP const integer c_sgsn_Address_AVP_Code := 1228; //Ref ETSI TS 132 299 SGSN_Address_AVP const integer c_wlan_Session_Id_AVP_Code := 1246; //Ref ETSI TS 132 299 WLAN_Session_Id_AVP const integer c_pdp_Context_Type_AVP_Code := 1247; //Ref ETSI TS 132 299 PDP_Context_Type_AVP const integer c_service_Specific_Type_AVP_Code := 1257; //Ref ETSI TS 132 299 Service_Specific_Type_AVP const integer c_base_Time_Interval_AVP_Code := 1265; //Ref ETSI TS 132 299 Base_Time_Interval_AVP Loading @@ -499,7 +513,10 @@ group BasicTypesAndConstants{ const integer c_Time_Quota_Type_AVP_Code := 1271; //Ref ETSI TS 132 299 Time_Quota_Type_AVP const integer c_af_Correlation_Information_AVP_Code := 1276; //Ref ETSI TS 132 299 AF_Correlation_Information_AVP const integer c_offline_Charging_AVP_Code := 1278; //Ref ETSI TS 132 299 Offline_Charging_AVP const integer c_cSG_Id_AVP_Code := 1437; //Ref: ETSI TS 132 299 CSG_Id_AVP const integer c_low_Balance_Indication_AVP_Code := 2020; //Ref ETSI TS 132 299 Low_Balance_Indication_AVP const integer c_remaining_Balance_AVP_Code := 2021; //Ref ETSI TS 132 299 Remaining_Balance_AVP const integer c_node_Id_AVP_Code := 2034; //Ref ETSI TS 132 299 Node_Id_AVP const integer c_change_Condition_AVP_Code := 2037; //Ref ETSI TS 132 299 Change_Condition_AVP const integer c_change_Time_AVP_Code := 2038; //Ref ETSI TS 132 299 Change_Time_AVP Loading @@ -517,6 +534,7 @@ group BasicTypesAndConstants{ const integer c_accumulated_Cost_AVP_Code := 2052; //Ref ETSI TS 132 299 Accumulated_Cost_AVP const integer c_aoc_Cost_Information_AVP_Code := 2053; //Ref ETSI TS 132 299 AoC_Cost_Information_AVP const integer c_aoc_Information_AVP_Code := 2054; //Ref ETSI TS 132 299 AoC_Information_AVP const integer c_aoc_Request_Type_AVP_Code := 2055; //Ref ETSI TS 132 299 AoC_Request_Type_AVP const integer c_current_Tariff_AVP_Code := 2056; //Ref ETSI TS 132 299 Current_Tariff_AVP const integer c_next_Tariff_AVP_Code := 2057; //Ref ETSI TS 132 299 Next_Tariff_AVP const integer c_rate_Element_AVP_Code := 2058; //Ref ETSI TS 132 299 Rate_Element_AVP Loading @@ -530,11 +548,16 @@ group BasicTypesAndConstants{ const integer c_sgw_Address_AVP_Code := 2067; //Ref ETSI TS 132 299 SGW_Address_AVP const integer c_dynamic_Address_Flag_Extension_AVP_Code := 2068; //Ref ETSI TS 132 299 Dynamic_Address_Flag_Extension_AVP const integer c_user_CSG_Information_AVP_Code := 2319; //Ref: ETSI TS 132 299 User_CSG_Information_AVP const integer c_cSG_Id_AVP_Code := 1437; //Ref: ETSI TS 132 299 CSG_Id_AVP const integer c_cSG_Access_Mode_AVP_Code := 2317; //Ref: ETSI TS 132 299 CSG_Access_Mode_AVP const integer c_cSG_Membership_Indication_AVP_Code := 2318;//Ref: ETSI TS 132 299 CSG_Membership_Indication_AVP const integer c_imsi_Unauthenticated_Flag_AVP_Code := 2308;//Ref: ETSI TS 132 299 IMSI_Unauthenticated_Flag_AVP const integer c_aoc_Format_AVP_Code := 2310;//Ref: ETSI TS 132 299 AoC_Format_AVP const integer c_aoc_Service_AVP_Code := 2311;//Ref: ETSI TS 132 299 AoC_Service_AVP const integer c_aoc_Service_Obligatory_Type_AVP_Code := 2312;//Ref: ETSI TS 132 299 AoC_Service_Obligatory_Type_AVP const integer c_aoc_Service_Type_AVP_Code := 2313;//Ref: ETSI TS 132 299 AoC_Service_Type_AVP const integer c_aoc_Subscription_Information_AVP_Code:= 2314;//Ref: ETSI TS 132 299 AoC_Subscription_Information_AVP const integer c_preferred_AoC_Currency_AVP_Code := 2315;//Ref: ETSI TS 132 299 Preferred_AoC_Currency_AVP const integer c_user_CSG_Information_AVP_Code := 2319; //Ref: ETSI TS 132 299 User_CSG_Information_AVP const integer c_low_Priority_Indicator_AVP_Code := 2602;//Ref: ETSI TS 132 299 Low_Priority_Indicator const integer c_pdp_Address_Prefix_Length_AVP_Code := 2606;//Ref: ETSI TS 132 299 PDP_Address_Prefix_Length_AVP Loading ttcn/LibDiameter_Types_RfRo_AVPs.ttcn3 +444 −90 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
ttcn/LibDiameter_Templates.ttcn +11 −11 Original line number Diff line number Diff line Loading @@ -674,31 +674,31 @@ module LibDiameter_Templates { } template Origin_Host_AVP m_originHost(template(value) charstring p_avpData) := { aVP_Header := m_aVP_Header_Mbit1(c_origin_Host_AVP_Code, f_getCharStringLength(p_avpData)), aVP_Header := m_aVP_Header_Mbit1(c_origin_Host_AVP_Code, f_getCharStringLength(valueof(p_avpData))), aVP_Data := p_avpData } template Origin_Realm_AVP m_originRealm(template(value) charstring p_avpData) := { aVP_Header := m_aVP_Header_Mbit1(c_origin_Realm_AVP_Code, f_getCharStringLength(p_avpData)), aVP_Header := m_aVP_Header_Mbit1(c_origin_Realm_AVP_Code, f_getCharStringLength(valueof(p_avpData))), aVP_Data := p_avpData } template Destination_Host_AVP m_destinationHost(template(value) charstring p_avpData) := { aVP_Header := m_aVP_Header_Mbit1(c_destination_Host_AVP_Code, f_getCharStringLength(p_avpData)), aVP_Header := m_aVP_Header_Mbit1(c_destination_Host_AVP_Code, f_getCharStringLength(valueof(p_avpData))), aVP_Data := p_avpData } template Destination_Realm_AVP m_destinationRealm(template(value) charstring p_avpData) := { aVP_Header := m_aVP_Header_Mbit1(c_destination_Realm_AVP_Code, f_getCharStringLength(p_avpData)), aVP_Header := m_aVP_Header_Mbit1(c_destination_Realm_AVP_Code, f_getCharStringLength(valueof(p_avpData))), aVP_Data := p_avpData } template Product_Name_AVP m_productName(template(value) UTF8String p_avpData) := { aVP_Header := m_aVP_Header_Mbit0(c_product_Name_AVP_Code, f_getUTF8StringLength(p_avpData)), aVP_Header := m_aVP_Header_Mbit0(c_product_Name_AVP_Code, f_getUTF8StringLength(valueof(p_avpData))), aVP_Data := p_avpData } Loading Loading @@ -803,7 +803,7 @@ module LibDiameter_Templates { } template User_Name_AVP m_userName(template (value) UTF8String p_avpData) := { aVP_Header := m_aVP_Header_Mbit1(c_user_Name_AVP_Code, f_getUTF8StringLength(p_avpData)), aVP_Header := m_aVP_Header_Mbit1(c_user_Name_AVP_Code, f_getUTF8StringLength(valueof(p_avpData))), aVP_Data := p_avpData } Loading Loading @@ -848,31 +848,31 @@ module LibDiameter_Templates { template Digest_Username_AVP m_digestUsername(template (value) UTF8String p_text) := { Type := c_digest_Username_AVP_Code, Length := f_getUTF8StringLength(p_text), Length := f_getUTF8StringLength(valueof(p_text)), Text := p_text } template Digest_Realm_AVP m_digestRealm(template (value) UTF8String p_text) := { Type := c_digest_Realm_AVP_Code, Length := f_getUTF8StringLength(p_text), Length := f_getUTF8StringLength(valueof(p_text)), Text := p_text } template Digest_Nonce_AVP m_digestNonce(template (value) UTF8String p_text) := { Type := c_digest_Realm_AVP_Code, Length := f_getUTF8StringLength(p_text), Length := f_getUTF8StringLength(valueof(p_text)), Text := p_text } template Digest_URI_AVP m_digestUri(template (value) UTF8String p_text) := { Type := c_digest_URI_AVP_Code, Length := f_getUTF8StringLength(p_text), Length := f_getUTF8StringLength(valueof(p_text)), Text := p_text } template Digest_Response_AVP m_digestResponse(template (value) UTF8String p_text) := { Type := c_digest_Response_AVP_Code, Length := f_getUTF8StringLength(p_text), Length := f_getUTF8StringLength(valueof(p_text)), Text := p_text } Loading
ttcn/LibDiameter_TypesAndValues.ttcn +28 −5 Original line number Diff line number Diff line Loading @@ -143,6 +143,11 @@ group BasicTypesAndConstants{ const integer c_sIP_User_Data_Type_AVP_Code := 390; //Ref: RFC4740 9.12.1. SIP-User-Data-Type AVP const integer c_sIP_Visited_Network_Id_AVP_Code := 386; //Ref: RFC4740 9.9. SIP-Visited-Network-Id AVP } // End of group AVPCodeConstantsRFC4740 group AVPCodeConstantsRFC5580 { const integer c_operator_Name_AVP_Code := 126; //Ref: RFC5580 Operator_Name_AVP const integer c_location_Information_AVP_Code := 127; //Ref: RFC5580 Location_Information_AVP const integer c_location_Data_AVP_Code := 128; //Ref: RFC5580 Location_Data_AVP } // End of group AVPCodeConstantsRFC5580 group AVPCodeConstantsCxDx_TS129_229{ const integer c_visited_Network_Identifier_AVP_Code := 600; //Ref: TS 129.229 6.3.1 Visited_Network_Identifier const integer c_public_Identity_AVP_Code := 601; //Ref: TS 129.229 6.3.2 Public_Identity Loading Loading @@ -487,10 +492,19 @@ group BasicTypesAndConstants{ const integer c_ps_Append_Free_Format_Data_AVP_Code := 867; //Ref ETSI TS 132 299 PS_Append_Free_Format_Data_AVP const integer c_service_Information_AVP_Code := 873; //Ref ETSI TS 132 299 Service_Information_AVP const integer c_ps_Information_AVP_Code := 874; //Ref ETSI TS 132 299 PS_Information_AVP const integer c_wlan_Information_AVP_Code := 875; //Ref ETSI TS 132 299 WLAN_Information_AVP const integer c_quota_Consumption_Time_AVP_Code := 881; //Ref ETSI TS 132 299 Quota_Consumption_Time_AVP const integer c_wag_Address_AVP_Code := 890; //Ref ETSI TS 132 299 WAG_Address_AVP const integer c_wag_PLMN_Ids_AVP_Code := 891; //Ref ETSI TS 132 299 WAG_Address_AVP const integer c_wlan_Radio_Container_AVP_Code := 892; //Ref ETSI TS 132 299 WLAN_Radio_Container const integer c_wlan_Technology_AVP_Code := 893; //Ref ETSI TS 132 299 WLAN_Technology_AVP const integer c_wlan_UE_Local_IPAddress_AVP_Code := 894; //Ref ETSI TS 132 299 WLAN_UE_Local_IPAddress_AVP const integer c_pdg_Address_AVP_Code := 895; //Ref ETSI TS 132 299 PDG_Address_AVP const integer c_pdg_Charging_Id_AVP_Code := 896; //Ref ETSI TS 132 299 PDG_Charging_Id_AVP const integer c_unit_Quota_Threshold_AVP_Code := 1226; //Ref ETSI TS 132 299 Unit_Quota_Threshold_AVP const integer c_sgsn_Address_AVP_Code := 1228; //Ref ETSI TS 132 299 SGSN_Address_AVP const integer c_wlan_Session_Id_AVP_Code := 1246; //Ref ETSI TS 132 299 WLAN_Session_Id_AVP const integer c_pdp_Context_Type_AVP_Code := 1247; //Ref ETSI TS 132 299 PDP_Context_Type_AVP const integer c_service_Specific_Type_AVP_Code := 1257; //Ref ETSI TS 132 299 Service_Specific_Type_AVP const integer c_base_Time_Interval_AVP_Code := 1265; //Ref ETSI TS 132 299 Base_Time_Interval_AVP Loading @@ -499,7 +513,10 @@ group BasicTypesAndConstants{ const integer c_Time_Quota_Type_AVP_Code := 1271; //Ref ETSI TS 132 299 Time_Quota_Type_AVP const integer c_af_Correlation_Information_AVP_Code := 1276; //Ref ETSI TS 132 299 AF_Correlation_Information_AVP const integer c_offline_Charging_AVP_Code := 1278; //Ref ETSI TS 132 299 Offline_Charging_AVP const integer c_cSG_Id_AVP_Code := 1437; //Ref: ETSI TS 132 299 CSG_Id_AVP const integer c_low_Balance_Indication_AVP_Code := 2020; //Ref ETSI TS 132 299 Low_Balance_Indication_AVP const integer c_remaining_Balance_AVP_Code := 2021; //Ref ETSI TS 132 299 Remaining_Balance_AVP const integer c_node_Id_AVP_Code := 2034; //Ref ETSI TS 132 299 Node_Id_AVP const integer c_change_Condition_AVP_Code := 2037; //Ref ETSI TS 132 299 Change_Condition_AVP const integer c_change_Time_AVP_Code := 2038; //Ref ETSI TS 132 299 Change_Time_AVP Loading @@ -517,6 +534,7 @@ group BasicTypesAndConstants{ const integer c_accumulated_Cost_AVP_Code := 2052; //Ref ETSI TS 132 299 Accumulated_Cost_AVP const integer c_aoc_Cost_Information_AVP_Code := 2053; //Ref ETSI TS 132 299 AoC_Cost_Information_AVP const integer c_aoc_Information_AVP_Code := 2054; //Ref ETSI TS 132 299 AoC_Information_AVP const integer c_aoc_Request_Type_AVP_Code := 2055; //Ref ETSI TS 132 299 AoC_Request_Type_AVP const integer c_current_Tariff_AVP_Code := 2056; //Ref ETSI TS 132 299 Current_Tariff_AVP const integer c_next_Tariff_AVP_Code := 2057; //Ref ETSI TS 132 299 Next_Tariff_AVP const integer c_rate_Element_AVP_Code := 2058; //Ref ETSI TS 132 299 Rate_Element_AVP Loading @@ -530,11 +548,16 @@ group BasicTypesAndConstants{ const integer c_sgw_Address_AVP_Code := 2067; //Ref ETSI TS 132 299 SGW_Address_AVP const integer c_dynamic_Address_Flag_Extension_AVP_Code := 2068; //Ref ETSI TS 132 299 Dynamic_Address_Flag_Extension_AVP const integer c_user_CSG_Information_AVP_Code := 2319; //Ref: ETSI TS 132 299 User_CSG_Information_AVP const integer c_cSG_Id_AVP_Code := 1437; //Ref: ETSI TS 132 299 CSG_Id_AVP const integer c_cSG_Access_Mode_AVP_Code := 2317; //Ref: ETSI TS 132 299 CSG_Access_Mode_AVP const integer c_cSG_Membership_Indication_AVP_Code := 2318;//Ref: ETSI TS 132 299 CSG_Membership_Indication_AVP const integer c_imsi_Unauthenticated_Flag_AVP_Code := 2308;//Ref: ETSI TS 132 299 IMSI_Unauthenticated_Flag_AVP const integer c_aoc_Format_AVP_Code := 2310;//Ref: ETSI TS 132 299 AoC_Format_AVP const integer c_aoc_Service_AVP_Code := 2311;//Ref: ETSI TS 132 299 AoC_Service_AVP const integer c_aoc_Service_Obligatory_Type_AVP_Code := 2312;//Ref: ETSI TS 132 299 AoC_Service_Obligatory_Type_AVP const integer c_aoc_Service_Type_AVP_Code := 2313;//Ref: ETSI TS 132 299 AoC_Service_Type_AVP const integer c_aoc_Subscription_Information_AVP_Code:= 2314;//Ref: ETSI TS 132 299 AoC_Subscription_Information_AVP const integer c_preferred_AoC_Currency_AVP_Code := 2315;//Ref: ETSI TS 132 299 Preferred_AoC_Currency_AVP const integer c_user_CSG_Information_AVP_Code := 2319; //Ref: ETSI TS 132 299 User_CSG_Information_AVP const integer c_low_Priority_Indicator_AVP_Code := 2602;//Ref: ETSI TS 132 299 Low_Priority_Indicator const integer c_pdp_Address_Prefix_Length_AVP_Code := 2606;//Ref: ETSI TS 132 299 PDP_Address_Prefix_Length_AVP Loading
ttcn/LibDiameter_Types_RfRo_AVPs.ttcn3 +444 −90 File changed.Preview size limit exceeded, changes collapsed. Show changes