openthread_sys

Function otUdpForwardSetForwarder

Source
pub unsafe extern "C" fn otUdpForwardSetForwarder(
    aInstance: *mut otInstance,
    aForwarder: otUdpForwarder,
    aContext: *mut c_void,
)
Expand description

Set UDP forward callback to deliver UDP packets to host.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aForwarder A pointer to a function called to forward UDP packet to host. @param[in] aContext A pointer to application-specific context.