Class: PacketGen::Header::IPv6::HopByHop
- Inherits:
-
Extension
- Object
- Types::Fields
- Base
- Extension
- PacketGen::Header::IPv6::HopByHop
- Defined in:
- lib/packetgen/header/ipv6/hop_by_hop.rb
Overview
Hop-by-hop IPv6 extension
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Next Header | Hdr Ext Len | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +
| |
. .
. Options .
. .
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Hop-by-hop IPv6 extension header consists of:
-
a Extension#next header field (Types::Int8),
-
a Extension#length field (Types::Int8),
-
and a Extension#body, containing next header.
Instance Attribute Summary collapse
-
#options ⇒ Options
Specific options of extension header.
Attributes inherited from Extension
Method Summary
Methods inherited from Extension
Methods inherited from Base
bind, calculate_and_set_length, #header_id, inherited, #initialize, #ip_header, #ll_header
Methods included from PacketGen::Headerable
#added_to_packet, included, #method_name, #packet, #packet=, #parse?, #protocol_name, #read
Methods inherited from Types::Fields
#[], #[]=, #bits_on, define_bit_fields_on, define_field, define_field_after, define_field_before, #fields, fields, inherited, #initialize, #inspect, #offset_of, #optional?, #optional_fields, #present?, #read, remove_bit_fields_on, remove_field, #sz, #to_h, #to_s, update_field
Constructor Details
This class inherits a constructor from PacketGen::Header::Base