/external/libcups/cups/ |
D | http-addr.c | 44 if (addr->addr.sa_family == AF_INET6 && in httpAddrAny() 49 if (addr->addr.sa_family == AF_INET && in httpAddrAny() 80 if (addr && addr->addr.sa_family == AF_LOCAL) in httpAddrClose() 104 if (addr1->addr.sa_family != addr2->addr.sa_family) in httpAddrEqual() 108 if (addr1->addr.sa_family == AF_LOCAL) in httpAddrEqual() 113 if (addr1->addr.sa_family == AF_INET6) in httpAddrEqual() 134 if (addr->addr.sa_family == AF_INET6) in httpAddrLength() 139 if (addr->addr.sa_family == AF_LOCAL) in httpAddrLength() 143 if (addr->addr.sa_family == AF_INET) in httpAddrLength() 178 if ((fd = socket(addr->addr.sa_family, SOCK_STREAM, 0)) < 0) in httpAddrListen() [all …]
|
/external/ipsec-tools/src/racoon/ |
D | sockmisc.c | 99 if (addr1->sa_family != addr2->sa_family) 103 || addr1->sa_family != addr2->sa_family) 108 switch (addr1->sa_family) { 153 if (addr1->sa_family != addr2->sa_family) 157 || addr1->sa_family != addr2->sa_family) 162 switch (addr1->sa_family) { 218 if (addr1->sa_family != addr2->sa_family) 222 || addr1->sa_family != addr2->sa_family) 227 switch (addr1->sa_family) { 266 int s = socket(remote->sa_family, SOCK_DGRAM, 0); in getlocaladdr() [all …]
|
D | grabmyaddr.c | 196 I->ifa_addr->sa_family = m->ifa_family; in recvaddrs() 323 if (p->addr->sa_family != q->addr->sa_family) 360 if (ifap->ifa_addr->sa_family != AF_INET in grab_myaddrs() 362 && ifap->ifa_addr->sa_family != AF_INET6 in grab_myaddrs() 387 if (ifap->ifa_addr->sa_family == AF_INET6) { in grab_myaddrs() 398 if (ifap->ifa_addr->sa_family == AF_INET6) { in grab_myaddrs() 499 switch (ifr->ifr_addr.sa_family) { in grab_myaddrs() 579 switch(ifaddr->sa_family) { 603 if (ifaddr->sa_family != AF_INET6) 900 int check_wo_scope_id = (my->sa_family == AF_INET6) && [all …]
|
/external/kernel-headers/original/uapi/linux/ |
D | if_pppox.h | 66 __kernel_sa_family_t sa_family; /* address family, AF_PPPOX */ member 80 __kernel_sa_family_t sa_family; /* address family, AF_PPPOX */ member 86 __kernel_sa_family_t sa_family; /* address family, AF_PPPOX */ member 95 __kernel_sa_family_t sa_family; /* address family, AF_PPPOX */ member 101 __kernel_sa_family_t sa_family; /* address family, AF_PPPOX */ member
|
/external/strace/tests-mx32/ |
D | net.expected | 3 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +bind\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_path="net… 5 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +getsockname\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_pa… 6 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +accept4?\(0, \{sa_family=AF_(LOCAL|UNIX|FILE)\}, \[19->2… 7 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +connect\(1, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_path="…
|
D | sun_path.expected | 1 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +bind\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_path="123… 2 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +getsockname\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_pa… 3 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +connect\(1, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_path="…
|
D | net-sockaddr.c | 469 u.sa->sa_family = 0xff; in check_raw() 473 ", %u) = %d EBADF (%m)\n", u.sa->sa_family, in check_raw() 474 (int) (sizeof(*u.st) - sizeof(u.sa->sa_family)), 0, len, ret); in check_raw() 476 u.sa->sa_family = 0; in check_raw() 477 len = sizeof(u.sa->sa_family) + 1; in check_raw() 482 u.sa->sa_family = AF_BLUETOOTH; in check_raw()
|
/external/strace/tests-m32/ |
D | net.expected | 3 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +bind\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_path="net… 5 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +getsockname\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_pa… 6 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +accept4?\(0, \{sa_family=AF_(LOCAL|UNIX|FILE)\}, \[19->2… 7 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +connect\(1, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_path="…
|
D | sun_path.expected | 1 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +bind\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_path="123… 2 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +getsockname\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_pa… 3 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +connect\(1, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_path="…
|
D | net-sockaddr.c | 469 u.sa->sa_family = 0xff; in check_raw() 473 ", %u) = %d EBADF (%m)\n", u.sa->sa_family, in check_raw() 474 (int) (sizeof(*u.st) - sizeof(u.sa->sa_family)), 0, len, ret); in check_raw() 476 u.sa->sa_family = 0; in check_raw() 477 len = sizeof(u.sa->sa_family) + 1; in check_raw() 482 u.sa->sa_family = AF_BLUETOOTH; in check_raw()
|
/external/strace/tests/ |
D | net.expected | 3 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +bind\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_path="net… 5 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +getsockname\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_pa… 6 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +accept4?\(0, \{sa_family=AF_(LOCAL|UNIX|FILE)\}, \[19->2… 7 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +connect\(1, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_path="…
|
D | sun_path.expected | 1 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +bind\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_path="123… 2 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +getsockname\(0, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_pa… 3 [1-9][0-9]* +[0-9]+:[0-9]+:[0-9]+\.[0-9]+ +connect\(1, \{sa_family=AF_(LOCAL|UNIX|FILE), sun_path="…
|
D | net-sockaddr.c | 469 u.sa->sa_family = 0xff; in check_raw() 473 ", %u) = %d EBADF (%m)\n", u.sa->sa_family, in check_raw() 474 (int) (sizeof(*u.st) - sizeof(u.sa->sa_family)), 0, len, ret); in check_raw() 476 u.sa->sa_family = 0; in check_raw() 477 len = sizeof(u.sa->sa_family) + 1; in check_raw() 482 u.sa->sa_family = AF_BLUETOOTH; in check_raw()
|
/external/strace/ |
D | sockaddr.c | 67 #define SIZEOF_SA_FAMILY sizeof(((struct sockaddr *) 0)->sa_family) 335 printxval(addrfams, sa->sa_family, "AF_???"); in print_sockaddr() 340 if (sa->sa_family < ARRAY_SIZE(sa_printers) in print_sockaddr() 341 && sa_printers[sa->sa_family].printer in print_sockaddr() 342 && addrlen >= sa_printers[sa->sa_family].min_len) { in print_sockaddr() 343 sa_printers[sa->sa_family].printer(buf, addrlen); in print_sockaddr() 376 return addrbuf.sa.sa_family; in decode_sockaddr()
|
/external/dnsmasq/src/ |
D | network.c | 99 if (addr && tmp->addr.sa.sa_family == family) in iface_check() 180 if (addr->sa.sa_family == AF_INET && in iface_allowed() 190 if (addr->sa.sa_family == AF_INET6 && in iface_allowed() 421 new->family = iface->addr.sa.sa_family; in create_bound_listener() 430 if ((new->tcpfd = socket(iface->addr.sa.sa_family, SOCK_STREAM, 0)) == -1 || in create_bound_listener() 431 (new->fd = socket(iface->addr.sa.sa_family, SOCK_DGRAM, 0)) == -1 || in create_bound_listener() 439 if (iface->addr.sa.sa_family == AF_INET6) in create_bound_listener() 458 if (iface->addr.sa.sa_family == AF_INET6 && (errno == ENODEV || errno == EADDRNOTAVAIL) && in create_bound_listener() 592 new->family = iface->addr.sa.sa_family; in create_bound_listeners() 601 if ((new->tcpfd = socket(iface->addr.sa.sa_family, SOCK_STREAM, 0)) == -1 || in create_bound_listeners() [all …]
|
D | forward.c | 65 if (to->sa.sa_family == AF_INET) in send_from() 130 unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6; in search_servers() 139 if (serv->addr.sa.sa_family == AF_INET) in search_servers() 159 unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6; in search_servers() 170 if (serv->addr.sa.sa_family == AF_INET) in search_servers() 304 if (start->addr.sa.sa_family == AF_INET6) in forward_query() 350 if (start->addr.sa.sa_family == AF_INET) in forward_query() 487 serveraddr.sa.sa_family = family; in reply_query() 489 if (serveraddr.sa.sa_family == AF_INET6) in reply_query() 633 source_addr.sa.sa_family = listen->family; in receive_query() [all …]
|
D | util.c | 256 if (s1->sa.sa_family == s2->sa.sa_family) in sockaddr_isequal() 258 if (s1->sa.sa_family == AF_INET && in sockaddr_isequal() 263 if (s1->sa.sa_family == AF_INET6 && in sockaddr_isequal() 280 if (addr->sa.sa_family == AF_INET6) in sa_len()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.h | 59 #define GET_SA_LEN(X) (((struct sockaddr*)&(X))->sa_family == AF_INET ? sizeof(struct sockaddr_in)… 60 …((struct sockaddr*)&(X))->sa_family == AF_INET6 ? sizeof(struct sockaddr_in6) : sizeof(struct sock… 62 #define GET_SA_LEN(X) (((struct sockaddr*)&(X))->sa_family == AF_INET ? sizeof(struct sockaddr_in) …
|
/external/syslinux/gpxe/src/core/ |
D | open.c | 114 socket_family_name ( peer->sa_family ) ); in xfer_open_socket() 118 ( opener->family == peer->sa_family ) ) { in xfer_open_socket() 125 socket_family_name ( peer->sa_family ) ); in xfer_open_socket()
|
/external/ltp/utils/sctp/testlib/ |
D | sctputil.c | 345 if (addr1->sa.sa_family != addr2->sa.sa_family) in cmp_addr() 347 switch (addr1->sa.sa_family) { in cmp_addr() 360 addr1->sa.sa_family); in cmp_addr() 389 switch (sa_addr->sa_family) { in test_peer_addr()
|
/external/toybox/toys/net/ |
D | ifconfig.c | 121 if (ifre.ifr_hwaddr.sa_family == types[i].type) break; in display_ifconfig() 124 if(i >= 0 && ifre.ifr_hwaddr.sa_family == ARPHRD_ETHER) { in display_ifconfig() 135 ifre.ifr_addr.sa_family = AF_INET; in display_ifconfig() 402 if (!strcmp("ether", *++argv)) sock->sa_family = ARPHRD_ETHER; in ifconfig_main() 404 sock->sa_family = ARPHRD_INFINIBAND; in ifconfig_main() 409 if (!sock->sa_family || !argv[1]) help_exit("bad hw '%s'", *argv); in ifconfig_main() 430 if (sock->sa_family == ARPHRD_INFINIBAND && !strchr(ifre.ifr_name, '/')) { in ifconfig_main()
|
/external/ipsec-tools/src/libipsec/ |
D | pfkey.c | 393 if (src->sa_family != dst->sa_family) { in pfkey_send_getspi() 401 switch (src->sa_family) { in pfkey_send_getspi() 577 if (src->sa_family != dst->sa_family) { in pfkey_send_delete_all() 581 switch (src->sa_family) { in pfkey_send_delete_all() 1086 if (src->sa_family != dst->sa_family) { in pfkey_send_migrate() 1091 switch (src->sa_family) { in pfkey_send_migrate() 1167 if (sa_parms->src->sa_family != sa_parms->dst->sa_family) { in pfkey_send_x1() 1171 switch (sa_parms->src->sa_family) { in pfkey_send_x1() 1441 if (src->sa_family != dst->sa_family) { in pfkey_send_x2() 1445 switch (src->sa_family) { in pfkey_send_x2() [all …]
|
/external/mtpd/ |
D | mtpd.h | 30 sa_family_t sa_family; member 38 sa_family_t sa_family; member
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | gcs_dns_cache.cc | 107 if (i->ai_family != AF_INET || i->ai_addr->sa_family != AF_INET) { in ResolveName() 109 << ". sa_family: " << i->ai_addr->sa_family << "."; in ResolveName() 116 if ((formatted = inet_ntop(i->ai_addr->sa_family, address_ptr, buf, in ResolveName()
|
/external/curl/lib/ |
D | if2ip.c | 69 if(sa->sa_family == AF_INET6) { in Curl_ipv6_scope() 136 if(iface->ifa_addr->sa_family == af) { in Curl_if2ip() 234 req.ifr_addr.sa_family = AF_INET; in Curl_if2ip()
|