Commit 3dde5b57 authored by pintar's avatar pintar
Browse files

Changes done during STF482 validation: week6/2015

parent 459f9c9c
Loading
Loading
Loading
Loading
+55 −55

File changed.

Preview size limit exceeded, changes collapsed.

+9 −6
Original line number Original line Diff line number Diff line
@@ -3015,6 +3015,7 @@ module LibDiameter_Templates {
      } //end group modified_templates
      } //end group modified_templates
    } //end group MessageTemplates
    } //end group MessageTemplates


    /** Type convertion functions to reduce warnings due to type mismaches */
    group FunctionsForTemplates {
    group FunctionsForTemplates {


        /** @desc Calculates the IP address length in bytes
        /** @desc Calculates the IP address length in bytes
@@ -3026,11 +3027,6 @@ module LibDiameter_Templates {
            else {return(4+2) }
            else {return(4+2) }
        }
        }


    }//end group FunctionsForTemplates

    /** Type convertion functions to reduce warnings due to type mismaches */
    group functionsForTemplates {

        /** @desc Calculates the Diameter-Identity length in bytes
        /** @desc Calculates the Diameter-Identity length in bytes
         */
         */
        function f_getDiameterIdentityAvpLength(in Diameter_Identity p_avpData) return AVP_Length {
        function f_getDiameterIdentityAvpLength(in Diameter_Identity p_avpData) return AVP_Length {
@@ -3055,11 +3051,18 @@ module LibDiameter_Templates {
            return lengthof(p_octetstring);
            return lengthof(p_octetstring);
        } // End of function f_getOctetStringLength
        } // End of function f_getOctetStringLength
        
        
        /** @desc Returns the enumerated AVP data length
         */
        function f_getEnumLength() return AVP_Length {
            return 4;
        } // End of function f_getEnumLength
 
        /** @desc Calculates the encoded playload length
        /** @desc Calculates the encoded playload length
         */
         */
        function f_getEncvalueLength(in bitstring p_bitstring) return AVP_Length {
        function f_getEncvalueLength(in bitstring p_bitstring) return AVP_Length {
           return lengthof(p_bitstring) / 8;
           return lengthof(p_bitstring) / 8;
        } // End of function f_getEncvalueLength
        } // End of function f_getEncvalueLength
    } // End of group FunctionsForTemplates

    }//end group FunctionsForTemplates


}//end module LibDiameter_Templates
}//end module LibDiameter_Templates
 No newline at end of file