Commit bb48be2e authored by berge's avatar berge
Browse files

Added specific sendBU option for CN

parent a3766caf
Loading
Loading
Loading
Loading
+20 −20
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ module LibIpv6_Rfc3775Mipv6_Functions {
	 * @param p_seqNr Seq Nr of Binding Update
	 * @param p_timeUnits Lifetime of Binding Update
	*/
	function f_sendBindUpAndWaitForBindAckAtHome(	in template Ipv6Address p_mnHoaTn,
	function f_mnSendBindUpToHaAndWaitForBindAckAtHome(	in template Ipv6Address p_mnHoaTn,
													in template Ipv6Address p_haGlaNut,
													in template Ipv6NodeParams p_paramsMn,
													in UInt16 p_seqNr,
@@ -142,13 +142,13 @@ module LibIpv6_Rfc3775Mipv6_Functions {
				}				
			[]	tc_ac.timeout{
					v_ret :=  e_timeout;
					log("**** f_sendBindUpAndWaitForBindAckAtHome: ERROR: tc_ac.timeout **** ");
					log("**** f_mnSendBindUpToHaAndWaitForBindAckAtHome: ERROR: tc_ac.timeout **** ");
				}		
		} // end alt

		return v_ret;

	}//end f_sendBindUpAndWaitForBindAckAtHome
	}//end f_mnSendBindUpToHaAndWaitForBindAckAtHome
		
// Modified by PK
	/*
@@ -160,7 +160,7 @@ module LibIpv6_Rfc3775Mipv6_Functions {
 	 * @param p_timeUnits Lifetime of Binding Update
 	 * @param p_lFlag Value of L flag in Binding Update
	*/
	function f_sendBindUpAndWaitForBindAckOffHome(	in template Ipv6Address p_mnCoaTn,
	function f_mnSendBindUpToHaAndWaitForBindAckOffHome(	in template Ipv6Address p_mnCoaTn,
													in template Ipv6Address p_mnHoaTn,
													in template Ipv6Address p_haGlaNut,
													in UInt16 p_seqNr,
@@ -210,13 +210,13 @@ module LibIpv6_Rfc3775Mipv6_Functions {
				}
			[]	tc_ac.timeout{
					v_ret :=  e_timeout;
					log("**** f_sendBindUpAndWaitForBindAckOffHome: ERROR: tc_ac.timeout **** ");
					log("**** f_mnSendBindUpToHaAndWaitForBindAckOffHome: ERROR: tc_ac.timeout **** ");
				}		
		} // end alt

		return v_ret;

	}//end f_sendBindUpAndWaitForBindAckOffHome
	}//end f_mnSendBindUpToHaAndWaitForBindAckOffHome

		/*
	 * @desc  Test Node is Off Home and sends BindUpdate and waits for Binding Ack
@@ -226,7 +226,7 @@ module LibIpv6_Rfc3775Mipv6_Functions {
	 * @param p_seqNr Seq Nr of Binding Update
 	 * @param p_timeUnits Lifetiem of Binding Update
	*/
	function f_sendBindUpAndWaitForBindAckOffHome_espTransportMode(	in template Ipv6Address p_mnCoaTn,
	function f_mnSendBindUpToHaAndWaitForBindAckOffHome_espTransportMode(	in template Ipv6Address p_mnCoaTn,
													in template Ipv6Address p_mnHoaTn,
													in template Ipv6Address p_haGlaNut,
													in UInt16 p_seqNr,
@@ -333,7 +333,7 @@ module LibIpv6_Rfc3775Mipv6_Functions {
*/
		return v_ret;

	}//end f_sendBindUpAndWaitForBindAckOffHome_espTransportMode
	}//end f_mnSendBindUpToHaAndWaitForBindAckOffHome_espTransportMode

	/*
	 * @desc  Test Node is Off Home and sends BindUpdate and waits for Binding Ack
@@ -1556,7 +1556,7 @@ group mobileSecurityFns {
													v_haGlasNut);

		if (v_ret == e_success) {
			v_ret := f_sendBindUpAndWaitForBindAckOffHome(	p_mnCoaTn,
			v_ret := f_mnSendBindUpToHaAndWaitForBindAckOffHome(	p_mnCoaTn,
																	p_mnHoaTn,
																	v_haGlasNut[0],
																	c_defSeqNo,
@@ -1597,7 +1597,7 @@ group mobileSecurityFns {
													v_haGlasNut);

		if(v_ret == e_success) {
			f_sendBindUpAndWaitForBindAckOffHome(	p_mnCoaTn,
			f_mnSendBindUpToHaAndWaitForBindAckOffHome(	p_mnCoaTn,
														p_mnHoaTn,
														v_haGlasNut[0],
														c_defSeqNo,