Class: Pio::Dhcp::Frame

Inherits:
BinData::Record
  • Object
show all
Includes:
FieldUtil, EthernetHeader, IPv4Header, UdpHeader
Defined in:
lib/pio/dhcp/frame.rb

Overview

Dhcp frame parser.

Constant Summary collapse

OPTION_FIELD_LENGTH =
60

Instance Method Summary collapse

Methods included from UdpHeader

included

Methods included from Payload

#binary_after

Methods included from IPv4Header

included

Methods included from EthernetHeader

included, #vlan?, #vlan_pcp, #vlan_vid

Methods included from FieldUtil

#bootp_flags, #client_identifier, #client_ip_address, #client_mac_address, #hops, #hw_addr_len, #hw_addr_type, #ip_address_lease_time, #message_type, #next_server_ip_address, #parameters_list, #rebinding_time_value, #relay_agent_ip_address, #renewal_time_value, #requested_ip_address, #seconds, #server_identifier, #subnet_mask, #transaction_id, #your_ip_address

Instance Method Details

#to_binaryObject



26
27
28
# File 'lib/pio/dhcp/frame.rb', line 26

def to_binary
  to_binary_s
end