pub unsafe extern "C" fn otIp6SetReceiveCallback(
    aInstance: *mut otInstance,
    aCallback: otIp6ReceiveCallback,
    aCallbackContext: *mut c_void
)
Expand description

Registers a callback to provide received IPv6 datagrams.

By default, this callback does not pass Thread control traffic. See otIp6SetReceiveFilterEnabled() to change the Thread control traffic filter setting.

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

@sa otIp6IsReceiveFilterEnabled @sa otIp6SetReceiveFilterEnabled