Commit 9edd63f5 authored by peter's avatar peter
Browse files

No commit message

No commit message
parent 0709ca14
Loading
Loading
Loading
Loading
+37 −1
Original line number Diff line number Diff line
@@ -432,6 +432,27 @@
			 nbrAdvOptions:=p_opts
		 }

		/*
		 *	@param  p_src Binary IPv6 address associated with the
		 *          test component.
		 *	@param  p_dst Binary IPv6 address associated with NUT.
		 *	@param  p_opts Neighborhood advertisement options value or template.
	    */
		template NeighborAdvertisement mw_nbrAdv_noExtHdr_opts (	Ipv6Address p_src,
															Ipv6Address p_dst,
															template NbrAdvOptions p_opts ) := {
			ipv6Hdr := mw_ipHdr_srcDst(c_icmpHdr, p_src, p_dst),
			extHdrList := omit,
			icmpType:= c_nbrAdv,
			icmpCode:= c_icmpCode0,
			checksum:= ?,
			routerFlag:=?,
			solicitedFlag:=?,
			overrideFlag:=?,
			reserved:=0,
			targetAddr:=?,
			nbrAdvOptions := p_opts
		}

	} // end group neighborDiscovery

@@ -523,6 +544,18 @@

	group options {

		/*
		 *	@param  p_macSlla Binary MAC source address associated with
		 *          link layer of test component
		 *  @param  p_otherOpt Other binary option
	    */
		template RtSolOptions m_rtSolOpt_otherOpt_macSlla (
				octetstring p_otherOpt,
				template Oct6to15 p_macSlla ) := {
			otherOption := p_otherOpt,
			srcLinkLayerAddr := m_macSlla(p_macSlla)
		}

		/*
		 *	@param  p_macSlla Binary MAC source address associated with
		 *          link layer of test component
@@ -533,6 +566,9 @@
			prefixInfoList := omit,
			otherOption := omit }

		/*
		 *  @param  p_otherOpt Other binary option
		 */
		template RtAdvOptions m_rtAdvOpt_otherOpt (template Oct6to15 p_otherOpt):={
			srcLinkLayerAddr := omit,
			mtuOption := omit,