Searched refs:sin_addr (Results 1 - 25 of 222) sorted by relevance

123456789

/external/webrtc/webrtc/base/
H A Difaddrs_converter.cc26 reinterpret_cast<sockaddr_in*>(interface->ifa_addr)->sin_addr);
28 reinterpret_cast<sockaddr_in*>(interface->ifa_netmask)->sin_addr);
H A Dsocketaddress.cc266 saddr->sin_addr.s_addr = INADDR_ANY;
268 saddr->sin_addr = ip_.ipv4_address();
275 SetIP(NetworkToHost32(saddr.sin_addr.s_addr));
295 saddr->sin_addr = ip.ipv4_address();
317 *out = SocketAddress(IPAddress(saddr->sin_addr),
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_er_ssdp.c39 er->filter_addr.s_addr != addr.sin_addr.s_addr)
43 inet_ntoa(addr.sin_addr));
108 wps_er_ap_cache_settings(er, &addr.sin_addr);
109 wps_er_ap_remove(er, &addr.sin_addr);
121 location, inet_ntoa(addr.sin_addr), max_age);
123 wps_er_ap_add(er, uuid, &addr.sin_addr, location, max_age);
147 dest.sin_addr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS);
H A Dhttp_server.c49 inet_ntoa(req->cli.sin_addr),
55 "completely", inet_ntoa(req->cli.sin_addr),
138 inet_ntoa(req->cli.sin_addr),
214 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port));
264 sin.sin_addr.s_addr = addr->s_addr;
H A Dhttp_client.c61 inet_ntoa(c->dst.sin_addr),
67 inet_ntoa(c->dst.sin_addr),
93 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port),
116 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port));
211 if (inet_aton(addr, &dst->sin_addr) == 0) {
269 path, inet_ntoa(dst.sin_addr),
/external/wpa_supplicant_8/src/wps/
H A Dwps_er_ssdp.c39 er->filter_addr.s_addr != addr.sin_addr.s_addr)
43 inet_ntoa(addr.sin_addr));
108 wps_er_ap_cache_settings(er, &addr.sin_addr);
109 wps_er_ap_remove(er, &addr.sin_addr);
121 location, inet_ntoa(addr.sin_addr), max_age);
123 wps_er_ap_add(er, uuid, &addr.sin_addr, location, max_age);
147 dest.sin_addr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS);
H A Dhttp_server.c49 inet_ntoa(req->cli.sin_addr),
55 "completely", inet_ntoa(req->cli.sin_addr),
138 inet_ntoa(req->cli.sin_addr),
214 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port));
264 sin.sin_addr.s_addr = addr->s_addr;
H A Dhttp_client.c61 inet_ntoa(c->dst.sin_addr),
67 inet_ntoa(c->dst.sin_addr),
93 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port),
116 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port));
211 if (inet_aton(addr, &dst->sin_addr) == 0) {
269 path, inet_ntoa(dst.sin_addr),
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_er_ssdp.c39 er->filter_addr.s_addr != addr.sin_addr.s_addr)
43 inet_ntoa(addr.sin_addr));
108 wps_er_ap_cache_settings(er, &addr.sin_addr);
109 wps_er_ap_remove(er, &addr.sin_addr);
121 location, inet_ntoa(addr.sin_addr), max_age);
123 wps_er_ap_add(er, uuid, &addr.sin_addr, location, max_age);
147 dest.sin_addr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS);
H A Dhttp_server.c49 inet_ntoa(req->cli.sin_addr),
55 "completely", inet_ntoa(req->cli.sin_addr),
138 inet_ntoa(req->cli.sin_addr),
214 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port));
264 sin.sin_addr.s_addr = addr->s_addr;
H A Dhttp_client.c61 inet_ntoa(c->dst.sin_addr),
67 inet_ntoa(c->dst.sin_addr),
93 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port),
116 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port));
211 if (inet_aton(addr, &dst->sin_addr) == 0) {
269 path, inet_ntoa(dst.sin_addr),
/external/iputils/
H A Drdisc.c224 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);
548 pr_name(sin->sin_addr));
593 pr_name(sin->sin_addr));
631 if ((sin->sin_addr.s_addr & ifp->netmask.s_addr) ==
635 pr_name(sin->sin_addr));
732 pr_name(from->sin_addr));
755 pr_name(from->sin_addr));
[all...]
H A Dping.c202 ptr = (__u8*)&source.sin_addr;
212 if (inet_pton(AF_INET, optarg, &source.sin_addr) > 0)
265 if (inet_aton(target, &whereto.sin_addr) == 1) {
295 memcpy(&whereto.sin_addr, hp->h_addr, 4);
311 route[nroute++] = whereto.sin_addr.s_addr;
316 if (source.sin_addr.s_addr == 0) {
337 if (IN_MULTICAST(ntohl(dst.sin_addr.s_addr))) {
362 dst.sin_addr.s_addr = route[0];
408 !memcmp(&((struct sockaddr_in *)ifa->ifa_addr)->sin_addr,
409 &source.sin_addr, sizeo
[all...]
/external/libpcap/tests/
H A Dfindalldevstest.c80 inet_ntoa(((struct sockaddr_in *)(a->addr))->sin_addr));
83 inet_ntoa(((struct sockaddr_in *)(a->netmask))->sin_addr));
86 inet_ntoa(((struct sockaddr_in *)(a->broadaddr))->sin_addr));
89 inet_ntoa(((struct sockaddr_in *)(a->dstaddr))->sin_addr));
/external/wpa_supplicant_8/wpa_supplicant/
H A Dctrl_iface_udp.c104 inet_ntoa(from->sin_addr), ntohs(from->sin_port));
134 if (from->sin_addr.s_addr == dst->addr.sin_addr.s_addr &&
137 "%s:%d", inet_ntoa(from->sin_addr),
181 if (from->sin_addr.s_addr == dst->addr.sin_addr.s_addr &&
184 "level %s:%d", inet_ntoa(from->sin_addr),
254 if (from.sin_addr.s_addr != htonl((127 << 24) | 1)) {
262 "source %s", inet_ntoa(from.sin_addr));
430 addr.sin_addr
[all...]
/external/valgrind/none/tests/
H A Dfdleak_ipv4.c26 addr.sin_addr.s_addr = inet_addr("127.0.0.1");
46 addr.sin_addr.s_addr = inet_addr("127.0.0.1");
/external/toybox/toys/pending/
H A Droute.c61 sockin->sin_addr.s_addr = INADDR_ANY;
65 if (inet_aton(ipstr, &sockin->sin_addr)) return 0;
67 memcpy(&sockin->sin_addr, host->h_addr_list[0], sizeof(struct in_addr));
173 (((struct sockaddr_in *)&((rt)->rt_genmask))->sin_addr.s_addr)
200 unsigned int addr_mask = (((struct sockaddr_in *)&((rt)->rt_genmask))->sin_addr.s_addr);
239 unsigned int addr_mask = (((struct sockaddr_in *)&((rt)->rt_genmask))->sin_addr.s_addr);
240 unsigned int router_addr = ~(unsigned int)(((struct sockaddr_in *)&((rt)->rt_dst))->sin_addr.s_addr);
247 addr_mask = ((struct sockaddr_in *) &rt->rt_dst)->sin_addr.s_addr;
280 (((struct sockaddr_in *)&((rt).rt_genmask))->sin_addr.s_addr) = INVALID_ADDR;
H A Dtraceroute.c295 if (memcmp(&((struct sockaddr_in *)&last_addr)->sin_addr,
296 &((struct sockaddr_in *)&from)->sin_addr,
304 ((struct sockaddr_in *)&from)->sin_addr));
307 ((struct sockaddr_in *)&from)->sin_addr));
315 rcv_len, inet_ntoa(((struct sockaddr_in *)&from)->sin_addr),
470 if (!memcmp(&((struct sockaddr_in *)&from)->sin_addr,
471 &((struct sockaddr_in *)&dest)->sin_addr, sizeof(struct in_addr))
500 TT.gw_list[lsrr] = sin.sin_addr.s_addr;
543 TT.gw_list[lsrr] = ((struct sockaddr_in *)&dest)->sin_addr.s_addr;
585 if (!inet_aton(TT.src_ip, &(source.sin_addr)))
[all...]
H A Dping.c89 &((struct sockaddr_in *)ifa->ifa_addr)->sin_addr,
/external/dnsmasq/src/
H A Dtftp.c96 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...]
/external/compiler-rt/test/tsan/
H A Dfd_socket_connect_norace.cc28 inet_pton(AF_INET, "127.0.0.1", &addr.sin_addr);
H A Dfd_socket_norace.cc32 inet_pton(AF_INET, "127.0.0.1", &addr.sin_addr);
/external/libmicrohttpd/src/testcurl/
H A Dtest_options.c83 daemon_ip_addr.sin_addr.s_addr = htonl (INADDR_LOOPBACK);
/external/strace/tests/
H A Dinet-accept-connect-send-recv.c48 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
/external/valgrind/memcheck/tests/
H A Dsendmsg.c27 sa.sin_addr.s_addr = htonl (INADDR_LOOPBACK);

Completed in 2026 milliseconds

123456789