Commit 4a6e1c42 authored by seb's avatar seb
Browse files

Configurations cleaned

Catch in Default MipPrefixSol and reply with MipPrefixAdv
parent 4fa57769
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1052,6 +1052,13 @@
			prefix:= p_prefix
		}

		/*
		 *	@param  p_hbhOpt First element in the Hop by hop option list
		*/
		template PrefixInfoList m_mipPrefixInfoList_1Elem ( template PrefixInfo p_prefixInfo ) := {
			p_prefixInfo
		}

		/*
		 *	@param  p_prefixLength The length of the prefix
		 *	@param  p_lFlag Value for link flag.
+18 −0
Original line number Diff line number Diff line
@@ -125,6 +125,24 @@

	group mobilePrefixAdvertisementTemplates {

	template MobilePrefixAdvertisement m_mipPrefixAdv (	UInt8 p_nextHdr,
														template Ipv6Address p_src,
														template Ipv6Address p_dst,
														template ExtensionHeaderList p_extHdrList,
														UInt16 p_ident,
														template MipPrefixInfoList p_mipPrefixInfoList) := {
		ipv6Hdr :=  m_ipHdr_nextHdr_srcDst(p_nextHdr, p_src, p_dst),
		extHdrList := p_extHdrList,
		icmpType := c_mipIcmpMobilePrefixAdvertisement,
		icmpCode := c_icmpCode0,
		checksum := c_2ZeroBytes,
		identifier := p_ident,
		mFlag := c_mFlag0,
		oFlag := c_oFlag0,
		reserved := c_uInt14Zero,
		mipPrefixInfoList := p_mipPrefixInfoList
	}

	template MobilePrefixAdvertisement mw_mipPrefixAdv := {
		ipv6Hdr :=  mw_ipHdr,
		extHdrList := ?,
+1 −0
Original line number Diff line number Diff line
@@ -133,6 +133,7 @@ module LibIpv6_MultiRfcs_TypesAndValues {
			const UInt7		c_uInt7Zero := 0;
			const UInt8		c_uInt8Zero := 0;
			const UInt12	c_uInt12Zero := 0;
			const UInt14	c_uInt14Zero := 0;
			const UInt16	c_uInt16Zero := 0;
			const UInt32	c_uInt32Zero := 0;
		}