Class: PacketGen::Header::DHCPv6::ORO
- Defined in:
- lib/packetgen/header/dhcpv6/option.rb
Overview
DHCPv6 Option Request Option
Instance Attribute Summary collapse
Attributes inherited from Option
Instance Method Summary collapse
-
#human_data ⇒ String
Get human-readable data.
Methods inherited from Option
human_type, initialize, new, subclasses, to_human
Instance Attribute Details
#options ⇒ BinStruct::ArrayOfInt16
230 |
# File 'lib/packetgen/header/dhcpv6/option.rb', line 230 define_attr :options, BinStruct::ArrayOfInt16, builder: ->(h, t) { t.new(length_from: h[:length]) } |
Instance Method Details
#human_data ⇒ String
Get human-readable data
234 235 236 |
# File 'lib/packetgen/header/dhcpv6/option.rb', line 234 def human_data self[:options].to_human end |