/external/openssh/openbsd-compat/ |
D | fake-rfc2553.c | 134 ai->ai_addr = (struct sockaddr *)(ai + 1); in malloc_ai() 137 ai->ai_addr->sa_family = ai->ai_family = AF_INET; in malloc_ai() 139 ((struct sockaddr_in *)(ai)->ai_addr)->sin_port = port; in malloc_ai() 140 ((struct sockaddr_in *)(ai)->ai_addr)->sin_addr.s_addr = addr; in malloc_ai()
|
D | fake-rfc2553.h | 147 struct sockaddr *ai_addr; /* binary address */ member
|
/external/libpcap/Win32/Src/ |
D | getaddrinfo.c | 336 pai->ai_addr = NULL; 344 hints->ai_addr || hints->ai_next) 903 sin6 = (struct sockaddr_in6 *)cur->ai_addr; 1014 ai->ai_addr = (struct sockaddr *)(ai + 1); 1015 memset(ai->ai_addr, 0, afd->a_socklen); 1017 ai->ai_addr->sa_len = afd->a_socklen; 1020 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; 1021 p = (char *)(ai->ai_addr); 1100 ((struct sockaddr_in *)ai->ai_addr)->sin_port = port; 1104 ((struct sockaddr_in6 *)ai->ai_addr)->sin6_port = port;
|
/external/boringssl/src/tool/ |
D | transport_common.cc | 108 reinterpret_cast<struct sockaddr_in *>(result->ai_addr); in Connect() 116 reinterpret_cast<struct sockaddr_in6 *>(result->ai_addr); in Connect() 124 if (connect(*out_sock, result->ai_addr, result->ai_addrlen) != 0) { in Connect()
|
/external/toybox/toys/pending/ |
D | host.c | 86 a = (void *)&((struct sockaddr_in *)ai->ai_addr)->sin_addr; in host_main() 90 a = (void *)&((struct sockaddr_in6 *)ai->ai_addr)->sin6_addr; in host_main() 125 if (s < 0 || connect(s, ai->ai_addr, ai->ai_addrlen) < 0) in host_main()
|
D | tcpsvd.c | 250 if ((bind(sockfd, rp->ai_addr, rp->ai_addrlen)) < 0) perror_exit("Bind failed"); in create_bind_sock() 251 if(haddr) memcpy(haddr, rp->ai_addr, rp->ai_addrlen); in create_bind_sock()
|
/external/lldb/source/Host/common/ |
D | SocketAddress.cpp | 166 addr_info->ai_addr && in operator =() 171 addr_info->ai_addr, in operator =()
|
/external/libvncserver/x11vnc/ |
D | inet.c | 609 char *s = ipv6_getipaddr(ap->ai_addr, ap->ai_addrlen); in listen6() 614 memcpy((char *)&sin, ap->ai_addr, sizeof(sin)); in listen6() 809 s6ptr = (struct sockaddr_in6 *) ap->ai_addr; in connect_tcp() 825 char *s = ipv6_getipaddr(ap->ai_addr, ap->ai_addrlen); in connect_tcp() 830 res = connect(sock, ap->ai_addr, ap->ai_addrlen); in connect_tcp() 838 res = connect(sock, ap->ai_addr, ap->ai_addrlen); in connect_tcp()
|
/external/netperf/ |
D | netlib.c | 2557 struct sockaddr *ai_addr; in dump_addrinfo() local 2585 ai_addr = temp->ai_addr; in dump_addrinfo() 2586 if (ai_addr != NULL) { in dump_addrinfo() 2589 inet_ftos(ai_addr->sa_family), in dump_addrinfo() 2590 (u_char)ai_addr->sa_data[0], in dump_addrinfo() 2591 (u_char)ai_addr->sa_data[1], in dump_addrinfo() 2592 (u_char)ai_addr->sa_data[2], in dump_addrinfo() 2593 (u_char)ai_addr->sa_data[3], in dump_addrinfo() 2594 (u_char)ai_addr->sa_data[4], in dump_addrinfo() 2595 (u_char)ai_addr->sa_data[5]); in dump_addrinfo() [all …]
|
D | nettest_sctp.c | 614 remote_res->ai_addr, 1755 remote_res->ai_addr, 1869 (struct sockaddr *)remote_res->ai_addr, 1946 sctp_sendmsg(send_socket[0], NULL, 0, remote_res->ai_addr, 2825 remote_res->ai_addr, 3882 remote_res->ai_addr, 3962 remote_res->ai_addr, 3994 remote_res->ai_addr,
|
/external/android-clat/ |
D | dns64.c | 64 plat_addr = ((struct sockaddr_in6 *)result->ai_addr)->sin6_addr; in plat_prefix()
|
/external/tcpdump/missing/ |
D | addrinfo.h | 78 struct sockaddr *ai_addr; /* binary address */ member
|
/external/libpcap/Win32/Include/ |
D | addrinfo.h | 78 struct sockaddr *ai_addr; /* binary address */ member
|
D | ip6_misc.h | 159 struct sockaddr *ai_addr; /* binary address */ member
|
/external/boringssl/src/crypto/bio/ |
D | socket_helper.c | 65 memcpy(out_addr, cur->ai_addr, cur->ai_addrlen); in bio_ip_and_port_to_socket_and_addr()
|
/external/openssh/ |
D | addrmatch.c | 217 if (ai == NULL || ai->ai_addr == NULL) in addr_pton() 221 addr_sa_to_xaddr(ai->ai_addr, ai->ai_addrlen, n) == -1) { in addr_pton()
|
D | audit-bsm.c | 153 in4 = (struct sockaddr_in *)ai->ai_addr; in aug_get_machine() 159 in6 = (struct sockaddr_in6 *)ai->ai_addr; in aug_get_machine()
|
D | sshconnect.c | 309 r = bindresvport_sa(sock, res ? res->ai_addr : NULL); in ssh_create_socket() 317 if (bind(sock, res->ai_addr, res->ai_addrlen) < 0) { in ssh_create_socket() 451 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, in ssh_connect_direct() 466 if (timeout_connect(sock, ai->ai_addr, ai->ai_addrlen, in ssh_connect_direct() 469 memcpy(hostaddr, ai->ai_addr, ai->ai_addrlen); in ssh_connect_direct()
|
/external/toybox/toys/other/ |
D | nbd_client.c | 62 if (-1 != connect(sock, p->ai_addr, p->ai_addrlen)) break; in nbd_client_main()
|
/external/ipsec-tools/src/racoon/ |
D | kmpstat.c | 226 return ai->ai_addr;
|
/external/ipsec-tools/src/libipsec/ |
D | policy_parse.y | 420 if (res->ai_addr == NULL) { 432 memcpy(newaddr, res->ai_addr, res->ai_addrlen);
|
/external/iptables/libxtables/ |
D | xtoptions.c | 533 xtables_sa_host(p->ai_addr, p->ai_family), in xtopt_parse_host() 539 xtables_sa_host(p->ai_addr, p->ai_family), in xtopt_parse_host() 570 ret = ((struct sockaddr_in6 *)p->ai_addr)->sin6_port; in xtables_getportbyname() 573 ret = ((struct sockaddr_in *)p->ai_addr)->sin_port; in xtables_getportbyname() 681 memcpy(&cb->val.hmask, xtables_sa_host(res->ai_addr, res->ai_family), in xtopt_parse_mask()
|
/external/netcat/ |
D | netcat.c | 628 if (bind(s, (struct sockaddr *)ares->ai_addr, in remote_connect() 636 if (timeout_connect(s, res0->ai_addr, res0->ai_addrlen) == 0) in remote_connect() 737 if (bind(s, (struct sockaddr *)res0->ai_addr, in local_listen()
|
/external/opencv/otherlibs/highgui/ |
D | cvcap_socket.cpp | 229 if (connect(sockd, pAddrInfo->ai_addr, pAddrInfo->ai_addrlen) < 0 || errno != 0) in grabFrame()
|
/external/libvncserver/libvncclient/ |
D | sockets.c | 370 if (connect(sock, res->ai_addr, res->ai_addrlen) == 0) in ConnectClientToTcpAddr6() 566 if (bind(sock, p->ai_addr, p->ai_addrlen) < 0) { in ListenAtTcpPortAndAddress()
|