openthread_sys

Function otNat64SetReceiveIp4Callback

Source
pub unsafe extern "C" fn otNat64SetReceiveIp4Callback(
    aInstance: *mut otInstance,
    aCallback: otNat64ReceiveIp4Callback,
    aContext: *mut c_void,
)
Expand description

Registers a callback to provide received IPv4 datagrams.

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