Sha256: f7e6dbb05ce5d4cbe95fb328328def2fe7cbf48e72bc29c734f5c8667fc2fc05

Contents?: true

Size: 482 Bytes

Versions: 24

Compression:

Stored size: 482 Bytes

Contents

require 'pio'

request = Pio::Arp::Request.new(
  source_mac: '00:26:82:eb:ea:d1',
  sender_protocol_address: '192.168.83.3',
  target_protocol_address: '192.168.83.254'
)
request.to_binary  # => Arp Request frame in binary format.

reply = Pio::Arp::Reply.new(
  source_mac: '00:16:9d:1d:9c:c4',
  destination_mac: '00:26:82:eb:ea:d1',
  sender_protocol_address: '192.168.83.254',
  target_protocol_address: '192.168.83.3'
)
reply.to_binary  # => Arp Reply frame in binary format.

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
pio-0.18.2 examples/arp_new.rb
pio-0.18.1 examples/arp_new.rb
pio-0.18.0 examples/arp_new.rb
pio-0.17.0 examples/arp_new.rb
pio-0.16.0 examples/arp_new.rb
pio-0.15.2 examples/arp_new.rb
pio-0.15.1 examples/arp_new.rb
pio-0.15.0 examples/arp_new.rb
pio-0.14.0 examples/arp_new.rb
pio-0.13.0 examples/arp_new.rb
pio-0.12.0 examples/arp_new.rb
pio-0.11.2 examples/arp_new.rb
pio-0.11.1 examples/arp_new.rb
pio-0.11.0 examples/arp_new.rb
pio-0.10.1 examples/arp_new.rb
pio-0.10.0 examples/arp_new.rb
pio-0.9.0 examples/arp_new.rb
pio-0.8.2 examples/arp_new.rb
pio-0.8.1 examples/arp_new.rb
pio-0.8.0 examples/arp_new.rb