/system/core/adb/ |
test_track_devices.c | 64 server.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
test_track_jdwp.c | 64 server.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
/system/core/toolbox/ |
route.c | 43 return inet_aton(address, &((struct sockaddr_in *)sa)->sin_addr);
|
/external/dnsmasq/src/ |
bpf.c | 90 addr = ((struct sockaddr_in *) &ifr->ifr_addr)->sin_addr; 93 netmask = ((struct sockaddr_in *) &ifr->ifr_addr)->sin_addr; 95 broadcast = ((struct sockaddr_in *) &ifr->ifr_addr)->sin_addr;
|
network.c | 100 tmp->addr.in.sin_addr.s_addr == addr->addr.addr4.s_addr) 177 !iface_check(AF_INET, (struct all_addr *)&addr->in.sin_addr, ifr.ifr_name, NULL)) 238 addr.in.sin_addr = broadcast; /* warning */ 239 addr.in.sin_addr = local; 328 addr.in.sin_addr.s_addr = INADDR_ANY; 652 addr.in.sin_addr.s_addr = INADDR_ANY; 722 addr->in.sin_addr.s_addr == INADDR_ANY && 778 addr.in.sin_addr.s_addr = INADDR_ANY; 830 new->addr.in.sin_addr.s_addr == 0) 1042 if ((addr.in.sin_addr.s_addr = inet_addr(saddr)) != (in_addr_t) -1 [all...] |
dhcp.c | 71 saddr.sin_addr.s_addr = INADDR_ANY; 211 iface_addr = ((struct sockaddr_in *) &ifr.ifr_addr)->sin_addr; 230 iface_addr = ((struct sockaddr_in *) &ifr.ifr_addr)->sin_addr; 271 dest.sin_addr = mess->giaddr; 279 if ((!is_inform && dest.sin_addr.s_addr != mess->ciaddr.s_addr) || 280 dest.sin_port == 0 || dest.sin_addr.s_addr == 0) 283 dest.sin_addr = mess->ciaddr; 301 dest.sin_addr.s_addr = INADDR_BROADCAST; 309 dest.sin_addr = mess->yiaddr; 322 dest.sin_addr.s_addr = INADDR_BROADCAST [all...] |
dbus.c | 128 addr.in.sin_addr.s_addr = ntohl(a); 131 source_addr.in.sin_addr.s_addr = INADDR_ANY; 231 addr.in.sin_addr.s_addr == 0 &&
|
forward.c | 140 *addrpp = (struct all_addr *)&serv->addr.in.sin_addr; 171 *addrpp = (struct all_addr *)&serv->addr.in.sin_addr; 340 (struct all_addr *)&start->addr.in.sin_addr, NULL); 596 dst_addr_4 = listen->iface->addr.in.sin_addr; 683 netmask = ((struct sockaddr_in *) &ifr.ifr_addr)->sin_addr; 694 (struct all_addr *)&source_addr.in.sin_addr, types); 759 (struct all_addr *)&peer_addr.in.sin_addr, types); 850 (struct all_addr *)&last_server->addr.in.sin_addr, NULL);
|
/libcore/luni/src/main/native/ |
NetworkUtilities.cpp | 44 memcpy(&sin.sin_addr.s_addr, &sin6.sin6_addr.s6_addr[12], 4); 55 rawAddress = &sin.sin_addr.s_addr; 192 jbyte* dst = reinterpret_cast<jbyte*>(&sin.sin_addr.s_addr);
|
/development/tools/jdwpspy/ |
Net.cpp | 263 addr.sin_addr.s_addr = INADDR_ANY; 383 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port)); 693 addr.sin_addr = netState->vmAddr; 697 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port), strerror(errno)); 701 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port));
|
/external/wpa_supplicant_8/src/ap/ |
iapp.c | 203 addr.sin_addr.s_addr = iapp->multicast.s_addr; 291 inet_ntoa(from->sin_addr), ntohs(from->sin_port), 333 if (from.sin_addr.s_addr == iapp->own.s_addr) 339 len, inet_ntoa(from.sin_addr), 432 iapp->own.s_addr = paddr->sin_addr.s_addr;
|
/external/dhcpcd/ |
net.c | 558 addr->s_addr = a->sin_addr.s_addr; 559 net->s_addr = n->sin_addr.s_addr; 563 dst->s_addr = d->sin_addr.s_addr; 570 if (addr->s_addr == a->sin_addr.s_addr && 571 (net == NULL || net->s_addr == n->sin_addr.s_addr)) 644 sin.sin_addr.s_addr = iface->addr.s_addr; 665 sin.sin_addr.s_addr = to.s_addr;
|
/frameworks/av/media/libstagefright/wifi-display/ |
ANetworkSession.cpp | 170 in_addr_t addr = ntohl(localAddr.sin_addr.s_addr); 178 addr = ntohl(remoteAddr.sin_addr.s_addr); 270 uint32_t ip = ntohl(remoteAddr.sin_addr.s_addr); 908 addr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr; 911 addr.sin_addr = *localAddr; 914 addr.sin_addr.s_addr = htonl(INADDR_ANY); 920 in_addr_t x = ntohl(addr.sin_addr.s_addr); 957 remoteAddr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr; 1048 remoteAddr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr; 1198 in_addr_t addr = ntohl(remoteAddr.sin_addr.s_addr) [all...] |
/dalvik/vm/jdwp/ |
JdwpSocket.cpp | 171 inet_aton("127.0.0.1", &addr.addrInet.sin_addr); 369 netState->remoteAddr = addr.addrInet.sin_addr; 433 memcpy(&addr.addrInet.sin_addr, pEntry->h_addr, pEntry->h_length); 439 inet_ntoa(addr.addrInet.sin_addr), ntohs(addr.addrInet.sin_port)); 457 inet_ntoa(addr.addrInet.sin_addr), ntohs(addr.addrInet.sin_port), 465 state->params.host, inet_ntoa(addr.addrInet.sin_addr),
|
/external/chromium/third_party/libjingle/source/talk/base/ |
socketaddress.cc | 290 saddr->sin_addr.s_addr = INADDR_ANY; 292 saddr->sin_addr.s_addr = HostToNetwork32(ip_); 299 SetIP(NetworkToHost32(saddr.sin_addr.s_addr));
|
/external/libppp/src/ |
udp.c | 124 inet_ntoa(dev->sock.sin_addr), ntohs(dev->sock.sin_port)); 212 dev->sock.sin_addr = GetIpAddr(host); 213 if (dev->sock.sin_addr.s_addr == INADDR_NONE) {
|
ncpaddr.c | 320 host4->sin_addr = addr->ncpaddr_ip4addr; 348 addr->ncpaddr_ip4addr = host4->sin_addr; 710 range->ncprange_ip4addr = host4->sin_addr; 711 if (host4->sin_addr.s_addr == INADDR_ANY) { 715 range->ncprange_ip4mask.s_addr = mask4->sin_addr.s_addr; 716 range->ncprange_ip4width = mask42bits(mask4->sin_addr); 758 host4->sin_addr = range->ncprange_ip4addr; 762 mask4->sin_addr = range->ncprange_ip4mask;
|
/external/qemu/slirp/ |
ip_icmp.c | 141 addr.sin_addr = dns_addr; 145 addr.sin_addr = loopback_addr; 149 addr.sin_addr = so->so_faddr;
|
/cts/suite/audio_quality/lib/src/ |
ClientSocket.cpp | 59 if (inet_pton(AF_INET, hostIp, &serverAddr.sin_addr) != 1) {
|
/device/generic/goldfish/libqemu/ |
test_util.c | 61 addr.sin_addr.s_addr = htonl(0x0a000202);
|
/external/libpcap/ |
inet.c | 641 *netp = sin4->sin_addr.s_addr; 649 *maskp = sin4->sin_addr.s_addr; 779 *netp = t_addr->sin_addr.S_un.S_addr; 781 *maskp = t_addr->sin_addr.S_un.S_addr;
|
/frameworks/native/cmds/ip-up-vpn/ |
ip-up-vpn.c | 44 return inet_pton(AF_INET, address, &((struct sockaddr_in *)sa)->sin_addr);
|
/external/mdnsresponder/mDNSShared/ |
dnsextd.c | 774 VLog("Successful update from %s", inet_ntop(AF_INET, &request->src.sin_addr, buf, 32)); 778 VLog("Request %s: %s", inet_ntop(AF_INET, &request->src.sin_addr, buf, 32), vlogmsg); 853 Log("Update from %s, Expires in %d:%d:%d\n\t%s", inet_ntop(AF_INET, &ptr->cli.sin_addr, addrbuf, 16), hr, min, sec, 928 pkt.src.sin_addr.s_addr = zerov4Addr.NotAnInteger; // address field set solely for verbose logging in subroutines 1076 d->addr.sin_addr.s_addr = zerov4Addr.NotAnInteger; 1087 inet_pton( AF_INET, LOOPBACK, &d->ns_addr.sin_addr ); [all...] |
PlatformCommon.c | 55 addr.a4.sin_addr.s_addr = dst->ip.v4.NotAnInteger; 78 if (dst->type == mDNSAddrType_IPv4) src->ip.v4.NotAnInteger = addr.a4.sin_addr.s_addr;
|
/external/tcpdump/missing/ |
getnameinfo.c | 81 offsetof(struct sockaddr_in, sin_addr)}, 172 ntohl(((struct sockaddr_in *)sa)->sin_addr.s_addr);
|