//
// $Copyright$
//
// $Name:  $
//
// $Id: HTR_E_AuthKey.def,v 1.1.1.1 2000/10/31 22:38:51 sekiya Exp $
//

#define EALGO_FROM_HOST1	ealgo_descbc_012_hmacmd5_012

#define IPSEC_ECHO_DATA		echo_data_1

#include "./HTR_E_common.def"

//======================================================================
//
// ESP definition
//
Hdr_ESP esp_from_host1_2 {
	SPI = 0x1000;
	SequenceNumber = 2;
	algorithm = ealgo_descbc_012_hmacmd5_foo;
}

//======================================================================
//
// Echo Request from Host1 IPsec ESP (Invalid Key)
//

FEM_icmpX_echo_request_exth(
	echo_request_from_host1_esp_2,
	hether_router2nut,
	{
		_SRC(vX(IPSEC_HOST1_NET5_ADDR));
		_DST(vX(IPSEC_NUT_NET3_ADDR));
	},
	{
		header = _HDR_IPVX_NAME(echo_request_from_host1_esp_2);
		exthdr = esp_from_host1_2;
		upper = _ICMPVX_NAME(echo_request_from_host1_esp_2);
	},
	{
		payload = echo_data_2;
	}
)

//======================================================================
//
// Echo Reply to Host1
//

FEM_icmpX_echo_reply(
	echo_reply_to_host1_2,
	hether_nut2router,
	{
		_SRC(vX(IPSEC_NUT_NET3_ADDR));
		_DST(vX(IPSEC_HOST1_NET5_ADDR));
	},
	{
		payload = echo_data_2;
	}
)

//end


