NAME
Net::DHCPv6::Option::ClientLinkLayerAddr - Client Link-Layer Address option (code 79) — link-layer type + address
VERSION
version 0.001
SYNOPSIS
use Net::DHCPv6::Option::ClientLinkLayerAddr;
my $opt = Net::DHCPv6::Option::ClientLinkLayerAddr->new(
link_layer_type => 1,
link_layer_addr => "\x00\x11\x22\x33\x44\x55",
);
DESCRIPTION
Carries the link-layer address of the client, inserted by a relay agent. Consists of a 16-bit link-layer type (IANA ARP hardware type) followed by the link-layer address. See RFC 6939.
ALPHA STATUS
ALPHA SOFTWARE. This is an early release. The interface is experimental and subject to change without notice.
METHODS
new
Constructor. Requires link_layer_type and link_layer_addr.
link_layer_type
Returns the 16-bit link-layer type (e.g. 1 for Ethernet).
link_layer_addr
Returns the link-layer address bytes.
SEE ALSO
Net::DHCPv6::Option, Net::DHCPv6::OptionList
AUTHOR
Dean Hamstead <dean@fragfest.com.au>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2026 by Dean Hamstead.
This is free software, licensed under:
The MIT (X11) License