Sha256: 9e727809e97970e30b8bb3dbfc4db33303d67fd1efdf35ed170c1b97278a69e1
Contents?: true
Size: 541 Bytes
Versions: 4
Compression:
Stored size: 541 Bytes
Contents
require 'pio/options' module Pio class Icmp # User options for creating an ICMP messages. class Options < Pio::Options def to_hash { icmp_type: @type, source_mac: @source_mac, destination_mac: @destination_mac, source_ip_address: @source_ip_address, destination_ip_address: @destination_ip_address, icmp_identifier: @identifier, icmp_sequence_number: @sequence_number, echo_data: @echo_data }.freeze end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pio-0.30.0 | lib/pio/icmp/options.rb |
pio-0.29.0 | lib/pio/icmp/options.rb |
pio-0.28.1 | lib/pio/icmp/options.rb |
pio-0.28.0 | lib/pio/icmp/options.rb |