#
#	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-opts.proto	1.2
#

array set ipv6-optsFieldInfo {

nexthdr "\nNext Header: Numeric (Integer)\n\nIdentifies the header type of\nthe packet following this option header.\n\nExamples:\n  pset pkt1 ipv6-opts nexthdr 0\n  pget pkt1 ipv6-opts nexthdr"

hdrextlen "\nLength of this Option Header: Numeric (Integer)\n\nIdentifies the lengthof this option header\nin unit of octets excpet the first octet.\n\nExamples:\n  pset pkt1 ipv6-opts hdrextlen 2 (means actual len is 24 bytes)\n  pget pkt1 ipv6-opts hdrextlen"


optype "\nOption type: Numeric (Integer)\n\nIdentifies single option type of values right after\nhdrextlen. Valid values are 0, 1, 2, 3 (RFC 1883).\n\nExamples:\n  pset pkt1 ipv6-opts optype 1\n  pget pkt1 ipv6-opts optype\n\nOtherwise, for PAD1:\nExamples:\n  pset pkt1 ipv6-opts optype pad1\n  pget pkt1 ipv6-opts optype pad1\n\nFor PAD n:\nExamples:\n  pset pkt1 ipv6-opts optype padn 4 (4 bytes padding)\n  pget pkt1 ipv6-opts optype padn\n\nFor JUMBO:\nExamples:\n  pset pkt1 ipv6-opts optype jumbo <data-len>\n  pget pkt1 ipv6-opts optype jumbo"



}

set pset_ipv6-opts [array names ipv6-optsFieldInfo]
set pget_ipv6-opts [array names ipv6-optsFieldInfo]

set protocolInfo(ipv6-opts)	"Hop-by-Hop and Destination Options for IPv6"
