class PacketGen::Header::IP::LSRR
Loose Source and Record Route IP
option
Public Instance Methods
pointed_addr()
click to toggle source
Get IP
address pointer by {#pointer} @return [Addr]
# File lib/packetgen/header/ip/option.rb, line 150 def pointed_addr data[pointer / 4 - 1] end
to_human()
click to toggle source
Get a human readable string @return [String]
# File lib/packetgen/header/ip/option.rb, line 156 def to_human str = self.class.to_s.sub(/.*::/, '') str << ':' << self[:data].to_human end