class PacketProtocols::Arp

Constants

HARDWARES
OPERATIONS
PROTOCOLS

Public Instance Methods

ipv4_in_ethernet?() click to toggle source
# File lib/packet-protocols/arp.rb, line 24
def ipv4_in_ethernet?
  hardware == :ethernet && protocol == :ipv4
end
length() click to toggle source
# File lib/packet-protocols/arp.rb, line 28
def length
  28
end