Class: PacketGen::Header::DHCP::Pad

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

Overview

Class to indicate padding after DHCP options

Since:

  • 2.2.0

Instance Attribute Summary

Attributes inherited from Types::Int

#default, #endian, #value, #width

Instance Method Summary collapse

Methods inherited from End

#to_human

Methods inherited from Types::Int

#format_inspect, #nbits, #read, #sz, #to_f, #to_i, #to_s

Methods included from Types::Fieldable

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

Constructor Details

#initialize(value = 0) ⇒ Pad

Returns a new instance of Pad.

Since:

  • 2.2.0



118
119
120
# File 'lib/packetgen/header/dhcp/option.rb', line 118

def initialize(value=0)
  super
end