Commit 65fd8d3b authored by peter's avatar peter
Browse files

No commit message

No commit message
parent 01e79ec2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,8 @@
		const UInt8 	c_hopLimit0:= 0;
		const UInt8 	c_hopLimit1:= 1;
		const UInt8 	c_hopLimit5:= 5;
		const UInt8 	c_hopLimit63:= 63;
		const UInt8 	c_hopLimit64:= 64;
		const UInt8 	c_hopLimit255:= 255;
	}

+1 −1
Original line number Diff line number Diff line
@@ -254,7 +254,7 @@
			ipv6Hdr := mw_ipHdr_srcDst_nextHdr_hopL255 (c_icmpHdr, p_src, p_dst),  // FIXED (Alex) : m_ipHdr->mw_ipHdr_srcDst_nextHdr_hopL255
			extHdrList := *,
			icmpType:= c_rtAdv,
			icmpCode:= ?,
			icmpCode:= c_icmpCode0,
			checksum:= ?,
			curHopLimit:= ?,
			managedConfigFlag:=?,
+27 −0
Original line number Diff line number Diff line
@@ -59,6 +59,33 @@
			data:= omit
		}

		/*
		 *	@param  p_nextHeader Next header identifier value to be used.
		 *	@param  p_extHdrList List of extension header in the packet.
		 *	@param  p_src Binary IPv6 address associated with the
		 *          test component.
		 *	@param  p_dst Binary IPv6 address associated with NUT.
		 *	@param  p_id ICMPv6 echo identifier.
		 *	@param  p_seqNr ICMPv6 echo sequence number.
		*/
		template EchoRequest mw_echoRequest_extHdr_noData (
			UInt8 p_nextHeader,
			template ExtensionHeaderList p_extHdrList,
			template Ipv6Address p_src,
			template Ipv6Address p_dst,
			UInt16 	p_id,
			UInt16 	p_seqNr
		) := {
			ipv6Hdr := mw_ipHdr_srcDst(p_nextHeader, p_src, p_dst),
			extHdrList := p_extHdrList,
			icmpType:= c_echoRequest,
			icmpCode:= c_icmpCode0,
			checksum:= ?,
			identifier:= p_id,
			sequenceNumber:= p_seqNr,
			data:= omit
		}

		/*
		 *	@param  p_hops Number of hops to be used in IPv6 header.
		 *	@param  p_src Binary IPv6 address associated with the