NAME

Net::DHCPv6::Option::VendorClass - Vendor Class option (code 16) — enterprise-number + opaque data

VERSION

version 0.001

SYNOPSIS

use Net::DHCPv6::Option::VendorClass;
my $opt = Net::DHCPv6::Option::VendorClass->new(
    enterprise_number => 9,
    vendor_data       => [ 'foo', 'bar' ],
);

DESCRIPTION

Conveys vendor-class information consisting of an IANA enterprise number and one or more opaque data items. See RFC 8415 §21.16.

ALPHA STATUS

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

METHODS

new

Constructor. Requires enterprise_number. Optional vendor_data (arrayref of opaque strings, defaults to empty list).

enterprise_number

Returns the IANA enterprise number.

vendor_data

Returns an arrayref of opaque vendor 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