Class: PacketGen::Header::DHCP::Option

Inherits:
Types::AbstractTLV show all
Defined in:
lib/packetgen/header/dhcp/option.rb

Overview

Option class with string value. #type and #length are Types::Int8.

See also IPAddrOption, Int8Option, Int16Option and Int32Option.

Since:

Constant Summary

Constants inherited from Types::AbstractTLV

Types::AbstractTLV::FIELD_TYPES

Method Summary

Methods inherited from Types::AbstractTLV

create, define_type_enum, #human_type, #initialize, #read, #to_human, #value=

Methods included from Types::Fieldable

#format_inspect, #read, #sz, #to_human, #to_s, #type_name

Methods inherited from Types::Fields

#[], #[]=, #bits_on, define_bit_fields_on, define_field, define_field_after, define_field_before, #fields, fields, inherited, #initialize, #inspect, #offset_of, #optional?, #optional_fields, #present?, #read, remove_bit_fields_on, remove_field, #sz, #to_h, #to_s, update_field

Constructor Details

This class inherits a constructor from PacketGen::Types::AbstractTLV