Commit 5f0b02cc authored by vouffofeudji's avatar vouffofeudji
Browse files

Introduced template for Authentication Header

parent d7213a08
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -602,6 +602,28 @@
		
	}//end group ICMPv6_Echo_Request_Esp

	group ICMPv6_Echo_Request_Ah {
		
		/*
		 *	@param  p_nextHeader Next header identifier value to be used.
		 *	@param  p_src Binary IPv6 address associated with the
		 *          test component.
		 *	@param  p_dst Binary IPv6 address associated with NUT.
		 *	@param  p_extHdrList List of extension header in the packet.
		*/
		template EchoRequestWithAh m_echoRequest_ah (
			UInt8 p_nextHeader,
			template Ipv6Address p_src,
			template Ipv6Address p_dst,
			template ExtensionHeaderList p_extHdrList
		) := {
			ipv6Hdr := m_ipHdr_nextHdr_srcDst(p_nextHeader, p_src, p_dst),
			extHdrList := p_extHdrList,
			ipv6Payload := omit
		}
		
	}//end group ICMPv6_Echo_Request_Ah

	group ICMPv6_EchoRequestMsg {

		template EchoRequestMsg m_echoRequestMsg (