openthread_sys

Function otIp6GetPrefix

Source
pub unsafe extern "C" fn otIp6GetPrefix(
    aAddress: *const otIp6Address,
    aLength: u8,
    aPrefix: *mut otIp6Prefix,
)
Expand description

Gets a prefix with @p aLength from @p aAddress.

@param[in] aAddress A pointer to an IPv6 address. @param[in] aLength The length of prefix in bits. @param[out] aPrefix A pointer to output the IPv6 prefix.