Function openthread_sys::otIp6AddUnsecurePort
source ยท pub unsafe extern "C" fn otIp6AddUnsecurePort(
aInstance: *mut otInstance,
aPort: u16,
) -> otError
Expand description
Adds a port to the allowed unsecured port list.
@param[in] aInstance A pointer to an OpenThread instance. @param[in] aPort The port value.
@retval OT_ERROR_NONE The port was successfully added to the allowed unsecure port list. @retval OT_ERROR_INVALID_ARGS The port is invalid (value 0 is reserved for internal use). @retval OT_ERROR_NO_BUFS The unsecure port list is full.