ot::Ip6::Nd::RouteInfoOption::OptionSizeForPrefix() method
Calculates the minimum option size (in bytes) for a given prefix length.
Arguments
aPrefixLength
The prefix length (in bits).
Return value
The option size (in bytes) for @p aPrefixLength.
ot::Ip6::Nd::RouteInfoOption::OptionSizeForPrefix() is called by 1 function and calls 1 function:
![]()
ot::Ip6::Nd::RouteInfoOption::OptionSizeForPrefix()
ot::Ip6::Nd::RouteInfoOption::OptionSizeForPrefix() reads 1 variable:
![]()
ot::Ip6::Nd::RouteInfoOption::OptionSizeForPrefix()