/external/qemu/ |
D | qemu-sockets.c | 72 i6 = (void*)e->ai_addr; in inet_getport() 75 i4 = (void*)e->ai_addr; in inet_getport() 89 i6 = (void*)e->ai_addr; in inet_setport() 93 i4 = (void*)e->ai_addr; in inet_setport() 116 getnameinfo((struct sockaddr*)e->ai_addr,e->ai_addrlen, in inet_print_addrinfo() 173 getnameinfo((struct sockaddr*)e->ai_addr,e->ai_addrlen, in inet_listen_opts() 193 if (bind(slisten, e->ai_addr, e->ai_addrlen) == 0) { in inet_listen_opts() 275 if (getnameinfo((struct sockaddr*)e->ai_addr,e->ai_addrlen, in inet_connect_opts() 290 if (connect(sock,e->ai_addr,e->ai_addrlen) < 0) { in inet_connect_opts() 383 if (getnameinfo((struct sockaddr*)local->ai_addr,local->ai_addrlen, in inet_dgram_opts() [all …]
|
/external/chromium/net/base/ |
D | address_list_unittest.cc | 140 ai.ai_addr = reinterpret_cast<sockaddr*>(&address); in TEST() 211 EXPECT_EQ(memcmp(good_ai->ai_addr, test_ai->ai_addr, sockaddr_size), 0); in TEST() 242 AddressList::CreateAddressListFromSockaddr(good_ai->ai_addr, in TEST() 253 EXPECT_EQ(memcmp(good_ai->ai_addr, test_ai->ai_addr, sockaddr_size), 0); in TEST()
|
D | address_list.cc | 71 ai->ai_addr = reinterpret_cast<struct sockaddr*>(addr); in AddressList() 84 ai->ai_addr = reinterpret_cast<struct sockaddr*>(addr6); in AddressList() 224 ai->ai_addr = reinterpret_cast<struct sockaddr*>(new char[address_length]); in CreateAddressListFromSockaddr() 225 memcpy(ai->ai_addr, address, address_length); in CreateAddressListFromSockaddr()
|
D | host_resolver_proc.cc | 30 reinterpret_cast<struct sockaddr_in*>(ai->ai_addr); in IsAllLocalhostOfOneFamily() 39 reinterpret_cast<struct sockaddr_in6*>(ai->ai_addr); in IsAllLocalhostOfOneFamily()
|
D | host_port_pair.cc | 27 GetPortFromSockaddr(ai->ai_addr, ai->ai_addrlen)); in FromAddrInfo()
|
D | net_util.cc | 1684 return NetAddressToString(net_address->ai_addr, net_address->ai_addrlen); in NetAddressToString() 1709 net_address->ai_addr, net_address->ai_addrlen); in NetAddressToStringWithPort() 2218 if (info->ai_addr) { in CreateCopyOfAddrinfo() 2219 copy->ai_addr = reinterpret_cast<sockaddr *>(new char[info->ai_addrlen]); in CreateCopyOfAddrinfo() 2220 memcpy(copy->ai_addr, info->ai_addr, info->ai_addrlen); in CreateCopyOfAddrinfo() 2237 if (info->ai_addr) in FreeCopyOfAddrinfo() 2238 delete [] reinterpret_cast<char*>(info->ai_addr); in FreeCopyOfAddrinfo() 2258 const struct sockaddr* address = info->ai_addr; in GetPortFieldFromAddrinfo()
|
/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 | 144 struct sockaddr *ai_addr; /* binary address */ member
|
/external/dropbear/ |
D | fake-rfc2553.c | 129 ai->ai_addr = (struct sockaddr *)(ai + 1); in malloc_ai() 132 ai->ai_addr->sa_family = ai->ai_family = AF_INET; in malloc_ai() 134 ((struct sockaddr_in *)(ai)->ai_addr)->sin_port = port; in malloc_ai() 135 ((struct sockaddr_in *)(ai)->ai_addr)->sin_addr.s_addr = addr; in malloc_ai()
|
D | fake-rfc2553.h | 131 struct sockaddr *ai_addr; /* binary address */ member
|
/external/chromium/net/websockets/ |
D | websocket_throttle.cc | 27 reinterpret_cast<const sockaddr_in*>(addrinfo->ai_addr); in AddrinfoToHashkey() 34 reinterpret_cast<const sockaddr_in6*>(addrinfo->ai_addr); in AddrinfoToHashkey() 44 base::HexEncode(addrinfo->ai_addr, in AddrinfoToHashkey()
|
D | websocket_throttle_unittest.cc | 41 addrinfo->ai_addr = reinterpret_cast<sockaddr*>(new char[addrlen]); in AddAddr() 42 memset(addrinfo->ai_addr, 0, sizeof(addrlen)); in AddAddr() 44 reinterpret_cast<sockaddr_in*>(addrinfo->ai_addr); in AddAddr() 59 delete [] a->ai_addr; in DeleteAddrInfo()
|
/external/tcpdump/missing/ |
D | getaddrinfo.c | 324 pai->ai_addr = NULL; 332 hints->ai_addr || hints->ai_next) 891 sin6 = (struct sockaddr_in6 *)cur->ai_addr; 1003 ai->ai_addr = (struct sockaddr *)(ai + 1); 1004 memset(ai->ai_addr, 0, afd->a_socklen); 1006 ai->ai_addr->sa_len = afd->a_socklen; 1009 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; 1010 p = (char *)(ai->ai_addr); 1089 ((struct sockaddr_in *)ai->ai_addr)->sin_port = port; 1093 ((struct sockaddr_in6 *)ai->ai_addr)->sin6_port = port;
|
D | addrinfo.h | 78 struct sockaddr *ai_addr; /* binary address */ member
|
/external/chromium/net/tools/flip_server/ |
D | create_listener.cc | 176 if (bind(sock, results->ai_addr, results->ai_addrlen)) { in CreateListeningSocket() 282 if ( connect( sock, results->ai_addr, results->ai_addrlen ) ) { in CreateConnectedSocket()
|
/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 …]
|
/external/openssh/ |
D | audit-bsm.c | 143 in4 = (struct sockaddr_in *)ai->ai_addr; in aug_get_machine() 149 in6 = (struct sockaddr_in6 *)ai->ai_addr; in aug_get_machine()
|
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 | sshconnect.c | 232 if (bind(sock, res->ai_addr, res->ai_addrlen) < 0) { in ssh_create_socket() 376 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, in ssh_connect() 391 if (timeout_connect(sock, ai->ai_addr, ai->ai_addrlen, in ssh_connect() 394 memcpy(hostaddr, ai->ai_addr, ai->ai_addrlen); in ssh_connect()
|
/external/chromium/net/socket/ |
D | socks_client_socket.cc | 306 CHECK_EQ(AF_INET, ai->ai_addr->sa_family); in BuildHandshakeWriteBuffer() 308 reinterpret_cast<struct sockaddr_in*>(ai->ai_addr); in BuildHandshakeWriteBuffer()
|
D | tcp_server_socket_unittest.cc | 49 address.head()->ai_addr, address.head()->ai_addrlen)); in GetPeerAddress()
|
/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/chromium/net/spdy/ |
D | spdy_session_pool.cc | 216 endpoint.FromSockAddr(address->ai_addr, address->ai_addrlen); in GetFromAlias() 350 endpoint.FromSockAddr(address->ai_addr, address->ai_addrlen); in AddAliases()
|
/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()
|