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

Add an external route configuration to the local network data.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aConfig A pointer to the external route 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 otBorderRouterRemoveRoute @sa otBorderRouterRegister