Class: Pio::Icmp::Format

Inherits:
BinData::Record
  • Object
show all
Includes:
EthernetHeader, Pio::IPv4Header
Defined in:
lib/pio/icmp/format.rb

Overview

Icmp parser.

Constant Summary collapse

MINIMUM_IP_PACKET_LENGTH =
50

Instance Method Summary collapse

Methods included from Pio::IPv4Header

included

Methods included from Payload

#binary_after

Methods included from EthernetHeader

included, #vlan?, #vlan_pcp, #vlan_vid

Instance Method Details

#message_typeObject



26
27
28
# File 'lib/pio/icmp/format.rb', line 26

def message_type
  icmp_type
end