struct

Sniffer::IPPacket

Inherits Sniffer::Header / Struct / Value / Object

Constructors

new(io : IO)
Source

Instance methods

addr2string(addr : UInt32)
Source
inspect

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

This method should usually not be overridden. It delegates to #inspect(IO) which can be overridden for custom implementations.

Also see #to_s.

Source
protocol
Source
protocol_string
Source
tot_len
Source