pub type otIp6AddressCallback = Option<unsafe extern "C" fn(aAddress: *const otIp6Address, aPrefixLength: u8, aIsAdded: bool, aContext: *mut c_void)>;Expand description
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.
Aliased Type§
enum otIp6AddressCallback {
None,
Some(unsafe extern "C" fn(_: *const otIp6Address, _: u8, _: bool, _: *mut c_void)),
}