Class: Capp::Packet::IPv6Header

Inherits:
Struct
  • Object
show all
Defined in:
lib/capp/packet.rb

Overview

IPv6 header. See RFC 2460

Instance Attribute Summary collapse

Instance Attribute Details

#destinationObject

Returns the value of attribute destination

Returns:

  • (Object)

    the current value of destination



55
56
57
# File 'lib/capp/packet.rb', line 55

def destination
  @destination
end

#flow_labelObject

Returns the value of attribute flow_label

Returns:

  • (Object)

    the current value of flow_label



55
56
57
# File 'lib/capp/packet.rb', line 55

def flow_label
  @flow_label
end

#hop_limitObject

Returns the value of attribute hop_limit

Returns:

  • (Object)

    the current value of hop_limit



55
56
57
# File 'lib/capp/packet.rb', line 55

def hop_limit
  @hop_limit
end

#next_headerObject

Returns the value of attribute next_header

Returns:

  • (Object)

    the current value of next_header



55
56
57
# File 'lib/capp/packet.rb', line 55

def next_header
  @next_header
end

#payload_lengthObject

Returns the value of attribute payload_length

Returns:

  • (Object)

    the current value of payload_length



55
56
57
# File 'lib/capp/packet.rb', line 55

def payload_length
  @payload_length
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



55
56
57
# File 'lib/capp/packet.rb', line 55

def source
  @source
end

#traffic_classObject

Returns the value of attribute traffic_class

Returns:

  • (Object)

    the current value of traffic_class



55
56
57
# File 'lib/capp/packet.rb', line 55

def traffic_class
  @traffic_class
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



55
56
57
# File 'lib/capp/packet.rb', line 55

def version
  @version
end