/external/openssh/openbsd-compat/ |
fake-rfc2553.c | 64 if (strlcpy(host, inet_ntoa(sin->sin_addr), 70 hp = gethostbyaddr((char *)&sin->sin_addr, 140 ((struct sockaddr_in *)(ai)->ai_addr)->sin_addr.s_addr = addr;
|
/system/core/toolbox/ |
ifconfig.c | 33 sin->sin_addr.s_addr = inet_addr(addr); 88 addr = ((struct sockaddr_in *)&ifr.ifr_addr)->sin_addr.s_addr; 94 mask = ((struct sockaddr_in *)&ifr.ifr_addr)->sin_addr.s_addr;
|
/art/runtime/jdwp/ |
jdwp_socket.cc | 141 inet_aton("127.0.0.1", &addr.addrInet.sin_addr); 240 remote_addr_ = addr.addrInet.sin_addr; 294 memcpy(&addr.addrInet.sin_addr, pEntry->h_addr, pEntry->h_length); 299 LOG(INFO) << "Connecting out to " << inet_ntoa(addr.addrInet.sin_addr) << ":" << ntohs(addr.addrInet.sin_port); 314 PLOG(ERROR) << "Unable to connect to " << inet_ntoa(addr.addrInet.sin_addr) << ":" << ntohs(addr.addrInet.sin_port); 320 LOG(INFO) << "Connection established to " << options->host << " (" << inet_ntoa(addr.addrInet.sin_addr) << ":" << ntohs(addr.addrInet.sin_port) << ")";
|
/external/qemu/slirp/ |
tftp.c | 157 saddr.sin_addr = recv_tp->ip.ip_dst; 160 daddr.sin_addr = spt->client_ip; 197 saddr.sin_addr = recv_tp->ip.ip_dst; 200 daddr.sin_addr = spt->client_ip; 243 saddr.sin_addr = recv_tp->ip.ip_dst; 246 daddr.sin_addr = spt->client_ip;
|
socket.c | 562 addr.sin_addr = dns_addr; 566 addr.sin_addr = loopback_addr; 570 addr.sin_addr = so->so_faddr; 573 DEBUG_MISC((dfd, " sendto()ing, addr.sin_port=%d, addr.sin_addr.s_addr=%.16s\n", ntohs(addr.sin_port), inet_ntoa(addr.sin_addr))); 631 addr.sin_addr.s_addr = INADDR_ANY; 654 if (addr.sin_addr.s_addr == 0 || addr.sin_addr.s_addr == loopback_addr.s_addr) 657 so->so_faddr = addr.sin_addr;
|
/external/wpa_supplicant_8/src/wps/ |
http_client.c | 61 inet_ntoa(c->dst.sin_addr), 67 inet_ntoa(c->dst.sin_addr), 91 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port), 116 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port)); 217 if (inet_aton(addr, &dst->sin_addr) == 0) { 275 path, inet_ntoa(dst.sin_addr),
|
wps_upnp_ssdp.c | 247 dest.sin_addr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS); 296 dest.sin_addr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS); 405 a->state, inet_ntoa(a->client.sin_addr), 420 inet_ntoa(a->client.sin_addr), 717 "%s", inet_ntoa(addr.sin_addr), ntohs(addr.sin_port), buf); 750 addr.sin_addr.s_addr = htonl(INADDR_ANY); 829 sin->sin_addr.s_addr = inet_addr(SSDP_TARGET); 833 sin->sin_addr.s_addr = inet_addr(SSDP_NETMASK);
|
/external/chromium/net/base/ |
ip_endpoint.cc | 58 memcpy(&addr->sin_addr, &address_[0], kIPv4AddressSize); 89 const char* bytes = reinterpret_cast<const char*>(&addr->sin_addr);
|
/frameworks/av/media/common_time/ |
utils.cpp | 40 p->writeInt32(ntohl(s->sin_addr.s_addr)); 69 s->sin_addr.s_addr = htonl(p->readInt32());
|
/external/dnsmasq/src/ |
tftp.c | 96 addr.sin_addr.s_addr = 0; 102 addr.sin_addr = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_spec_dst; 109 addr.sin_addr = *((struct in_addr *)CMSG_DATA(cmptr)); 117 addr.sin_addr = *((struct in_addr *)CMSG_DATA(cmptr)); 124 addr.sin_addr.s_addr == 0 || 125 !iface_check(AF_INET, (struct all_addr *)&addr.sin_addr, name, &if_index)) 194 len = tftp_err(ERR_ILL, packet, _("unsupported request from %s"), inet_ntoa(peer.sin_addr)); 244 strncat(daemon->namebuff, inet_ntoa(peer.sin_addr), (MAXDNAME-1) - strlen(daemon->namebuff)); 282 my_syslog(MS_TFTP | LOG_INFO, _("TFTP sent %s to %s"), daemon->namebuff, inet_ntoa(peer.sin_addr)); 418 inet_ntoa(transfer->peer.sin_addr)); [all...] |
util.c | 258 s1->in.sin_addr.s_addr == s2->in.sin_addr.s_addr) 333 inet_ntop(AF_INET, &addr->in.sin_addr, buf, ADDRSTRLEN); 342 strcpy(buf, inet_ntoa(addr->in.sin_addr));
|
/external/compiler-rt/lib/tsan/lit_tests/ |
fd_socket_connect_norace.cc | 28 inet_pton(AF_INET, "127.0.0.1", &addr.sin_addr);
|
fd_socket_norace.cc | 32 inet_pton(AF_INET, "127.0.0.1", &addr.sin_addr);
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
s_socket.c | 263 them.sin_addr.s_addr=htonl(addr); 337 server.sin_addr.s_addr=INADDR_ANY; 341 memcpy(&server.sin_addr.s_addr,ip,4); 343 memcpy(&server.sin_addr,ip,4); 436 h1=gethostbyaddr((char *)&from.sin_addr.s_addr, 437 sizeof(from.sin_addr.s_addr),AF_INET); 439 h1=gethostbyaddr((char *)&from.sin_addr,
|
/external/openssl/apps/ |
s_socket.c | 263 them.sin_addr.s_addr=htonl(addr); 337 server.sin_addr.s_addr=INADDR_ANY; 341 memcpy(&server.sin_addr.s_addr,ip,4); 343 memcpy(&server.sin_addr,ip,4); 436 h1=gethostbyaddr((char *)&from.sin_addr.s_addr, 437 sizeof(from.sin_addr.s_addr),AF_INET); 439 h1=gethostbyaddr((char *)&from.sin_addr,
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
socketaddress.cc | 286 saddr->sin_addr.s_addr = INADDR_ANY; 288 saddr->sin_addr = ip_.ipv4_address(); 295 SetIP(NetworkToHost32(saddr.sin_addr.s_addr)); 313 saddr->sin_addr = ip.ipv4_address(); 376 *out = SocketAddress(IPAddress(saddr->sin_addr),
|
/external/dhcpcd/ |
if-bsd.c | 73 (((struct sockaddr_in *)(void *)sa)->sin_addr).s_addr : 0 171 memcpy(&_s.sin->sin_addr, _addr, sizeof(_s.sin->sin_addr)); \ 219 memcpy (&su.sin.sin_addr, _a, sizeof(su.sin.sin_addr)); \ 303 sin_addr));
|
ifaddrs.c | 65 saddr->sin_addr.s_addr = addr; 73 smask->sin_addr.s_addr = prefixLengthToIpv4Netmask(masklen);
|
/external/ipsec-tools/src/racoon/ |
sockmisc.c | 106 sa1 = (caddr_t)&((struct sockaddr_in *)addr1)->sin_addr; 107 sa2 = (caddr_t)&((struct sockaddr_in *)addr2)->sin_addr; 160 sa1 = (caddr_t)&((struct sockaddr_in *)addr1)->sin_addr; 161 sa2 = (caddr_t)&((struct sockaddr_in *)addr2)->sin_addr; 225 sa1 = (caddr_t)&((struct sockaddr_in *)addr1)->sin_addr; 226 sa2 = (caddr_t)&((struct sockaddr_in *)addr2)->sin_addr; 468 memcpy(&sin->sin_addr, &pi->ipi_addr, 469 sizeof(sin->sin_addr)); 504 memcpy(&sin->sin_addr, CMSG_DATA(cm), 505 sizeof(sin->sin_addr)); [all...] |
/external/chromium_org/net/base/ |
net_util_posix.cc | 132 if (addr_in->sin_addr.s_addr == INADDR_LOOPBACK || 133 addr_in->sin_addr.s_addr == 0) {
|
/external/dropbear/ |
svr-x11fwd.c | 195 ipstring = inet_ntoa(addr->sin_addr); 216 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
/frameworks/av/media/libstagefright/rtsp/ |
UDPPusher.cpp | 43 addr.sin_addr.s_addr = INADDR_ANY; 50 mRemoteAddr.sin_addr.s_addr = INADDR_ANY;
|
/bionic/libc/kernel/common/linux/ |
if_pppox.h | 42 struct in_addr sin_addr; member in struct:pptp_addr
|
/device/generic/goldfish/libqemu/ |
test_host_2.c | 68 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
/system/core/adb/ |
test_track_devices.c | 64 server.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|