Lines Matching refs:sa
355 union sockaddr_union sa; in dns_scope_socket() local
369 sa = (union sockaddr_union) { in dns_scope_socket()
374 salen = sizeof(sa.in); in dns_scope_socket()
377 sa = (union sockaddr_union) { in dns_scope_socket()
383 salen = sizeof(sa.in6); in dns_scope_socket()
396 sa = (union sockaddr_union) { in dns_scope_socket()
401 salen = sizeof(sa.in); in dns_scope_socket()
404 sa = (union sockaddr_union) { in dns_scope_socket()
410 salen = sizeof(sa.in6); in dns_scope_socket()
417 fd = socket(sa.sa.sa_family, type|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in dns_scope_socket()
428 r = socket_set_unicast_if(fd, sa.sa.sa_family, ifindex); in dns_scope_socket()
435 r = socket_set_ttl(fd, sa.sa.sa_family, 1); in dns_scope_socket()
442 r = socket_set_recverr(fd, sa.sa.sa_family, true); in dns_scope_socket()
446 r = socket_set_recvpktinfo(fd, sa.sa.sa_family, true); in dns_scope_socket()
451 r = socket_disable_pmtud(fd, sa.sa.sa_family); in dns_scope_socket()
456 r = socket_set_recvfragsize(fd, sa.sa.sa_family, true); in dns_scope_socket()
462 *ret_socket_address = sa; in dns_scope_socket()
477 … !manager_find_link_address(s->manager, sa.sa.sa_family, sockaddr_in_addr(&sa.sa))) { in dns_scope_socket()
485 r = connect(fd, &sa.sa, salen); in dns_scope_socket()