[][src]Function openthread_sys::otUdpForwardReceive

pub unsafe extern "C" fn otUdpForwardReceive(
    aInstance: *mut otInstance,
    aMessage: *mut otMessage,
    aPeerPort: u16,
    aPeerAddr: *const otIp6Address,
    aSockPort: u16
)

Handle a UDP packet received from host.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aMessage A pointer to the UDP Message. @param[in] aPeerPort The source UDP port. @param[in] aPeerAddr A pointer to the source address. @param[in] aSockPort The destination UDP port.

@warning No matter the call success or fail, the message is freed.