openthread_sys

Function otBorderRoutingGetNextRouterEntry

Source
pub unsafe extern "C" fn otBorderRoutingGetNextRouterEntry(
    aInstance: *mut otInstance,
    aIterator: *mut otBorderRoutingPrefixTableIterator,
    aEntry: *mut otBorderRoutingRouterEntry,
) -> otError
Expand description

Iterates over the discovered router entries on the infrastructure link.

@param[in] aInstance The OpenThread instance. @param[in,out] aIterator A pointer to the iterator. @param[out] aEntry A pointer to the entry to populate.

@retval OT_ERROR_NONE Iterated to the next router, @p aEntry and @p aIterator are updated. @retval OT_ERROR_NOT_FOUND No more router entries.