Skip to main content

otBorderRoutingGetNextNat64PrefixEntry

Function otBorderRoutingGetNextNat64PrefixEntry 

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

Iterates through the RA-discovered NAT64 prefix table.

Requires OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE.

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