Home | History | Annotate | Download | only in lib

Lines Matching defs:ip6

138 	const struct in6_addr *mask, const struct in6_addr *ip6)
143 if (((((int *) ip6)[i] & ((int *) mask)[i])) !=
272 static char *get_ipv6_net32_unused(const struct in6_addr *ip6,
298 if (!is_in_subnet_ipv6(ip6, &mask, &network))
305 (rand() % 128) + (ip6->s6_addr[1] < 128 ? 128 : 0),
311 if (!is_in_subnet_ipv6(ip6, &mask, &network))
316 256 * (rand() % 128) + (256 * ip6->s6_addr[0] < 128 ?
322 if (!is_in_subnet_ipv6(ip6, &mask, &network))
592 struct in6_addr ip6;
609 get_in6_addr(lip_str, &ip6);
615 get_in6_addr(rip_str, &ip6);