Function otBorderRoutingGetNextRdnssAddrEntry

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

Iterates over the Recursive DNS Server (RDNSS) address entries.

Address entries are discovered by processing the RDNSS options within received Router Advertisement messages from routers on infrastructure link.

Address entries associated with the same discovered router on an infrastructure link are guaranteed to be grouped together (retrieved back-to-back).

@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 address entry, @p aEntry and @p aIterator are updated. @retval OT_ERROR_NOT_FOUND No more entries in the table. @retval OT_ERROR_INVALID_ARSG The iterator is invalid (used to iterate over other entry types, e.g. prefix).