Lines Matching defs:dns
172 free(server->dns);
514 sizeof(struct in_addr) * server->n_dns, server->dns);
1107 int sd_dhcp_server_set_dns(sd_dhcp_server *server, const struct in_addr dns[], unsigned n) {
1109 assert_return(dns || n <= 0, -EINVAL);
1112 memcmp(server->dns, dns, sizeof(struct in_addr) * n) == 0)
1116 server->dns = mfree(server->dns);
1121 c = newdup(struct in_addr, dns, n);
1125 free(server->dns);
1126 server->dns = c;