//
// $Copyright$
//
// $Name:  $
//
// $Id: RTU_A_Order_DSTH.def,v 1.1.1.1 2000/09/28 00:14:46 sekiya Exp $
//

#include "./RTU_A_common.def"
//======================================================================
//
// AH/ESP definition
//

//======================================================================
//
// Dst Opt Hdr predefinition
//

Hdr_Destination opt_PadN {
	option = _PadN;
}

Opt_PadN _PadN {
	pad = {0,0,0,0};
}


//======================================================================
//
// Packet definition with DstOptHdr and IPsec AH
//

FEM_hdr_ipv6_exth(
	ahtun_from_sg1_net2_dstopt_ah_echo_request_from_host1_net4_to_host1_net1_on_net0,
	hether_router2nut,
	{
		_SRC(v6(IPSEC_SG1_NET2_ADDR));
		_DST(v6(IPSEC_NUT_NET0_ADDR));
	},
	{
		header = _HDR_IPV6_NAME(ahtun_from_sg1_net2_dstopt_ah_echo_request_from_host1_net4_to_host1_net1_on_net0);
		exthdr = opt_PadN;
		exthdr = ah_from_sg_sn2;
		upper = _PACKET_IPV6_NAME(echo_request_from_host1_net4_to_host1_net1_on_net0);
	}
)



FEM_hdr_ipv6_exth(
	ahtun_from_sg1_net2_ah_dstopt_echo_request_from_host1_net4_to_host1_net1_on_net0,
	hether_router2nut,
	{
		_SRC(v6(IPSEC_SG1_NET2_ADDR));
		_DST(v6(IPSEC_NUT_NET0_ADDR));
	},
	{
		header = _HDR_IPV6_NAME(ahtun_from_sg1_net2_ah_dstopt_echo_request_from_host1_net4_to_host1_net1_on_net0);
		exthdr = ah_from_sg_sn3;
		exthdr = opt_PadN;
		upper = _PACKET_IPV6_NAME(echo_request_from_host1_net4_to_host1_net1_on_net0);
	}
)

//end
