Lines Matching refs:lsa
167 len_and_sockaddr *lsa; in set_default_dns() local
173 lsa = xhost2sockaddr(server, 53); in set_default_dns()
175 if (lsa->u.sa.sa_family == AF_INET) { in set_default_dns()
178 _res.nsaddr_list[0] = lsa->u.sin; in set_default_dns()
185 if (lsa->u.sa.sa_family == AF_INET6) { in set_default_dns()
191 _res._u._ext.nsaddrs[0] = &lsa->u.sin6; in set_default_dns()
259 len_and_sockaddr *lsa; member
530 pfd.fd = xsocket_type(&local_lsa, ns->lsa->u.sa.sa_family, SOCK_DGRAM); in send_queries()
540 xconnect(pfd.fd, &ns->lsa->u.sa, ns->lsa->len); in send_queries()
583 auto_string(xmalloc_sockaddr2dotted(&ns->lsa->u.sa)) in send_queries()
707 ns->lsa = xhost2sockaddr(addr, G.default_port); in add_ns()