[][src]Type Definition openthread_sys::otUdpHandler

type otUdpHandler = Option<unsafe extern "C" fn(aContext: *mut c_void, aMessage: *const otMessage, aMessageInfo: *const otMessageInfo) -> bool>;

This callback allows OpenThread to provide specific handlers for certain UDP messages.

@retval true The message is handled by this receiver and should not be further processed. @retval false The message is not handled by this receiver.