Lines Matching refs:server
350 DnsServer *server, in dns_scope_socket() argument
361 if (server) { in dns_scope_socket()
365 ifindex = dns_server_ifindex(server); in dns_scope_socket()
367 switch (server->family) { in dns_scope_socket()
370 .in.sin_family = server->family, in dns_scope_socket()
372 .in.sin_addr = server->address.in, in dns_scope_socket()
378 .in6.sin6_family = server->family, in dns_scope_socket()
380 .in6.sin6_addr = server->address.in6, in dns_scope_socket()
499 int dns_scope_socket_udp(DnsScope *s, DnsServer *server) { in dns_scope_socket_udp() argument
500 … return dns_scope_socket(s, SOCK_DGRAM, AF_UNSPEC, NULL, server, dns_server_port(server), NULL); in dns_scope_socket_udp()
503 …(DnsScope *s, int family, const union in_addr_union *address, DnsServer *server, uint16_t port, un… in dns_scope_socket_tcp() argument
508 return dns_scope_socket(s, SOCK_STREAM, family, address, server, port, ret_socket_address); in dns_scope_socket_tcp()