/external/qemu/slirp/ |
tcp_subr.c | 141 xchg(ti->ti_dst.s_addr, ti->ti_src.s_addr, u_int32_t); 387 if ((so->so_faddr.s_addr & htonl(0xffffff00)) == special_addr.s_addr) { 389 switch(ntohl(so->so_faddr.s_addr) & 0xff) { 403 "addr.sin_addr.s_addr=%.16s\n", 480 if (so->so_faddr.s_addr == 0 || so->so_faddr.s_addr == loopback_addr.s_addr) 646 if (tmpso->so_laddr.s_addr == so->so_laddr.s_addr & [all...] |
/system/extras/tests/bionic/libc/common/ |
test_udp.c | 68 address = si_other.sin_addr.s_addr; 83 si_me.sin_addr.s_addr = address; 106 si_other.sin_addr.s_addr = address;
|
/external/iptables/iptables/ |
iptables.c | 628 if (fw->ip.smsk.s_addr == 0L && !(format & FMT_NUMERIC)) 640 if (fw->ip.dmsk.s_addr == 0L && !(format & FMT_NUMERIC)) 699 fw->ip.src.s_addr = saddrs[i].s_addr; 700 fw->ip.smsk.s_addr = smasks[i].s_addr; 702 fw->ip.dst.s_addr = daddrs[j].s_addr; 703 fw->ip.dmsk.s_addr = dmasks[j].s_addr; [all...] |
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/arpa/ |
inet.h | 105 in_addr_t s_addr; member in struct:in_addr
|
/external/chromium_org/sandbox/win/sandbox_poc/pocdll/ |
network.cc | 37 service.sin_addr.s_addr = inet_addr("127.0.0.1");
|
/external/dropbear/ |
fake-rfc2553.c | 135 ((struct sockaddr_in *)(ai)->ai_addr)->sin_addr.s_addr = addr; 176 addr = in.s_addr; 191 *res = malloc_ai(port, in.s_addr, hints); 209 cur = malloc_ai(port, in->s_addr, hints);
|
/external/openssh/openbsd-compat/ |
fake-rfc2553.c | 140 ((struct sockaddr_in *)(ai)->ai_addr)->sin_addr.s_addr = addr; 184 addr = in.s_addr; 199 *res = malloc_ai(port, in.s_addr, hints); 217 cur = malloc_ai(port, in->s_addr, hints);
|
/external/wpa_supplicant_8/src/wps/ |
wps_er_ssdp.c | 38 if (er->filter_addr.s_addr && 39 er->filter_addr.s_addr != addr.sin_addr.s_addr) 149 dest.sin_addr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS);
|
/system/core/libcutils/ |
socket_inaddr_any_server.c | 45 addr.sin_addr.s_addr = htonl(INADDR_ANY);
|
socket_loopback_client.c | 46 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
socket_loopback_server.c | 45 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
ipaddress.cc | 68 return NetworkToHost32(u_.ip4.s_addr); 120 return NetworkToHost32(u_.ip4.s_addr) < 121 NetworkToHost32(other.u_.ip4.s_addr); 198 ::memcpy(&v6addr.s6_addr[12], &u_.ip4.s_addr, sizeof(u_.ip4.s_addr)); 217 ::memcpy(&ipv4.s_addr, &in6.s6_addr[12], sizeof(ipv4.s_addr)); 300 return ip.ipv4_address().s_addr; 324 uint32 host_order_ip = NetworkToHost32(ip.ipv4_address().s_addr); 326 masked.s_addr = HostToNetwork32(host_order_ip & mask) [all...] |
/external/dhcpcd/ |
if-bsd.c | 72 sin.s_addr = ((sa) != NULL) ? \ 73 (((struct sockaddr_in *)(void *)sa)->sin_addr).s_addr : 0 234 if (rt->gate.s_addr != INADDR_ANY || 235 rt->net.s_addr != rt->iface->net.s_addr || 236 rt->dest.s_addr != (rt->iface->addr.s_addr & rt->iface->net.s_addr)) 239 if (rt->dest.s_addr == rt->gate.s_addr & [all...] |
dhcpcd.c | 246 iface->state->lease.addr.s_addr = 0; 347 a = iface->addr.s_addr; 348 iface->addr.s_addr = 0; 352 iface->addr.s_addr = a; 353 from.s_addr = dhcp->ciaddr; 354 if (from.s_addr) 355 to.s_addr = state->lease.server.s_addr; 357 to.s_addr = 0; 358 if (to.s_addr && to.s_addr != INADDR_BROADCAST) [all...] |
if-options.c | 303 addr->s_addr = 0; 305 net->s_addr = 0; 326 net->s_addr = get_netmask(addr->s_addr); 431 ifo->req_mask.s_addr = 0; 439 ifo->req_addr.s_addr = 0; 440 ifo->req_mask.s_addr = 0; 508 &addr.s_addr, sizeof(addr.s_addr)); 634 ifo->req_mask.s_addr == 0 ? &ifo->req_mask : NULL [all...] |
/bionic/libc/upstream-netbsd/common/lib/libc/inet/ |
inet_addr.c | 114 return (val.s_addr); 222 addr->s_addr = htonl(val);
|
/external/valgrind/main/none/tests/ |
fdleak_ipv4.c | 26 addr.sin_addr.s_addr = inet_addr("127.0.0.1"); 46 addr.sin_addr.s_addr = inet_addr("127.0.0.1");
|
/external/chromium/third_party/libevent/test/ |
regress_dns.c | 174 in.s_addr = htonl(0x7f000001ul); /* 127.0.0.1 */ 197 ans.s_addr = htonl(0xc0a80b0bUL); /* 192.168.11.11 */ 202 1, &ans.s_addr, 12345); 252 if (in_addrs[0].s_addr != htonl(0xc0a80b0bUL) || ttl != 12345) { 331 my_addr.sin_addr.s_addr = htonl(0x7f000001UL); 343 resolve_addr.s_addr = htonl(0xc0a80b0bUL); /* 192.168.11.11 */
|
/external/chromium_org/third_party/libevent/test/ |
regress_dns.c | 174 in.s_addr = htonl(0x7f000001ul); /* 127.0.0.1 */ 197 ans.s_addr = htonl(0xc0a80b0bUL); /* 192.168.11.11 */ 202 1, &ans.s_addr, 12345); 252 if (in_addrs[0].s_addr != htonl(0xc0a80b0bUL) || ttl != 12345) { 331 my_addr.sin_addr.s_addr = htonl(0x7f000001UL); 343 resolve_addr.s_addr = htonl(0xc0a80b0bUL); /* 192.168.11.11 */
|
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface_udp.c | 81 if (from->sin_addr.s_addr == dst->addr.sin_addr.s_addr && 111 if (from->sin_addr.s_addr == dst->addr.sin_addr.s_addr && 168 if (from.sin_addr.s_addr != htonl((127 << 24) | 1)) { 294 addr.sin_addr.s_addr = INADDR_ANY; 296 addr.sin_addr.s_addr = htonl((127 << 24) | 1); 464 if (from.sin_addr.s_addr != htonl((127 << 24) | 1)) { 549 addr.sin_addr.s_addr = INADDR_ANY; 551 addr.sin_addr.s_addr = htonl((127 << 24) | 1) [all...] |
/external/iputils/ |
rdisc.c | 224 return (sin->sin_addr.s_addr == INADDR_BROADCAST); 229 return IN_CLASSD(ntohl(sin->sin_addr.s_addr)); 423 to->sin_addr.s_addr = inet_addr(sendaddress); 427 joinaddr.sin_addr.s_addr = inet_addr(recvaddress); 611 ap->ira_addr = interfaces[i].localaddr.s_addr; 631 if ((sin->sin_addr.s_addr & ifp->netmask.s_addr) == 632 (ifp->address.s_addr & ifp->netmask.s_addr)) { 704 phe = gethostbyaddr((char *)&addr.s_addr, 4, AF_INET) [all...] |
/external/grub/netboot/ |
fsys_tftp.c | 79 if (! udp_transmit (arptable[ARP_SERVER].ipaddr.s_addr, 93 udp_transmit (arptable[ARP_SERVER].ipaddr.s_addr, 169 udp_transmit (arptable[ARP_SERVER].ipaddr.s_addr, 223 udp_transmit (arptable[ARP_SERVER].ipaddr.s_addr, iport, 297 return udp_transmit (arptable[ARP_SERVER].ipaddr.s_addr, ++iport,
|
/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/chromium_org/net/dns/ |
dns_config_service_posix_unittest.cc | 139 sa.sin_addr.s_addr = INADDR_ANY; 141 sa.sin_addr.s_addr = 0xCAFE1337; 149 sa.sin_addr.s_addr = 0xDEADBEEF;
|
/external/chromium_org/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
|