openthread_sys

Function otIp6SetAddressCallback

Source
pub unsafe extern "C" fn otIp6SetAddressCallback(
    aInstance: *mut otInstance,
    aCallback: otIp6AddressCallback,
    aCallbackContext: *mut c_void,
)
Expand description

Registers a callback to notify internal IPv6 address changes.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aCallback A pointer to a function that is called when an internal IPv6 address is added or removed. NULL to disable the callback. @param[in] aCallbackContext A pointer to application-specific context.