ot::Ip6::Netif::SetAddressCallback() method
Registers a callback to notify internal IPv6 address changes.
Arguments
aCallback
A pointer to a function that is called when an IPv6 address is added or removed.
aCallbackContext
A pointer to application-specific context.