Commit 15bf2cad authored by garciay's avatar garciay
Browse files

Move PUR/A into PUER/A

parent 98550a7b
Loading
Loading
Loading
Loading
+4 −9
Original line number Diff line number Diff line
@@ -252,7 +252,7 @@ module LibDiameter_Templates {
                reserved_bits := '00000'B
            }

            template AVP_Flags mw_avpFlags_VMbits(template Bit1 p_vbit, template Bit1 p_mbit) := {
            template AVP_Flags mw_avpFlags_VMbits(template (present) Bit1 p_vbit, template (present) Bit1 p_mbit) := {
                v_bit := p_vbit,
                m_bit := p_mbit,
                p_bit := ?,
@@ -583,7 +583,7 @@ module LibDiameter_Templates {
            }

            template Host_IP_Address_AVP m_hostIPAddress(Address p_avpData) := {
                aVP_Header := m_aVP_HeaderVid_Mbit1(c_host_IP_Address_AVP_Code, f_IPAdressLength(), omit),
                aVP_Header := m_aVP_HeaderVid_Mbit1(c_host_IP_Address_AVP_Code, f_IPAdressLengthUInt24(), omit),
                aVP_Data := p_avpData
            }

@@ -2759,13 +2759,8 @@ module LibDiameter_Templates {

    group FunctionsForTemplates {

        function f_IPAdressLength ()
            return integer
        {if (PX_IPv6)
            {return(16+2) } //+2 address family
            else {return(4+2) }
        }
        
        /** @desc Calculates the IP address length in bytes
         */
        function f_IPAdressLengthUInt24 ()
            return UInt24
        {if (PX_IPv6)
+1 −1
Original line number Diff line number Diff line
@@ -432,7 +432,7 @@ module LibDiameter_Types_Base_AVPs {
            with {
                     variant "length=32"
                  }
            type enumerated Experimental_Result_Type{
            type enumerated Experimental_Result_Type{ // See http://diameter-protocol.blogspot.fr/2012/10/list-of-experimental-result-codes.html
                DIAMETER_FIRST_REGISTRATION_E (2001),
                DIAMETER_SUBSEQUENT_REGISTRATION_E (2002),
                DIAMETER_UNREGISTERED_SERVICE_E (2003),
+4 −4
Original line number Diff line number Diff line
@@ -1061,12 +1061,12 @@ module LibDiameter_Types_S6a_AVPs {
                UInt32                                aVP_Data
            }

            type record PUR_Flags_AVP {                                                //ref: 7.3.149
            type record PUER_Flags_AVP {                                                //ref: 7.3.149
                AVP_Header                            aVP_Header,                     //PUR-Flags ::= <AVP header: 1635 10415>
                UInt32                                aVP_Data
            }

            type record PUA_Flags_AVP {                                                //ref: 7.3.48
            type record PUEA_Flags_AVP {                                                //ref: 7.3.48
                AVP_Header                            aVP_Header,                     //PUA-Flags ::= <AVP header: 1442 10415>
                UInt32                                aVP_Data
            }
@@ -1528,7 +1528,7 @@ module LibDiameter_Types_S6a_AVPs {
              Destination_Realm_AVP                  destination_Realm,//requi.
              set of Supported_Features_AVP          supported_Features optional,
              User_Name_AVP                          user_Name,//Requi.
              PUR_Flags_AVP                          pUR_Flags optional,
              PUER_Flags_AVP                         pUER_Flags optional,
              set of Proxy_Info_AVP                  proxy_Info optional,
              set of Route_Record_AVP                route_Record optional,
              set of AVP_Type                        aVP_Type optional
@@ -1551,7 +1551,7 @@ module LibDiameter_Types_S6a_AVPs {
              Auth_Session_State_AVP                 auth_Session_State,//requi.
              Origin_Host_AVP                        origin_Host,//requi.
              Origin_Realm_AVP                       origin_Realm,//requi.
              PUA_Flags_AVP                          pUEA_Flags optional,
              PUEA_Flags_AVP                         pUEA_Flags optional,
              set of Supported_Features_AVP          supported_Features optional,
              set of Failed_AVP                      failed optional,
              set of Proxy_Info_AVP                  proxy_Info optional,