Searched refs:sa_family (Results 1 – 9 of 9) sorted by relevance
36 __kernel_sa_family_t sa_family; member44 __kernel_sa_family_t sa_family; member49 __kernel_sa_family_t sa_family; member54 __kernel_sa_family_t sa_family; member59 __kernel_sa_family_t sa_family; member
130 __kernel_sa_family_t sa_family; member137 __kernel_sa_family_t sa_family; member
72 __kernel_sa_family_t sa_family; member
57 if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET) lo_inet4 = addr; in TEST()58 else if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET6) lo_inet6 = addr; in TEST()59 else if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_PACKET) lo_packet = addr; in TEST()89 int family = addr->ifa_addr ? addr->ifa_addr->sa_family : in TEST()90 addr->ifa_broadaddr ? addr->ifa_broadaddr->sa_family : in TEST()121 ifr.ifr_addr.sa_family = AF_INET; in CheckAddressIsInSet()151 if (addr->ifa_name && addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET) { in TEST()155 if (addr->ifa_name && addr->ifa_broadaddr && addr->ifa_broadaddr->sa_family == AF_INET) { in TEST()180 int family = addr->sa_family; in print_sockaddr_inet()229 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()
70 sa_family_t sa_family; member