[][src]Type Definition openthread_sys::otIp6AddressCallback

type otIp6AddressCallback = Option<unsafe extern "C" fn(aAddress: *const otIp6Address, aPrefixLength: u8, aIsAdded: bool, aContext: *mut c_void)>;

This function pointer is called when an internal IPv6 address is added or removed.

@param[in] aAddress A pointer to the IPv6 address. @param[in] aPrefixLength The prefix length if @p aAddress is unicast address, and 128 for multicast address. @param[in] aIsAdded TRUE if the @p aAddress was added, FALSE if @p aAddress was removed. @param[in] aContext A pointer to application-specific context.