NAME

Net::DHCPv6::Option::VendorOpts - Vendor-specific Information option (code 17) -- enterprise + sub-options

VERSION

version 0.002

SYNOPSIS

use Net::DHCPv6::Option::VendorOpts;
my $opt = Net::DHCPv6::Option::VendorOpts->new(
    enterprise_number => 9,        # Cisco (IANA PEN)
    sub_options       => [ $subopt1, $subopt2 ],
);

DESCRIPTION

Carries vendor-specific sub-options scoped by an IANA Private Enterprise Number (PEN, see https://www.iana.org/assignments/enterprise-numbers). See RFC 8415 §21.17.

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 sub_options (an arrayref of Net::DHCPv6::Option objects or raw bytes).

enterprise_number

Returns the IANA enterprise number.

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