NAME

Net::DHCPv6::Option::UserClass - User Class option (code 15) — list of opaque user class data

VERSION

version 0.001

SYNOPSIS

use Net::DHCPv6::Option::UserClass;
my $opt = Net::DHCPv6::Option::UserClass->new(
    user_class_data => [ 'foo', 'bar' ],
);

DESCRIPTION

Carries a list of opaque user class data items. Each item is preceded by a 16-bit length field. See RFC 8415 §21.15.

ALPHA STATUS

ALPHA SOFTWARE. This is an early release. The interface is experimental and subject to change without notice.

METHODS

new

Constructor. Optional user_class_data (arrayref of opaque strings, defaults to empty list).

user_class_data

Returns an arrayref of opaque user class data items.

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