struct Sniffer::EtherHeader
- Sniffer::EtherHeader
- Sniffer::Header
- Struct
- Value
- Object
Defined in:
sniffer/eth_header.crConstructors
Instance Method Summary
- #ether_dhost : StaticArray(UInt8, 6)
- #ether_shost : StaticArray(UInt8, 6)
- #ether_type : UInt16
-
#inspect
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
Instance methods inherited from struct Sniffer::Header
initialize
initialize,
read_u16(io)
read_u16,
read_u32(io)
read_u32,
read_u64(io)
read_u64,
read_u8(io)
read_u8
Constructor methods inherited from struct Sniffer::Header
new
new
Constructor Detail
Instance Method Detail
def inspect
#
Description copied from class Object
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
.