Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/net/
Dreuseaddr_conflict.c25 int v6only = 1; in open_port() local
56 if (ipv6 && setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, (void*)&v6only, in open_port()
57 sizeof(v6only)) < 0) { in open_port()
/external/iproute2/misc/
Dss.c1047 unsigned int ifindex, bool v6only) in inet_addr_print() argument
1057 if (!v6only && in inet_addr_print()
1730 static void inet_stats_print(struct sockstat *s, bool v6only) in inet_stats_print() argument
1734 inet_addr_print(&s->local, s->lport, s->iface, v6only); in inet_stats_print()
1735 inet_addr_print(&s->remote, s->rport, 0, v6only); in inet_stats_print()
2414 unsigned char v6only = 0; in inet_show_sock() local
2423 v6only = rta_getattr_u8(tb[INET_DIAG_SKV6ONLY]); in inet_show_sock()
2425 inet_stats_print(s, v6only); in inet_show_sock()
2442 printf(" v6only:%u", v6only); in inet_show_sock()