ot::NetworkData::PrefixTlv::CalculateSize() method
Calculates the total size (number of bytes) of a Prefix TLV with a given Prefix Length value. Note that the returned size does include the Type and Length fields in the TLV, but does not account for any sub TLVs of the Prefix TLV.
Arguments
aPrefixLength
A Prefix Length in bits.
Return value
The size (number of bytes) of the Prefix TLV.
ot::NetworkData::PrefixTlv::CalculateSize() is called by 1 function and calls 1 function:
![]()
ot::NetworkData::PrefixTlv::CalculateSize()
ot::NetworkData::PrefixTlv::CalculateSize():
![]()
ot::NetworkData::PrefixTlv::CalculateSize()