Loading ttcn/LibDiameter_Steps.ttcn +55 −55 File changed.Preview size limit exceeded, changes collapsed. Show changes ttcn/LibDiameter_Templates.ttcn +9 −6 Original line number Diff line number Diff line Loading @@ -3015,6 +3015,7 @@ module LibDiameter_Templates { } //end group modified_templates } //end group MessageTemplates /** Type convertion functions to reduce warnings due to type mismaches */ group FunctionsForTemplates { /** @desc Calculates the IP address length in bytes Loading @@ -3026,11 +3027,6 @@ module LibDiameter_Templates { 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 */ function f_getDiameterIdentityAvpLength(in Diameter_Identity p_avpData) return AVP_Length { Loading @@ -3055,11 +3051,18 @@ module LibDiameter_Templates { return lengthof(p_octetstring); } // 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 */ function f_getEncvalueLength(in bitstring p_bitstring) return AVP_Length { return lengthof(p_bitstring) / 8; } // End of function f_getEncvalueLength } // End of group FunctionsForTemplates }//end group FunctionsForTemplates }//end module LibDiameter_Templates No newline at end of file Loading
ttcn/LibDiameter_Steps.ttcn +55 −55 File changed.Preview size limit exceeded, changes collapsed. Show changes
ttcn/LibDiameter_Templates.ttcn +9 −6 Original line number Diff line number Diff line Loading @@ -3015,6 +3015,7 @@ module LibDiameter_Templates { } //end group modified_templates } //end group MessageTemplates /** Type convertion functions to reduce warnings due to type mismaches */ group FunctionsForTemplates { /** @desc Calculates the IP address length in bytes Loading @@ -3026,11 +3027,6 @@ module LibDiameter_Templates { 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 */ function f_getDiameterIdentityAvpLength(in Diameter_Identity p_avpData) return AVP_Length { Loading @@ -3055,11 +3051,18 @@ module LibDiameter_Templates { return lengthof(p_octetstring); } // 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 */ function f_getEncvalueLength(in bitstring p_bitstring) return AVP_Length { return lengthof(p_bitstring) / 8; } // End of function f_getEncvalueLength } // End of group FunctionsForTemplates }//end group FunctionsForTemplates }//end module LibDiameter_Templates No newline at end of file