Home
last modified time | relevance | path

Searched refs:sa_family (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/kernel/common/linux/
Dif_pppopns.h21 sa_family_t sa_family; member
Dif_pppolac.h21 sa_family_t sa_family; member
Dsocket.h36 sa_family_t sa_family; member
/bionic/libc/netbsd/resolv/
Dres_send.c231 switch (sa->sa_family) { in res_ourserver_p()
637 if (sa->sa_family == AF_INET)
639 else if (sa->sa_family == AF_INET6)
710 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM, 0); in send_vc()
731 if (random_bind(statp->_vcsock,nsap->sa_family) < 0) { in send_vc()
880 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM, 0); in send_dg()
912 if (random_bind(EXT(statp).nssocks[ns], nsap->sa_family) < 0) { in send_dg()
1122 if (a->sa_family != b->sa_family) in sock_eq()
1124 switch (a->sa_family) { in sock_eq()
/bionic/libc/netbsd/net/
Dgetnameinfo.c112 switch (sa->sa_family) { in getnameinfo()
164 family = sa->sa_family;
206 switch (sa->sa_family) {
Dgetaddrinfo.c924 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; in get_ai()
1299 if (addr->sa_family == AF_INET6) { in _get_scope()
1315 } else if (addr->sa_family == AF_INET) { in _get_scope()
1363 if (addr->sa_family == AF_INET) { in _get_label()
1365 } else if (addr->sa_family == AF_INET6) { in _get_label()
1404 if (addr->sa_family == AF_INET) { in _get_precedence()
1406 } else if (addr->sa_family == AF_INET6) { in _get_precedence()
1541 if (a1->has_src_addr && a1->ai->ai_addr->sa_family == AF_INET6 && in _rfc3484_compare()
1542 a2->has_src_addr && a2->ai->ai_addr->sa_family == AF_INET6) { in _rfc3484_compare()
1578 switch (addr->sa_family) { in _find_src_addr()
[all …]