Loading ttcn/LibDiameter_Templates.ttcn +157 −3 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ module LibDiameter_Templates { //LibDiameter import from LibDiameter_TypesAndValues all; import from AtsCommon_PIXITS all; group LowerLayerPrimitives { Loading Loading @@ -149,6 +150,52 @@ module LibDiameter_Templates { } //end group ModuleParameters group SubFields{ template Media_Component_Description_AVP mw_mediaComponentDescription := { aVP_Header := { aVP_Code := ?, aVP_flags := { v_bit := ?, m_bit := ?, p_bit := ?, reserved_bits := ? }, aVP_len := ?, aVP_vid := ? }, media_Component_Nr := {aVP_Header := ?, aVP_Data := ?}, media_Sub_component := *, af_Application_Id := *, media_type := *, max_Requested_Bw_Ul := *, max_Requested_Bw_Dl := *, flow_Status := *, reservation_Priority := *, rs_Bw := *, rr_Bw := *, codec_data := * } template Media_Component_Description_AVP mw_mediaComponentDescription_flowStatus (template Flow_Status_AVP p_flowStatus) modifies mw_mediaComponentDescription := { flow_Status := p_flowStatus } template Flow_Status_AVP mw_flowStatus := { aVP_Header := { aVP_Code := ?, aVP_flags := { v_bit := ?, m_bit := ?, p_bit := ?, reserved_bits := ? }, aVP_len := ?, aVP_vid := ? }, aVP_Data := ? } } //end group SubFields group HeaderFieldTemplates{ Loading Loading @@ -198,7 +245,7 @@ module LibDiameter_Templates { } } //end group DiameterHeaderGroup group SpecificAVPHeaders{ group DummyAVPHeaders{ template Origin_Host_AVP m_originHost_dummy := { Loading Loading @@ -373,6 +420,43 @@ module LibDiameter_Templates { }, aVP_Data := 0 } } //end group DummyAVPHeaders group SpecificAVPHeaders { template Framed_IP_Address_AVP mw_framedIpAddress(template octetstring p_avpData) := { aVP_Header := { aVP_Code := ?, aVP_flags := { v_bit := ?, m_bit := ?, p_bit := ?, reserved_bits := ? }, aVP_len := ?, aVP_vid := ? }, aVP_Data := p_avpData } template Framed_IPv6_Prefix_AVP mw_framedIp6Address(template octetstring p_avpData) := { aVP_Header := { aVP_Code := ?, aVP_flags := { v_bit := ?, m_bit := ?, p_bit := ?, reserved_bits := ? }, aVP_len := ?, aVP_vid := ? }, aVP_Data := p_avpData } } //end group SpecificAVPHeaders Loading Loading @@ -811,9 +895,79 @@ module LibDiameter_Templates { }//end group dummy_answer_templates_receive } //end group dummy_templates group base_templates { group basic_request_templates_receive { template AAR_MSG mw_AAR_basic(template Session_Id_AVP p_sessionId, template Origin_Host_AVP p_originHost, template Origin_Realm_AVP p_originRealm, template Destination_Realm_AVP p_destinationRealm, template Destination_Host_AVP p_destinationHost, template Auth_Application_Id_AVP p_authApplicationId) modifies mw_AAR_dummy := { session_Id := p_sessionId, origin_Host := p_originHost, origin_Realm := p_originRealm, destination_Realm := p_destinationRealm, destination_Host := p_destinationHost, auth_Application_Id := p_authApplicationId } }//end group basic_request_templates_receive } //end group base_templates group modified_templates { group modified_request_templates_receive { template AAR_MSG mw_AAR_FIP_Media1(template Session_Id_AVP p_sessionId, template Origin_Host_AVP p_originHost, template Origin_Realm_AVP p_originRealm, template Destination_Realm_AVP p_destinationRealm, template Destination_Host_AVP p_destinationHost, template Auth_Application_Id_AVP p_authApplicationId, template Framed_IP_Address_AVP p_framedIpAddress, template Framed_IPv6_Prefix_AVP p_framedIp6Address, template Media_Component_Description_AVP p_mediaComponentDescription) modifies mw_AAR_basic := { framed_IP_Address := p_framedIpAddress, framed_IPv6_Address := p_framedIp6Address, media_Component_Description := {p_mediaComponentDescription} } } // end group modified_request_templates_receive } //end group modified_templates } //end group MessageTemplates function f_framedIpAddress4 () return template Framed_IP_Address_AVP {if (PX_IPv6) {return(omit)} else {return(mw_framedIpAddress(PX_UE_framedIpAddress))}} function f_framedIpAddress6 () return template Framed_IPv6_Prefix_AVP {if (PX_IPv6) {return(mw_framedIp6Address(PX_UE_framedIp6Address))} else {return(omit)}} }//end module LibDiameter_Templates No newline at end of file ttcn/LibDiameter_TypesAndValues.ttcn +1 −1 File changed.Contains only whitespace changes. Show changes Loading
ttcn/LibDiameter_Templates.ttcn +157 −3 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ module LibDiameter_Templates { //LibDiameter import from LibDiameter_TypesAndValues all; import from AtsCommon_PIXITS all; group LowerLayerPrimitives { Loading Loading @@ -149,6 +150,52 @@ module LibDiameter_Templates { } //end group ModuleParameters group SubFields{ template Media_Component_Description_AVP mw_mediaComponentDescription := { aVP_Header := { aVP_Code := ?, aVP_flags := { v_bit := ?, m_bit := ?, p_bit := ?, reserved_bits := ? }, aVP_len := ?, aVP_vid := ? }, media_Component_Nr := {aVP_Header := ?, aVP_Data := ?}, media_Sub_component := *, af_Application_Id := *, media_type := *, max_Requested_Bw_Ul := *, max_Requested_Bw_Dl := *, flow_Status := *, reservation_Priority := *, rs_Bw := *, rr_Bw := *, codec_data := * } template Media_Component_Description_AVP mw_mediaComponentDescription_flowStatus (template Flow_Status_AVP p_flowStatus) modifies mw_mediaComponentDescription := { flow_Status := p_flowStatus } template Flow_Status_AVP mw_flowStatus := { aVP_Header := { aVP_Code := ?, aVP_flags := { v_bit := ?, m_bit := ?, p_bit := ?, reserved_bits := ? }, aVP_len := ?, aVP_vid := ? }, aVP_Data := ? } } //end group SubFields group HeaderFieldTemplates{ Loading Loading @@ -198,7 +245,7 @@ module LibDiameter_Templates { } } //end group DiameterHeaderGroup group SpecificAVPHeaders{ group DummyAVPHeaders{ template Origin_Host_AVP m_originHost_dummy := { Loading Loading @@ -373,6 +420,43 @@ module LibDiameter_Templates { }, aVP_Data := 0 } } //end group DummyAVPHeaders group SpecificAVPHeaders { template Framed_IP_Address_AVP mw_framedIpAddress(template octetstring p_avpData) := { aVP_Header := { aVP_Code := ?, aVP_flags := { v_bit := ?, m_bit := ?, p_bit := ?, reserved_bits := ? }, aVP_len := ?, aVP_vid := ? }, aVP_Data := p_avpData } template Framed_IPv6_Prefix_AVP mw_framedIp6Address(template octetstring p_avpData) := { aVP_Header := { aVP_Code := ?, aVP_flags := { v_bit := ?, m_bit := ?, p_bit := ?, reserved_bits := ? }, aVP_len := ?, aVP_vid := ? }, aVP_Data := p_avpData } } //end group SpecificAVPHeaders Loading Loading @@ -811,9 +895,79 @@ module LibDiameter_Templates { }//end group dummy_answer_templates_receive } //end group dummy_templates group base_templates { group basic_request_templates_receive { template AAR_MSG mw_AAR_basic(template Session_Id_AVP p_sessionId, template Origin_Host_AVP p_originHost, template Origin_Realm_AVP p_originRealm, template Destination_Realm_AVP p_destinationRealm, template Destination_Host_AVP p_destinationHost, template Auth_Application_Id_AVP p_authApplicationId) modifies mw_AAR_dummy := { session_Id := p_sessionId, origin_Host := p_originHost, origin_Realm := p_originRealm, destination_Realm := p_destinationRealm, destination_Host := p_destinationHost, auth_Application_Id := p_authApplicationId } }//end group basic_request_templates_receive } //end group base_templates group modified_templates { group modified_request_templates_receive { template AAR_MSG mw_AAR_FIP_Media1(template Session_Id_AVP p_sessionId, template Origin_Host_AVP p_originHost, template Origin_Realm_AVP p_originRealm, template Destination_Realm_AVP p_destinationRealm, template Destination_Host_AVP p_destinationHost, template Auth_Application_Id_AVP p_authApplicationId, template Framed_IP_Address_AVP p_framedIpAddress, template Framed_IPv6_Prefix_AVP p_framedIp6Address, template Media_Component_Description_AVP p_mediaComponentDescription) modifies mw_AAR_basic := { framed_IP_Address := p_framedIpAddress, framed_IPv6_Address := p_framedIp6Address, media_Component_Description := {p_mediaComponentDescription} } } // end group modified_request_templates_receive } //end group modified_templates } //end group MessageTemplates function f_framedIpAddress4 () return template Framed_IP_Address_AVP {if (PX_IPv6) {return(omit)} else {return(mw_framedIpAddress(PX_UE_framedIpAddress))}} function f_framedIpAddress6 () return template Framed_IPv6_Prefix_AVP {if (PX_IPv6) {return(mw_framedIp6Address(PX_UE_framedIp6Address))} else {return(omit)}} }//end module LibDiameter_Templates No newline at end of file
ttcn/LibDiameter_TypesAndValues.ttcn +1 −1 File changed.Contains only whitespace changes. Show changes