riot_sys::bindgen

Function netif_print_ipv6

Source
pub unsafe extern "C" fn netif_print_ipv6(
    netif: *mut netif_t,
    separator: *const c_char,
)
Expand description

@brief Print the IPv6 address(es) of the given interface @param[in] netif Interface to print the IPv6 address(es) of @param[in] separator Separator to print between the IPv6 addresses

Usage:

    // print IPv6 addrs of netif as JSON
    printf("{\"IPv6 addresses\": [\"");
    netif_print_ipv6(netif, "\", \"");
    puts("\"]}");