#
#	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.proto	1.3
#

array set ipv6FieldInfo {

src	"\nSource Address: Address (IPv6)\n\nExamples:\n  pset pkt1 ipv6 src fe80::2:0:800:2012:cc52\n  pget pkt1 ipv6 src"

dst	"\nDestination Address: Address (IPv6)\n\nExamples:\n  pset pkt1 ipv6 dst fe80::2:0:800:2012:cc52\n  pget pkt1 ipv6 dst"

proto	"\nNext Header: Numeric (Integer)\n\nIdentifies the type of header immediately following the IPv6 header.\n\nExamples:\n  pset pkt1 ipv6 proto 79\n  pget pkt1 ipv6 proto"

flow	"\nFlow Label Numeric (Integer)\n\nMight be used by a source to label those packets for which it requests special handling by the IPv6 routers (experimental). It is assigned by the flow's source node, and ranges from 1 to FFFFFF hex.\n\nExamples:\n  pset pkt1 ipv6 flow 0xf\n  pget pkt1 ipv6 flow"

v	"\nVersion: Numeric (Integer)\n\nInternet Protocol version number = 6\n\nExamples:\n  pset pkt1 ipv6 v 6\n  pget pkt1 ipv6 v"

len	"\nPayload Length: Numeric (Integer)\n\nLength of payload, i.e., the rest of the packet following the IPv6 header, in octets.  If zero, indicates that the payload length is carried in a Jumbo Payload hop-by-hop option.\n\nExamples:\n  pset pkt1 ipv6 len 0\n  pget pkt1 ipv6 len"

ttl	"\nHop Limit: Numeric (Integer)\n\nDecremented by 1 by each node that forwards the packet.  The packet is discarded if Hop Limit is decremented to zero.\n\nExamples:\n  pset pkt1 ipv6 ttl 200\n  pget pkt1 ipv6 ttl"

}

set pset_ipv6 [array names ipv6FieldInfo]
set pget_ipv6 [array names ipv6FieldInfo]

set protocolInfo(ipv6)	"Internet Protocol, Version 6"
