Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
sniffer
master
Sniffer
EtherHeader
EthMac
Header
IPPacket
TCPPacket
UDPPacket
Socket
Address
Built with Crystal 1.9.2
2023-10-08 14:26:52 UTC
abstract struct
Sniffer::Header
Sniffer::Header
Struct
Value
Object
Direct Known Subclasses
Sniffer::EtherHeader
Sniffer::IPPacket
Sniffer::TCPPacket
Sniffer::UDPPacket
Defined in:
sniffer/header.cr
Constructors
.new
Instance Method Summary
#initialize
#read_u16
(io)
#read_u32
(io)
#read_u64
(io)
#read_u8
(io)
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
initialize
#
[
View source
]
def
read_u16
(io)
#
[
View source
]
def
read_u32
(io)
#
[
View source
]
def
read_u64
(io)
#
[
View source
]
def
read_u8
(io)
#
[
View source
]