Skip to content
LibIpv6_ModuleParameters.ttcn 1.96 KiB
Newer Older
alex's avatar
alex committed
/*
 *	@author 	STF 276
 *  @version 	$Id$
 *	@desc		- Here all module parameters from every RFC shall be collected.
 *  
 */
module LibIpv6_ModuleParameters {
	
	//LibCommon
	import from LibCommon_DataStrings all;
	import from LibCommon_BasicTypesAndValues all;
	import from LibCommon_TextStrings all;
	//LibIpv6
	import from LibIpv6_Interface_TypesAndValues all ;
alex's avatar
alex committed

peter's avatar
peter committed
	/*
	 * @desc Length of Source Link-Layer and Target Link-Layer options
	 * @remark Length is specified in units of 8 octets including type+length field
peter's avatar
peter committed
	*/
	modulepar {UInt8 PX_MAC_OPTION_LEN := 1}
alex's avatar
alex committed

peter's avatar
peter committed
	/*
	 * @desc What time does the IUT need to build its global address?
peter's avatar
peter committed
	*/
	modulepar {float PX_T_BUILD_GLA := 15.0}


	/*
	 * @desc Shall IPSEC be tested?
	*/
	modulepar { IpSecSwitch PX_IP_SEC := e_securityOff }

	/*
	 * @desc Shall IPSEC be tested?
	*/
	modulepar { IpSecProtocol PX_IP_SEC_PROTOCOL := e_esp }

	/*
mullers's avatar
mullers committed
	 * @desc Which protocol mode shall be used in vc_sad[0]?
	*/
	modulepar { IpSecProtocolMode PX_IP_SEC_PROTOCOL_MODE := e_transportMode }

	/*
mullers's avatar
mullers committed
	 * @desc Which Algo mode shall be used for Encryption in vc_sad[0]?
	*/
	modulepar { EncryptionAlgo PX_ENCRYPTION_ALGO := e_tripleDes_cbc }

	/*
mullers's avatar
mullers committed
	 * @desc Which Algo mode shall be used for Integrity in vc_sad[0]?
	*/
	modulepar { IntegrityAlgo PX_INTEGRITY_ALGO := e_hmac_sha1_96 }

	/*
mullers's avatar
mullers committed
	 * @desc Which Algo mode shall be used for Integrity in vc_sad[0]?
	*/
	modulepar { CombinedModeAlgo PX_COMBINED_MODE_ALGO := e_null }

mullers's avatar
mullers committed
	/*
mullers's avatar
mullers committed
	 * @desc Which SPI shall be used for testing?
mullers's avatar
mullers committed
	*/
	modulepar {UInt32 PX_SPI := 1;}  
	
	/*
	 * @desc Key for integrity vc_sad[0]
	*/
	modulepar {octetstring PX_INTEGRITY_KEY := '000102030405'O }
	
	/*
	 * @desc Key for encryption in vc_sad[0]
	*/
	modulepar {octetstring PX_ESP_ENCR_KEY := 'A1A2A3A4'O}
	
	/*
	 * @desc Key for combined mode in vc_sad[0]
	*/
	modulepar {octetstring PX_COMBINED_MODE_KEY := 'B1B2B3B4'O}

peter's avatar
peter committed
	
alex's avatar
alex committed
} // end module LibIpv6_ModuleParameters