ot::Dns::LeaseOption::InitAsLongVariant() method
Initializes the Update Lease Option using the long variant format which contains both lease and key lease intervals.
Arguments
aLeaseInterval
The lease interval in seconds.
aKeyLeaseInterval
The key lease interval in seconds.
![]()
leaseOption.InitAsLongVariant(aLease, aKeyLease);
ot::Dns::LeaseOption::InitAsLongVariant() is called by 2 functions and calls 4 functions:
![]()
ot::Dns::LeaseOption::InitAsLongVariant()
ot::Dns::LeaseOption::InitAsLongVariant() reads 2 variables:
![]()
ot::Dns::LeaseOption::InitAsLongVariant()