Sha256: 4f07afa71d8bb2e4ce8e404bf95df7691548acf9fd4431b73f62e56aa9060d0e

Contents?: true

Size: 550 Bytes

Versions: 1

Compression:

Stored size: 550 Bytes

Contents

require 'pio/arp/message'
require 'pio/instance_inspector'
require 'pio/mac'

module Pio
  class Arp
    # ARP Request packet generator
    class Request < Message
      include InstanceInspector

      option :operation, value: 1
      option :source_mac
      option :destination_mac, default: 'ff:ff:ff:ff:ff:ff'.freeze
      option :sender_hardware_address, value: :source_mac
      option :target_hardware_address, default: '00:00:00:00:00:00'.freeze
      option :sender_protocol_address
      option :target_protocol_address
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pio-0.30.1 lib/pio/arp/request.rb