//
// $Copyright$
//
// $Id: automatic_decapsulation_host.def,v 1.1.1.1 2000/10/31 22:39:24 sekiya Exp $

#include "tunnel.def"


FEM_v6overv4_icmp6_echo_request(
	v6overv4_echo_request_LINK0_tn2nut,
	_HETHER_tn2nut,
	V4_OFFLINK0_ADDRESS,
	NUT_LINK0_V4_ADDRESS,
	 	{
		_SRC(OFFLINK_AUTOMATIC_ADDRESS);
		_DST(NUT_LINK0_AUTOMATIC_ADDRESS);
	},
		{
		payload=ping_data;
	}
)

FEM_v6overv4_icmp6_echo_reply(
	v6overv4_echo_reply_LINK0_nut2tn,
	_HETHER_nut2tn,
	NUT_LINK0_V4_ADDRESS,
	V4_OFFLINK0_ADDRESS,
			{
			_SRC(oneof(NUT_LINK0_AUTOMATIC_ADDRESS,NUT_LINK0_GLOBAL_ADDRESS));
			_DST(OFFLINK_AUTOMATIC_ADDRESS);
	},
			{
			Identifier=any;
			SequenceNumber=any;     
			payload=any;
        }
)

FEM_icmp6_echo_reply(
        echo_reply_LINK0_nut2tn,
        _HETHER_nut2tn,
                {
                _SRC(oneof(NUT_LINK0_AUTOMATIC_ADDRESS,NUT_LINK0_GLOBAL_ADDRESS));
                _DST(OFFLINK_AUTOMATIC_ADDRESS);
        },
                {
                payload=ping_data_2;
        }
)

Payload ping_data_2
        {
        data={1,2};     
}

