Class: PacketGen::Header::DHCPv6::DUID_LL
- Defined in:
- lib/packetgen/header/dhcpv6/duid.rb
Overview
DUID Based on Link-layer
Constant Summary
Constants inherited from DUID
PacketGen::Header::DHCPv6::DUID::TYPES
Instance Attribute Summary collapse
-
#htype ⇒ Integer
16-bit hardware protocol type.
- #link_addr ⇒ Eth::MacAddr
Attributes inherited from DUID
Instance Method Summary collapse
-
#to_human ⇒ String
Get human-readable DUID description.
Methods inherited from DUID
Instance Attribute Details
permalink #htype ⇒ Integer
16-bit hardware protocol type
140 |
# File 'lib/packetgen/header/dhcpv6/duid.rb', line 140 define_attr :htype, BinStruct::Int16, default: 1 |
permalink #link_addr ⇒ Eth::MacAddr
143 |
# File 'lib/packetgen/header/dhcpv6/duid.rb', line 143 define_attr :link_addr, Eth::MacAddr |
Instance Method Details
permalink #to_human ⇒ String
Get human-readable DUID description
147 148 149 |
# File 'lib/packetgen/header/dhcpv6/duid.rb', line 147 def to_human "DUID_LL<#{link_addr}>" end |