openthread_sys

Function otPlatInfraIfHasAddress

Source
pub unsafe extern "C" fn otPlatInfraIfHasAddress(
    aInfraIfIndex: u32,
    aAddress: *const otIp6Address,
) -> bool
Expand description

Tells whether an infra interface has the given IPv6 address assigned.

@param[in] aInfraIfIndex The index of the infra interface. @param[in] aAddress The IPv6 address.

@returns TRUE if the infra interface has given IPv6 address assigned, FALSE otherwise.