//
// $Copyright$
//
// $Id: receiveEchoRequest_sendEchoReply_validity_check_checksum.def,v 1.1.1.1 2000/10/31 22:38:50 sekiya Exp $

#include "icmp.def"


//
// Echo Reply
// TN (link local address) <-- NUT (link local address)
// This packet is for comparison
FEM_icmp6_echo_reply( 
	echo_reply_nut2tn_LLA_for_comparison,
	_HETHER_nut2tn,
		{
		_SRC(nutv6());
		_DST(tnv6()); 
	},
		{
		Checksum=any;
		payload=ping_data;	
	}
)
























// tmp file

//
// Echo Request
// TN (link local address) --> NUT (link local address)
// include invalid chechsum
FEM_icmp6_echo_request( 
	echo_request_tn2nut_LLA_invalid_checksum, 
	_HETHER_tn2nut, 
		{ 
		_SRC(tnv6()); 
		_DST(nutv6()); 
	}, 
		{
		Checksum=12;
		payload=ping_data; 
	} 
)  

FEM_icmp6_parameter_problem(
	parameter_problem_nut2tn_invalid_checksum,
	_HETHER_nut2tn,
		{
		_SRC(nutv6());
		_DST(tnv6());
	},
		{
		Pointer = 42;    // Pointer to checksum
		payload = invoke_packet_echo_request;
	}
)

Payload invoke_packet_echo_request {
	data =left(_PACKET_IPV6_NAME(echo_request_tn2nut_LLA_invalid_checksum),54);
}

