Class: FFI::Packets::Arp::Hdr

Inherits:
Struct
  • Object
show all
Includes:
DRY::NetStructHelper
Defined in:
lib/ffi/packets/arp.rb

Overview

ARP header

field :hrd, :uint16, :desc => 'format of hardware address'
field :pro, :uint16, :desc => 'format of protocol address'
field :hln, :uint16, :desc => 'length of hw address (ETH_ADDR_LEN)'
field :pln, :uint16, :desc => 'length of proto address (IP_ADDR_LEN)'
field :op,  :uint16, :desc => 'operation'

Defined Under Namespace

Modules: Op