Return the arc cosine of value in [0, pi]
external function f_acos( in float val ) return float
Add two integer values represented in OCTETSTRING
external function f_addOctetstring( in octetstring par1, in octetstring par2 ) return octetstring
Return the arc sine of value in [-pi/2, +pi/2]
external function f_asin( in float val ) return float
Implement TTCN assertion.
external function f_assert( charstring pl_assertMessage, boolean pl_predicate )
Return the average of flist
external function f_averageFL( in FloatList flist ) return float
Return the average of ilist
external function f_averageIL( in IntegerList ilist ) return float
Calculate the HMAC MD5 value of a message with specified key.
external function f_calculate_HMAC_MD5( in octetstring pl_key, in octetstring pl_input, in integer pl_length ) return octetstring
Calculate the HMAC SHA1 value of a message with specified key.
external function f_calculate_HMAC_SHA1( in octetstring pl_key, in octetstring pl_input, in integer pl_length ) return octetstring
Calculate digest H(A1) hash
external function f_calculateDigestHA1( charstring nonce, charstring cnonce, charstring user, charstring realm, charstring passwd, charstring alg ) return charstring
Calculate digest response
external function f_calculateDigestResponse( charstring nonce, charstring cnonce, charstring user, charstring realm, charstring passwd, charstring alg, charstring nonceCount, charstring method, charstring qop, charstring URI, charstring HEntity ) return charstring
Calculate the 128 bit HMAC MD5 value of a message with specified 64 bit key.
external function f_calculateHMACMD5( in octetstring msg, in OCT_64 key ) return octetstring
Compute MD5 hash value
external function f_calculateMD5( in charstring pszHashInput ) return charstring
Return the smallest integer value that is not less then value
external function f_ceil( in float val ) return integer
Convert charstring 2 universal charstring
function f_charstr2unichar ( in charstring p_char ) return universal charstring
Return the compilation time of module
external function f_compilationTime() return charstring
Compare two integer values represented in OCTETSTRING
external function f_compOctetstring( in octetstring par1, in octetstring par2 ) return integer
Return the cosine of angle radILns
external function f_cos( in float angle ) return float
Return the values of the cosine function
external function f_cosVL( in float freq, in float altitude, in float start_val, in integer len, in float step ) return FloatList
Convert a time value in seconds to human readable string The time represented as local time
external function f_ctime( integer pl_sec ) return charstring
Convert a time value in seconds to human readable string The time represented as UTC
external function f_ctime_UTC( integer pl_sec ) return charstring
Decode octetstring from TBCD encoding
external function f_dec_TBCD( in octetstring pl_oct ) return charstring
GSM 7-bit decoding (GSM 03.38)
function f_decGSM7bit( in octetstring pl_gsm7bit ) return universal charstring
Delete IP address from a network inteface
external function f_deleteIP( in charstring interface )
Takes key Ki and random challenge RAND, and returns Kc and SRES keys
external function f_EAPSIM_A3A8( in OCT_16 Ki, OCT_16 rand, out octetstring sres, out octetstring Kc )
Encode charstring to TBCD
external function f_enc_TBCD( in charstring pl_char ) return octetstring
GSM 7-bit encoding (GSM 03.38)
function f_encGSM7bit( in universal charstring pl_str ) return octetstring
Return the exponential value of the argument
external function f_exp( in float val ) return float
A wrapper function for f_FIO_chdir.
external function f_FIO_chdir ( in charstring pl_name ) return boolean
Closes a file associated with the given file descriptor.
external function f_FIO_close ( in integer pl_fd ) return integer
Transfers (“flushes”) all modified in-core data of the file referred to by the file descriptor to the disk device.
external function f_FIO_flush ( in integer pl_fd ) return integer
Returns the actual error code.
external function f_FIO_get_error_code () return integer
Returns the actual error message.
external function f_FIO_get_error_string () return charstring
A wrapper function for f_FIO_open.
external function f_FIO_open_append_rdwr ( in charstring pl_name ) return integer
A wrapper function for f_FIO_open.
external function f_FIO_open_append_rdwr_excl ( in charstring pl_name ) return integer
A wrapper function for f_FIO_open.
external function f_FIO_open_append_wronly ( in charstring pl_name ) return integer
A wrapper function for f_FIO_open.
external function f_FIO_open_append_wronly_excl ( in charstring pl_name ) return integer
A wrapper function for f_FIO_open.
external function f_FIO_open_rdonly ( in charstring pl_name ) return integer
A wrapper function for f_FIO_open.
external function f_FIO_open_trunc_rdwr ( in charstring pl_name ) return integer
A wrapper function for f_FIO_open.
external function f_FIO_open_trunc_rdwr_excl ( in charstring pl_name ) return integer
A wrapper function for f_FIO_open.
external function f_FIO_open_trunc_wronly ( in charstring pl_name ) return integer
A wrapper function for f_FIO_open.
external function f_FIO_open_trunc_wronly_excl ( in charstring pl_name ) return integer
A wrapper function for f_FIO_read.
external function f_FIO_read_data ( in integer pl_fd, inout octetstring pl_data, in integer pl_bytes ) return integer
A wrapper function for f_FIO_read.
external function f_FIO_read_data_TLV ( in integer pl_fd, inout octetstring pl_data ) return integer
A wrapper function for f_FIO_read_until.
external function f_FIO_read_data_until ( in integer pl_fd, inout octetstring pl_data, in octetstring pl_separator ) return integer
A wrapper function for f_FIO_read.
external function f_FIO_read_text ( in integer pl_fd, inout charstring pl_text, in integer pl_bytes ) return integer
A wrapper function for f_FIO_read_until.
external function f_FIO_read_text_until ( in integer pl_fd, inout charstring pl_text, in charstring pl_separator ) return integer
Moves the file pointer backward with a given number of bytes from the current position.
external function f_FIO_seek_backward ( in integer pl_fd, in integer pl_bytes ) return integer
Moves the file pointer to the end of the file.
external function f_FIO_seek_end ( in integer pl_fd ) return integer
Moves the file pointer forward with a given number of bytes from the current position.
external function f_FIO_seek_forward ( in integer pl_fd, in integer pl_bytes ) return integer
Moves the file pointer to the beginning of the file.
external function f_FIO_seek_home ( in integer pl_fd ) return integer
If there was no problem, then the return value will be 1.
external function f_FIO_set_filedescriptor_previousline ( in integer pl_fd ) return integer
A wrapper function for f_FIO_write.
external function f_FIO_write_data ( in integer pl_fd, in octetstring pl_data ) return integer
A wrapper function for f_FIO_write.
external function f_FIO_write_data_flush ( in integer pl_fd, in octetstring pl_data ) return integer
A wrapper function for f_FIO_write.
external function f_FIO_write_text ( in integer pl_fd, in charstring pl_text ) return integer
A wrapper function for f_FIO_write.
external function f_FIO_write_text_flush ( in integer pl_fd, in charstring pl_text ) return integer
Return the largest integer value that is not greater then value
external function f_floor( in float val ) return integer
Query the total number of free blocks.
external function f_FS_bfree ( in charstring p_name ) return integer
Query the file system block size.
external function f_FS_bsize ( in charstring p_name ) return integer
Query the free space rate.
external function f_FS_dspacerate ( in charstring p_name ) return integer
Returns with the exponential random variable for a given lambda
function f_gen_Exponential_Distribution( in float p_lambda ) return float
Returns with an initialized poisson table which is a cumulative probability distribution list for a given lambda.
function f_generate_poissonTable( in float p_lambda, out t_Poisson_Table p_pTable ) return boolean
Generate a date from the actual date and time plus the parameter in seconds e.g.
external function f_getCurrentDateWithOffset( integer pl_sec ) return charstring
Return the current GMT date in format RFC 1123-Date ex :Sat, 13 Nov 2010 23:30:02 GMT
external function f_getCurrentGMTDate() return charstring
Return the environment variable specified via p_env_name
external function f_GetEnv( in charstring p_env_name ) return charstring
Get name of host
external function f_getHostName() return charstring
Get IP address, subnet mask and broadcast address from a network inteface
external function f_getIP( in charstring interface, out charstring ip, out charstring netmask, out charstring broadcast, in TCCInterface_IPAddressType addressType: = IPv4 )
Get IP address of host
external function f_getIpAddr( in charstring hostname, in TCCInterface_IPAddressType addressType: = IPv4 ) return charstring
Returns with a random poisson value by the given poisson table and lambda poisson variance.
function f_getNext_poissonValue( in float p_lambda, inout t_Poisson_Table p_pTable, out boolean p_sucess ) return integer
Return the current calendar time in a formatted way
external function f_getTimeFormatted( integer pl_sec, charstring pl_format ) return charstring
Computes authentication token AUTN from anonymity key AK, random challenge RAND, sequence number SQN and authentication management field AMF.
external function f_IMSAKA_calculateAUTN( in OCT_6 SQN, in OCT_6 AK, in OCT_2 AMF, in OCT_8 MAC ) return octetstring
Computes network authentication code MAC-A from key K, random challenge RAND, sequence number SQN and authentication management field AMF.
external function f_IMSAKA_f1( in octetstring pl_OP, in octetstring pl_k, in octetstring pl_rand, in octetstring pl_sqn, in octetstring pl_amf ) return octetstring
Computes resynch authentication code MAC-S from key K, random challenge RAND, sequence number SQN and authentication management field AMF.
external function f_IMSAKA_f1star ( in octetstring pl_OP, in octetstring pl_k, in octetstring pl_rand, in octetstring pl_sqn, in octetstring pl_amf ) return octetstring
Takes key K and random challenge RAND, and returns response RES.
external function f_IMSAKA_f2 ( in octetstring pl_OP, in octetstring pl_k, in octetstring pl_rand ) return octetstring
Takes key K and random challenge RAND, and returns AK, CK, RES
external function f_IMSAKA_f2345 ( in octetstring pl_OP, in octetstring pl_k, in octetstring pl_rand ) return TCCSecurity_Keys
Takes key K and random challenge RAND, and returns confidentiality key CK.
external function f_IMSAKA_f3 ( in octetstring pl_OP, in octetstring pl_k, in octetstring pl_rand ) return octetstring
Takes key K and random challenge RAND, and returns integrity key IK.
external function f_IMSAKA_f4 ( in octetstring pl_OP, in octetstring pl_k, in octetstring pl_rand ) return octetstring
Takes key K and random challenge RAND, and returns anonymity key AK.
external function f_IMSAKA_f5 ( in octetstring pl_OP, in octetstring pl_k, in octetstring pl_rand ) return octetstring
Takes key K and random challenge RAND, and returns resynch anonymity key AK.
external function f_IMSAKA_f5star ( in octetstring pl_OP, in octetstring pl_k, in octetstring pl_rand ) return octetstring
Adds a Security Association to the database (SADB)
external function f_IPsec_SADB_add ( in charstring srcAddress, in charstring dstAddress, in TCCIPsec_Protocol protocol, in integer spi, in TCCIPsec_ExtensionList extensionList : = {}, in TCCIPsec_Algorithm alg, in boolean setparitybit : = false, in TCCIPsec_IPsecMode ipSecMode : = anyMode ) return TCCIPsec_Result
Deletes a Security Association from the database (SADB)
external function f_IPsec_SADB_delete ( in charstring srcAddress, in charstring dstAddress, in TCCIPsec_Protocol protocol, in integer spi ) return TCCIPsec_Result
Deletes all Security Associations from the database (SADB)
external function f_IPsec_SADB_flush () return TCCIPsec_Result
Adds a Security Policy to the database (SPDB)
external function f_IPsec_SPDB_add ( in charstring srcAddress, in integer srcPrefixLen : = c_TCCIPsec_prefixAll, in integer srcPort : = c_TCCIPsec_anyPort, in charstring dstAddress, in integer dstPrefixLen : = c_TCCIPsec_prefixAll, in integer dstPort : = c_TCCIPsec_anyPort, in TCCIPsec_TranspProto transpProto : = anyTranspProto, in TCCIPsec_PolicyDirection dir, in TCCIPsec_PolicyRule rule ) return TCCIPsec_Result
Deletes a Security Policy from the database (SPD)
external function f_IPsec_SPDB_delete ( in charstring srcAddress, in integer srcPrefixLen : = c_TCCIPsec_prefixAll, in integer srcPort : = c_TCCIPsec_anyPort, in charstring dstAddress, in integer dstPrefixLen : = c_TCCIPsec_prefixAll, in integer dstPort : = c_TCCIPsec_anyPort, in TCCIPsec_TranspProto transpProto : = anyTranspProto, in TCCIPsec_PolicyDirection dir ) return TCCIPsec_Result
Deletes all Security Policies from the database (SPD)
external function f_IPsec_SPDB_flush () return TCCIPsec_Result
Return the natural logarithm of the argument
external function f_log( in float val ) return float
Return an FloatList with the highest number found at index 0 and the index of flist where it’s fond at index 1
external function f_maxFL( in FloatList flist ) return FloatList
Return an IntegerList with the highest number found at index 0 and the index of ilist where it’s found at index 1
external function f_maxIL( in IntegerList ilist ) return IntegerList
Return an FloatList with the highest number found at index 0 and the index of flist where it’s fond at index 1
external function f_minFL( in FloatList flist ) return FloatList
Return an IntegerList with the lowest number found at index 0 and the index of ilist where it’s fond at index 1
external function f_minIL( in IntegerList ilist ) return IntegerList
convertes an IPv4 address given in dotted notation to its hex representation
function f_OctetIpv4( in charstring pl_ip ) return octetstring
Evaulate a Perl compatible regular expression
external function f_pcre_regexp( in charstring instr, in charstring expression, in integer groupno ) return charstring
Raise to power (float to float power)
external function f_powFF( in float base, in float expo ) return float
Raise to power (float to integer power)
external function f_powFI( in float base, in integer expo ) return float
Raise to power (integer to float power)
external function f_powIF( in integer base, in float expo ) return float
Raise to power (integer to integer power)
external function f_powII( in integer base, in integer expo ) return integer
Set the environment variable p_env_name to p_env_value.
external function f_PutEnv( in charstring p_env_name, in charstring p_env_value ) return boolean
Put charstring to lowercase
external function f_putInLowercase( charstring pl_string ) return charstring
Put charstring to uppercase
external function f_putInUppercase( charstring pl_string ) return charstring
Replace every occurance of pattern parSubStrA with parSubStrB in parInStr
function f_replaceEveryOccurenceOfPattern( in charstring parInStr, in charstring parSubStrA, in charstring parSubStrB ) return charstring
Replace every occurance of parSubStrA with parSubStrB in parInStr
function f_replaceEveryOccurenceOfSubstring( in charstring parInStr, in charstring parSubStrA, in charstring parSubStrB ) return charstring
Replace first occurance of pattern parSubStrA with parSubStrB in parInStr
function f_replaceFirstOccurenceOfPattern( in charstring parInStr, in charstring parSubStrA, in charstring parSubStrB ) return charstring
Replace first occurance of parSubStrA with parSubStrB in parInStr
function f_replaceFirstOccurenceOfSubstring( in charstring parInStr , in charstring parSubStrA, in charstring parSubStrB ) return charstring
Set down a network interface
external function f_setInterfaceDown( in charstring interface, in TCCInterface_IPAddressType addressType: = IPv4 )
Set up a network interface
external function f_setInterfaceUp( in charstring interface, in TCCInterface_IPAddressType addressType: = IPv4 )
Set IP address, subnet mask and broadcast address in a network inteface If number is set, a range of virtual interfaces are set up with continuous IP address (no subnet mask, broadcast checking)
external function f_setIP( in charstring interface, in charstring ipaddress, in charstring subnetmask, in charstring broadcast, in integer number : = 1 )
Return the sine of angle radILns
external function f_sin( in float angle ) return float
Return the values of the sine function
external function f_sinVL( in float freq, in float altitude, in float start_val, in integer len, in float step ) return FloatList
Raise a float value to square
external function f_sqrF( in float base ) return float
Raise an integer value to square
external function f_sqrI( in integer base ) return integer
Square root of float value
external function f_sqrtF( in float base ) return float
Square root of integer value
external function f_sqrtI( in integer base ) return float
Return the normalized standard devILtion of float list (so the average square distance from the center of elements in the list)
external function f_stdFL( in FloatList flist ) return float
Return the normalized standard devILtion of float list using custom center (so it is the average square distance from a user defined central value)
external function f_stdFLL( in FloatList flist, in float u ) return float
Return the normalized standard devILtion of integer list (so the average square distance from the center of points)
external function f_stdIL( in IntegerList ilist ) return float
Return the normalized standard devILtion of integer list using custom center (so it is the average square distance from a user defined central value)
external function f_stdILL( in IntegerList ilist, in float u ) return float
Substract two integer values represented in OCTETSTRING
external function f_subOctetstring( in octetstring par1, in octetstring par2 ) return octetstring
Function to get the length of the received message.
external function f_TCCMessageHandling_getMessageLength( in octetstring stream ) return integer
Function to get the length of the received message.
external function f_TCCMessageHandling_getMessageLength4Diameter( in octetstring stream ) return integer
Function to get the length of the received message.
external function f_TCCMessageHandling_getMessageLength4Radius( in octetstring stream ) return integer
Makes the substitutions in the content of the given file, according to the dictonary
function f_Template_subsfiletemplate( in TCCSubstitutionList pl_dict, in charstring pl_file ) return charstring
Makes the substitutions according to the dictonary given
function f_Template_substitutetemplate( in TCCSubstitutionList pl_dict, in charstring pl_string ) return charstring
Return the number of clock ticks used by the application since the program was launched
external function f_tic() return integer
Current calendar time of the system in seconds
external function f_time() return integer
function to convert a formated time value to seconds The time represented as local time
external function f_time2sec( integer pl_year, integer pl_mon, integer pl_day, integer pl_hour, integer pl_min, integer pl_sec ) return integer
function to convert a formated time value to seconds The time represented as UTC
external function f_time2sec_UTC( integer pl_year, integer pl_mon, integer pl_day, integer pl_hour, integer pl_min, integer pl_sec ) return integer
Difference between two time
external function f_timeDiff( integer t_stop, integer t_start ) return integer
Elapsed seconds since time t (only when f_tic() returns the number of clock ticks elapsed since the program was launched)
external function f_toc( integer t ) return float
Convert universal charstring 2 charstring
function f_unichar2charstr ( in universal charstring p_unichar ) return charstring
Append tail to the end of head (head return as inout)
external function f_updateFL( inout FloatList head, in FloatList tail )
Append tail to the end of head (head return as inout)
external function f_updateIL( inout IntegerList head, in IntegerList tail )