Home
last modified time | relevance | path

Searched refs:ip6rd (Results 1 – 1 of 1) sorted by relevance

/external/iproute2/ip/
Diptunnel.c297 struct ip_tunnel_6rd ip6rd = {}; in print_tunnel() local
352 if (p->iph.protocol == IPPROTO_IPV6 && !tnl_ioctl_get_6rd(p->name, &ip6rd) && ip6rd.prefixlen) { in print_tunnel()
354 inet_ntop(AF_INET6, &ip6rd.prefix, s1, sizeof(s1)), in print_tunnel()
355 ip6rd.prefixlen); in print_tunnel()
356 if (ip6rd.relay_prefix) { in print_tunnel()
358 format_host(AF_INET, 4, &ip6rd.relay_prefix), in print_tunnel()
359 ip6rd.relay_prefixlen); in print_tunnel()
516 struct ip_tunnel_6rd ip6rd = {}; in do_6rd() local
527 memcpy(&ip6rd.prefix, prefix.data, 16); in do_6rd()
528 ip6rd.prefixlen = prefix.bitlen; in do_6rd()
[all …]