/cts/tests/tests/net/jni/ |
NativeDnsJni.c | 41 inet_ntop(current->ai_family, &((struct sockaddr_in *)current->ai_addr)->sin_addr, 74 inet_ntop(current->ai_family, &((struct sockaddr_in *)current->ai_addr)->sin_addr, 99 inet_pton(AF_INET, "173.252.110.27", &(sa4.sin_addr));
|
/external/chromium/third_party/libevent/ |
evutil.c | 103 listen_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); 137 || listen_addr.sin_addr.s_addr != connect_addr.sin_addr.s_addr
|
/external/dropbear/ |
fake-rfc2553.c | 61 if (strlcpy(host, inet_ntoa(sin->sin_addr), 67 hp = gethostbyaddr((char *)&sin->sin_addr, 135 ((struct sockaddr_in *)(ai)->ai_addr)->sin_addr.s_addr = addr;
|
svr-x11fwd.c | 195 ipstring = inet_ntoa(addr->sin_addr); 216 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
/external/libppp/src/ |
tcp.c | 69 dest.sin_addr = GetIpAddr(host); 70 if (dest.sin_addr.s_addr == INADDR_NONE) { 200 inet_ntoa(sock.sin_addr), ntohs(sock.sin_port));
|
/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;
|
/external/quake/quake/src/WinQuake/ |
net_bw.cpp | 122 struct in_addr sin_addr;
member in struct:sockaddr_in 530 ((struct sockaddr_in *)from)->sin_addr = info1->remoteAddr;
596 writeInfo->remoteAddr = ((struct sockaddr_in *)to)->sin_addr;
625 ((struct sockaddr_in *)addr)->sin_addr.s_net,
626 ((struct sockaddr_in *)addr)->sin_addr.s_host,
627 ((struct sockaddr_in *)addr)->sin_addr.s_lh,
628 ((struct sockaddr_in *)addr)->sin_addr.s_impno,
645 ((struct sockaddr_in *)addr)->sin_addr.s_addr = htonl(ipaddr);
662 ((struct sockaddr_in *)addr)->sin_addr.s_addr = ((BW_UDPinfo_t *)lowmem_buffer)->localAddr.s_addr;
727 ((struct sockaddr_in *)hostaddr)->sin_addr.s_addr = [all...] |
/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;
|
/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 | 244 dest.sin_addr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS); 293 dest.sin_addr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS); 402 a->state, inet_ntoa(a->client.sin_addr), 417 inet_ntoa(a->client.sin_addr), 714 "%s", inet_ntoa(addr.sin_addr), ntohs(addr.sin_port), buf); 747 addr.sin_addr.s_addr = htonl(INADDR_ANY); 826 sin->sin_addr.s_addr = inet_addr(SSDP_TARGET); 830 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/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/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...] |
/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);
|