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


Manual Reference Pages  -  NET::FRAME::LAYER::IPV6::ROUTING (3)

.ds Aq ’

NAME

Net::Frame::Layer::IPv6::Routing - Internet Protocol v6 Routing Extension Header layer object

CONTENTS

SYNOPSIS



   use Net::Frame::Simple;
   use Net::Frame::Layer::IPv6::Routing;

   my $icmp = Net::Frame::Layer::IPv6::Routing->new(
      nextHeader   => NF_IPv6_PROTOCOL_TCP
      hdrExtLen    => 2
      routingType  => 0,
      segmentsLeft => 1,
      reserved     => 0,
      addresses    => [::1]
   );

   #
   # Read a raw layer
   #

   my $layer = Net::Frame::Layer::IPv6::Routing->new(raw => $raw);

   print $layer->print."\n";
   print PAYLOAD: .unpack(H*, $layer->payload)."\n"
      if $layer->payload;



DESCRIPTION

This modules implements the encoding and decoding of the IPv6 Routing Extension Header layer.

RFC: ftp://ftp.rfc-editor.org/in-notes/rfc2460.txt

See also <B>Net::Frame::LayerB> for other attributes and methods.

ATTRIBUTES

<B>nextHeaderB> Protocol number of the next header after the Routing header.
<B>hdrExtLenB> The length of the Routing header in 8-byte units, not including the first 8 bytes of the header. For a Routing Type of 0, this value is thus two times the number addresses embedded in the header.
<B>routingTypeB> This field allows multiple routing types to be defined; at present, the only value used is 0.
<B>segmentsLeftB> Specifies the number of explicitly-named nodes remaining in the route until the destination.
<B>reservedB> Not used; set to zeroes.
<B>addressesB> A set of IPv6 addresses that specify the route to be used.
The following are inherited attributes. See <B>Net::Frame::LayerB> for more information.
<B>rawB>
<B>payloadB>
<B>nextLayerB>

METHODS

<B>newB>
<B>newB> (hash) Object constructor. You can pass attributes that will overwrite default ones. See <B>SYNOPSISB> for default values.
<B>computeLengthsB> Computes <B>hdrExtLenB> and <B>segmentsLeftB> based on number of <B>addressesB>.
<B>computeSegmentsLeftB> (0 | 1) Disable (0) or enable (1) automatic computing of <B>segmentsLeftB> by the <B>computeLengthsB> method. Default is enabled.
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 <B>Net::Frame::LayerB> for more information.
<B>layerB>
<B>computeLengthsB>
<B>computeChecksumsB>
<B>packB>
<B>unpackB>
<B>encapsulateB>
<B>getLengthB>
<B>getPayloadLengthB>
<B>printB>
<B>dumpB>

CONSTANTS

No constants here.

SEE ALSO

Net::Frame::Layer

AUTHOR

Michael Vincent

COPYRIGHT AND LICENSE

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.

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


perl v5.20.3 NET::FRAME::LAYER::IPV6::ROUTING (3) 2015-01-20

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