#
#	Copyright (c) 1995, 1996, Sun Microsystems, Inc.
#
# This software is provided by Sun ``AS IS'' and any express or implied
# warranties, including, but not limited to, the implied warranties of
# merchantability and fitness for a particular purpose are disclaimed.
# In no event shall Sun Microsystems be liable for any direct, indirect,
# incidental, special, exemplary, or consequential damages.
#
# This software is not a product, and is provided for evaluation purposes
# only.
#
# This software may not be resold without the express permission of
# Sun Microsystems.
#
# Feedback on this tool may be sent to packet-shell-owner@sunroof.eng.sun.com.
#
# Packet Shell
#
# @(#)ipv6-icmp.proto	1.2
#

array set ipv6-icmpFieldInfo { 

type	"\nType Field: Numeric (Integer) or String (type-name)\n\nIndicates the type of the message.  Its value determines the format\nof the remaining data.\n\nExamples:\n  pset pkt1 ipv6-icmp type unreachable\n  pget pkt1 ipv6-icmp type\n\nPossible values for type-names:\n unreachable\n packet too big\n time exceeded\n parameter problem\n echo request\n echo reply\n group query\n group report\n group term\n router solicitation\n router advertisement\n neighbor solicitation\n neighbor advertisement"

code	"\nCode Field: Numeric (Integer)\n\nDepends on the message type.  Used to create an additional level of granularity.\n\nExamples:\n  pset pkt1 ipv6-icmp code 2\n  pget pkt1 ipv6-icmp code"

cksum	"\nChecksum Field: Optional Numeric (Integer)\n\nUsed to detect data corruption in the ICMPv6 message and parts of\nthe IPv6 header.\n\nExamples:\n  pset pkt1 ipv6-icmp cksum\n  pset pkt1 ipv6-icmp cksum 0xf\n  pget pkt1 ipv6-icmp cksum"

cksum-valid	"\nReturns: Whether the checksum is valid or not.\n\nExample:\n  pget pkt1 ipv6-icmp cksum-valid"

word1	"\nPointer Field: Numeric (Integer)\n\nIdentifies the octet offset within the invoking packet where\nthe error was detected.\n\nExamples:\n  pset pkt1 ipv6-icmp word1 80\n  pget pkt1 ipv6-icmp word1"

target	"\nDestination Address: Address (IPv6 format)\n\nRefers to the IPv6 target address (usually copied from the Source\nAddress of the invoking packet).\n\nExamples:\n  pset pkt1 ipv6-icmp target fe80::2:0:800:2012:cc52\n  pget pkt1 ipv6-icmp target"

target-ether	"\nTarget Ether: Address (Ethernet)\n\nRefers to the link layer destination address option.\n\nExamples:\n  pset pkt1 ipv6-icmp target-ether 8:0:20:7a:b9:e9\n  pget pkt1 ipv6-icmp target-ether"

source-ether	"\nSource Ether: Address (Ethernet)\n\nRefers to the link layer source address option.\n\nExamples:\n  pset pkt1 ipv6-icmp source-ether 8:0:20:7a:b9:e9\n  pget pkt1 ipv6-icmp source-ether"

ident	"\nIdentifier Field: Numeric (Integer)\n\nUsed to aid in matching Echo Replies to a Echo Request (may be zero).\n\nExamples:\n  pset pkt1 ipv6-icmp ident 0\n  pget pkt1 ipv6-icmp ident"

}

set pset_ipv6-icmp [array names ipv6-icmpFieldInfo]
set pget_ipv6-icmp [array names ipv6-icmpFieldInfo]

set protocolInfo(ipv6-icmp)	"Internet Control Message Protocol, Version 6"
