jpcap
Class IPv6Option

java.lang.Object
  |
  +--jpcap.IPv6Option

public class IPv6Option
extends java.lang.Object

This class represents an IPv6 option header.


Field Summary
 IPAddress[] addrs
          IP addresses of the route (for routing option)
static byte AH_OPTION
          AH option
static byte DESTINATION_OPTION
          Destination option
static byte ESP_OPTION
          ESP option
static byte FRAGMENT_OPTION
          Fragment option
 byte hlen
          Header length
static byte HOP_BY_HOP_OPTION
          Hop by Hop option
 byte hop_left
          Hop left (for routing option)
 int identification
          Identification (for fragment option)
 boolean m_flag
          More fragment option (for fragment option)
 byte next_header
          Next header
static byte NONE_OPTION
          No next header option
 short offset
          Offset (for fragment option)
 byte[] option
          Option
static byte ROUTING_OPTION
          Routing option
 byte routing_type
          Routing type (for routing option)
 int sequence
          Sequence number (for AH option)
 int spi
          SPI (for AH option)
 byte type
          Option header type
 
Constructor Summary
IPv6Option()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HOP_BY_HOP_OPTION

public static final byte HOP_BY_HOP_OPTION
Hop by Hop option

ROUTING_OPTION

public static final byte ROUTING_OPTION
Routing option

FRAGMENT_OPTION

public static final byte FRAGMENT_OPTION
Fragment option

ESP_OPTION

public static final byte ESP_OPTION
ESP option

AH_OPTION

public static final byte AH_OPTION
AH option

NONE_OPTION

public static final byte NONE_OPTION
No next header option

DESTINATION_OPTION

public static final byte DESTINATION_OPTION
Destination option

type

public byte type
Option header type

next_header

public byte next_header
Next header

hlen

public byte hlen
Header length

option

public byte[] option
Option

routing_type

public byte routing_type
Routing type (for routing option)

hop_left

public byte hop_left
Hop left (for routing option)

addrs

public IPAddress[] addrs
IP addresses of the route (for routing option)

offset

public short offset
Offset (for fragment option)

m_flag

public boolean m_flag
More fragment option (for fragment option)

identification

public int identification
Identification (for fragment option)

spi

public int spi
SPI (for AH option)

sequence

public int sequence
Sequence number (for AH option)
Constructor Detail

IPv6Option

public IPv6Option()