GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::Frame::Layer::IPv6::Destination(3) User Contributed Perl Documentation Net::Frame::Layer::IPv6::Destination(3)

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.

nextHeader
Protocol number of the next header after the Destination header.
hdrExtLen
The length of the Destination Options header in 8-byte units, not including the first 8 bytes of the header.
options
A number of Net::Frame::Layer::IPv6::Option objects.

The following are inherited attributes. See Net::Frame::Layer for more information.

raw
payload
nextLayer

new
new (hash)
Object constructor. You can pass attributes that will overwrite default ones. See SYNOPSIS for default values.

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.

layer
computeLengths
computeChecksums
pack
unpack
encapsulate
getLength
getOptionsLength
getPayloadLength
print
dump

No constants here.

Net::Frame::Layer

Michael Vincent

Copyright (c) 2012-2015, Michael Vincent

You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive.

2015-01-20 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.