pub unsafe extern "C" fn otBorderRoutingGetOnLinkPrefix(
    aInstance: *mut otInstance,
    aPrefix: *mut otIp6Prefix
) -> otError
Expand description

Gets the local On-Link Prefix for the adjacent infrastructure link.

The local On-Link Prefix is a 64-bit prefix that’s advertised on the infrastructure link if there isn’t already a usable on-link prefix being advertised on the link.

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

@retval OT_ERROR_INVALID_STATE The Border Routing Manager is not initialized yet. @retval OT_ERROR_NONE Successfully retrieved the local on-link prefix.