NAME

Net::DHCPv6::Option::ElapsedTime - Elapsed Time option (code 8) — 16-bit centiseconds

VERSION

version 0.001

SYNOPSIS

my $et = Net::DHCPv6::Option::ElapsedTime->new(centiseconds => 1000);

DESCRIPTION

Implements the Elapsed Time option (OPTION_ELAPSED_TIME, code 8) per RFC 8415 §21.9. A 16-bit unsigned integer representing hundredths of a second elapsed since the client began the transaction.

ALPHA STATUS

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

METHODS

new(centiseconds => $num)

Constructor. Requires a 16-bit value in centiseconds (0-65535).

centiseconds

Returns the elapsed time in centiseconds.

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