openthread_sys

Function otBorderRouterAddOnMeshPrefix

Source
pub unsafe extern "C" fn otBorderRouterAddOnMeshPrefix(
    aInstance: *mut otInstance,
    aConfig: *const otBorderRouterConfig,
) -> otError
Expand description

Add a border router configuration to the local network data.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aConfig A pointer to the border router configuration.

@retval OT_ERROR_NONE Successfully added the configuration to the local network data. @retval OT_ERROR_INVALID_ARGS One or more configuration parameters were invalid. @retval OT_ERROR_NO_BUFS Not enough room is available to add the configuration to the local network data.

@sa otBorderRouterRemoveOnMeshPrefix @sa otBorderRouterRegister