//
// $Copyright$
//
// $Name:  $
//
// $Id: HL_ZeroToRouter.def,v 1.1.1.1 2000/10/31 22:39:21 sekiya Exp $
//

#define TRAFFIC_CLASS		0
#define	FLOW_LABEL		0
#define HOP_LIMIT_BEFORE	0
#define HOP_LIMIT_AFTER		0

#include "./IH_Router.def"

FEM_icmp6_time_exceeded(
	icmp_type3_code0,
	_HETHER_nut2tn,
	{
		_SRC(NUT_GL0_ADDR);
		_DST(TN_GL0_ADDR);
	},
	{
		Code = 0;	// hop limit exeeded in transit
		payload = err;
	}
)

FEM_icmp6_time_exceeded(
	icmp_type3_code0_link1,
	_HETHER_nut2tn,
	{
		_SRC(NUT_GL1_ADDR);
		_DST(TN_GL0_ADDR);
	},
	{
		Code = 0;	// hop limit exeeded in transit
		payload = err;
	}
)

Payload err {
	data = right(_PACKET_IPV6_NAME(echo_request_to_link0), 0);
}
