Net::Frame::Layer::IPv6::Destination - Internet Protocol v6 Destination Extension Header layer object |
Net::Frame::Layer::IPv6::Destination - Internet Protocol v6 Destination Extension Header layer object
use Net::Frame::Simple; use Net::Frame::Layer::IPv6::Destination;
my $ipv6eh = Net::Frame::Layer::IPv6::Destination->new( nextHeader => NF_IPv6_PROTOCOL_TCP, hdrExtLen => 2, options => [] );
# # Read a raw layer #
my $layer = Net::Frame::Layer::IPv6::Destination->new(raw => $raw);
print $layer->print."\n"; print 'PAYLOAD: '.unpack('H*', $layer->payload)."\n" if $layer->payload;
This modules implements the encoding and decoding of the IPv6 Destination options Extension Header layer.
RFC: ftp://ftp.rfc-editor.org/in-notes/rfc2460.txt
See also Net::Frame::Layer for other attributes and methods.
The following are inherited attributes. See Net::Frame::Layer for more information.
The following are inherited methods. Some of them may be overridden in this layer, and some others may not be meaningful in this layer. See Net::Frame::Layer for more information.
No constants here.
Michael Vincent
Copyright (c) 2012-2014, Michael Vincent
You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive.
Net::Frame::Layer::IPv6::Destination - Internet Protocol v6 Destination Extension Header layer object |