openthread_sys

Function otBorderRoutingGetPdProcessedRaInfo

Source
pub unsafe extern "C" fn otBorderRoutingGetPdProcessedRaInfo(
    aInstance: *mut otInstance,
    aPdProcessedRaInfo: *mut otPdProcessedRaInfo,
) -> otError
Expand description

Gets the data of platform generated RA message processed..

OPENTHREAD_CONFIG_BORDER_ROUTING_DHCP6_PD_ENABLE must be enabled.

@param[in] aInstance A pointer to an OpenThread instance. @param[out] aPrefixInfo A pointer to where the prefix info will be output to.

@retval OT_ERROR_NONE Successfully retrieved the Info. @retval OT_ERROR_INVALID_STATE The Border Routing Manager is not initialized yet. @retval OT_ERROR_NOT_FOUND There are no valid Info on this BR.