Lines Matching refs:dns
308 if (network->dns[i]->family != AF_INET6) in network_get_ipv6_dns()
311 addr = &network->dns[i]->address; in network_get_ipv6_dns()
331 _cleanup_free_ struct in6_addr *dns = NULL; in radv_set_dns() local
341 dns = new(struct in6_addr, link->network->n_router_dns); in radv_set_dns()
342 if (!dns) in radv_set_dns()
345 p = dns; in radv_set_dns()
353 n_dns = p - dns; in radv_set_dns()
358 r = network_get_ipv6_dns(link->network, &dns, &n_dns); in radv_set_dns()
365 r = network_get_ipv6_dns(uplink->network, &dns, &n_dns); in radv_set_dns()
375 dns, n_dns); in radv_set_dns()
557 _cleanup_free_ struct in6_addr *dns = NULL; in radv_is_ready_to_configure() local
560 r = network_get_ipv6_dns(link->network, &dns, &n_dns); in radv_is_ready_to_configure()