Home
last modified time | relevance | path

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

/bionic/libc/kernel/uapi/linux/
Dif_pppox.h51 __kernel_sa_family_t sa_family; member
61 __kernel_sa_family_t sa_family; member
67 __kernel_sa_family_t sa_family; member
74 __kernel_sa_family_t sa_family; member
80 __kernel_sa_family_t sa_family; member
Dif_pppopns.h25 sa_family_t sa_family; member
Dif_pppolac.h25 sa_family_t sa_family; member
Dnfc.h159 sa_family_t sa_family; member
167 sa_family_t sa_family; member
/bionic/libc/dns/net/
Dgetnameinfo.c120 switch (sa->sa_family) { in android_getnameinfofornet()
187 family = sa->sa_family; in getnameinfo_inet()
232 switch (sa->sa_family) { in getnameinfo_inet()
Dgetaddrinfo.c1120 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; in get_ai()
1495 if (addr->sa_family == AF_INET6) { in _get_scope()
1511 } else if (addr->sa_family == AF_INET) { in _get_scope()
1557 if (addr->sa_family == AF_INET) { in _get_label()
1559 } else if (addr->sa_family == AF_INET6) { in _get_label()
1599 if (addr->sa_family == AF_INET) { in _get_precedence()
1601 } else if (addr->sa_family == AF_INET6) { in _get_precedence()
1737 if (a1->has_src_addr && a1->ai->ai_addr->sa_family == AF_INET6 && in _rfc6724_compare()
1738 a2->has_src_addr && a2->ai->ai_addr->sa_family == AF_INET6) { in _rfc6724_compare()
1774 switch (addr->sa_family) { in _find_src_addr()
[all …]
/bionic/libc/dns/resolv/
Dres_send.c240 switch (sa->sa_family) { in res_ourserver_p()
685 if (sa->sa_family == AF_INET)
687 else if (sa->sa_family == AF_INET6)
781 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM | SOCK_CLOEXEC, 0); in send_vc()
810 if (random_bind(statp->_vcsock,nsap->sa_family) < 0) { in send_vc()
1064 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in send_dg()
1104 if (random_bind(EXT(statp).nssocks[ns], nsap->sa_family) < 0) { in send_dg()
1308 if (a->sa_family != b->sa_family) in sock_eq()
1310 switch (a->sa_family) { in sock_eq()
/bionic/libc/include/sys/
Dsocket.h80 sa_family_t sa_family; member