class PacketGen::Header::IPv6::Option

Constants

TYPES

Known option types

Public Instance Methods

to_human() click to toggle source

@return [String]

# File lib/packetgen/header/ipv6/hop_by_hop.rb, line 26
def to_human
  case type
  when 1
    "pad#{self.sz}"
  else
    "#{human_type}(#{value.to_s.inspect})"
  end
end