Lines Matching refs:ip6
127 const struct in6_addr *mask, const struct in6_addr *ip6)
132 if (((((int *) ip6)[i] & ((int *) mask)[i])) !=
261 static char *get_ipv6_net32_unused(const struct in6_addr *ip6,
287 if (!is_in_subnet_ipv6(ip6, &mask, &network))
294 (rand() % 128) + (ip6->s6_addr[1] < 128 ? 128 : 0),
300 if (!is_in_subnet_ipv6(ip6, &mask, &network))
305 256 * (rand() % 128) + (256 * ip6->s6_addr[0] < 128 ?
311 if (!is_in_subnet_ipv6(ip6, &mask, &network))
577 struct in6_addr ip6;
594 tst_get_in6_addr(lip_str, &ip6);
600 tst_get_in6_addr(rip_str, &ip6);