Searched refs:sa_family (Results 1 – 9 of 9) sorted by relevance
48 __kernel_sa_family_t sa_family; member56 __kernel_sa_family_t sa_family; member61 __kernel_sa_family_t sa_family; member66 __kernel_sa_family_t sa_family; member71 __kernel_sa_family_t sa_family; member
142 __kernel_sa_family_t sa_family; member149 __kernel_sa_family_t sa_family; member
169 __kernel_sa_family_t sa_family; member
52 if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET) lo_inet4 = addr; in TEST()53 else if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET6) lo_inet6 = addr; in TEST()54 else if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_PACKET) lo_packet = addr; in TEST()84 int family = addr->ifa_addr ? addr->ifa_addr->sa_family : in TEST()85 addr->ifa_broadaddr ? addr->ifa_broadaddr->sa_family : in TEST()116 ifr.ifr_addr.sa_family = AF_INET; in CheckAddressIsInSet()146 if (addr->ifa_name && addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET) { in TEST()150 if (addr->ifa_name && addr->ifa_broadaddr && addr->ifa_broadaddr->sa_family == AF_INET) { in TEST()175 int family = addr->sa_family; in print_sockaddr_inet()230 int family = ifa->ifa_addr ? ifa->ifa_addr->sa_family : in TEST()[all …]
228 switch (sa->sa_family) { in res_ourserver_p()692 if (sa->sa_family == AF_INET) in get_salen()694 else if (sa->sa_family == AF_INET6) in get_salen()803 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM | SOCK_CLOEXEC, 0); in send_vc()829 if (random_bind(statp->_vcsock,nsap->sa_family) < 0) { in send_vc()1089 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in send_dg()1126 if (random_bind(EXT(statp).nssocks[ns], nsap->sa_family) < 0) { in send_dg()1328 if (a->sa_family != b->sa_family) in sock_eq()1330 switch (a->sa_family) { in sock_eq()
127 switch (sa->sa_family) { in android_getnameinfofornet()194 family = sa->sa_family; in getnameinfo_inet()239 switch (sa->sa_family) { in getnameinfo_inet()
1125 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; in get_ai()1514 if (addr->sa_family == AF_INET6) { in _get_scope()1530 } else if (addr->sa_family == AF_INET) { in _get_scope()1576 if (addr->sa_family == AF_INET) { in _get_label()1578 } else if (addr->sa_family == AF_INET6) { in _get_label()1618 if (addr->sa_family == AF_INET) { in _get_precedence()1620 } else if (addr->sa_family == AF_INET6) { in _get_precedence()1756 if (a1->has_src_addr && a1->ai->ai_addr->sa_family == AF_INET6 && in _rfc6724_compare()1757 a2->has_src_addr && a2->ai->ai_addr->sa_family == AF_INET6) { in _rfc6724_compare()1793 switch (addr->sa_family) { in _find_src_addr()[all …]
38 STRUCT_MEMBER(struct sockaddr, sa_family_t, sa_family); in sys_socket_h()
69 sa_family_t sa_family; member