ot::Ip6::Netif::UpdatePreferredFlagOn() method
Updates the preferred flag on a previously added (internal to OpenThread core) unicast address. If the address is not added to the network interface or the current preferred flag of @p aAddress is the same as the given @p aPreferred, no action is performed.
Arguments
aAddress
The unicast address
aPreferred
The new value for preferred flag.
ot::Ip6::Netif::UpdatePreferredFlagOn() calls 2 functions:
![]()
ot::Ip6::Netif::UpdatePreferredFlagOn()
ot::Ip6::Netif::UpdatePreferredFlagOn() reads 3 variables and writes 1 variable:
![]()
ot::Ip6::Netif::UpdatePreferredFlagOn()