Home
last modified time | relevance | path

Searched refs:inet_ntoa (Results 1 – 25 of 95) sorted by relevance

1234

/external/libpcap/tests/
Dfindalldevstest.c80 inet_ntoa(((struct sockaddr_in *)(a->addr))->sin_addr)); in ifprint()
83 inet_ntoa(((struct sockaddr_in *)(a->netmask))->sin_addr)); in ifprint()
86 inet_ntoa(((struct sockaddr_in *)(a->broadaddr))->sin_addr)); in ifprint()
89 inet_ntoa(((struct sockaddr_in *)(a->dstaddr))->sin_addr)); in ifprint()
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/
Dipv4.py36 inet_ntoa = socket.inet_ntoa variable
Dinet.py68 return dns.ipv4.inet_ntoa(address)
70 return dns.ipv6.inet_ntoa(address)
Dreversename.py60 return dns.ipv4.inet_ntoa(dns.ipv4.inet_aton(text))
73 return dns.ipv6.inet_ntoa(dns.ipv6.inet_aton(text))
Dipv6.py25 def inet_ntoa(address): function
84 hex = prefix + dns.ipv4.inet_ntoa(address[12:])
/external/wpa_supplicant_8/src/wps/
Dhttp_server.c49 inet_ntoa(req->cli.sin_addr), in http_request_cb()
55 "completely", inet_ntoa(req->cli.sin_addr), in http_request_cb()
138 inet_ntoa(req->cli.sin_addr), in http_request_send()
214 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port)); in http_server_cb()
287 inet_ntoa(*addr), srv->port); in http_server_init()
Dhttp_client.c61 inet_ntoa(c->dst.sin_addr), in http_client_got_response()
67 inet_ntoa(c->dst.sin_addr), in http_client_got_response()
93 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port), in http_client_tx_ready()
116 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port)); in http_client_tx_ready()
269 path, inet_ntoa(dst.sin_addr), in http_client_url()
Dwps_er_ssdp.c43 inet_ntoa(addr.sin_addr)); in wps_er_ssdp_rx()
121 location, inet_ntoa(addr.sin_addr), max_age); in wps_er_ssdp_rx()
Dwps_er.c184 inet_ntoa(ap->addr), ap->location); in wps_er_ap_unsubscribed()
256 path, inet_ntoa(dst.sin_addr), ntohs(dst.sin_port), sid); in wps_er_ap_unsubscribe()
338 inet_ntoa(ap->addr), ap->location); in wps_er_ap_remove_entry()
374 inet_ntoa(ap->addr), ap->location); in wps_er_get_sid()
381 "%s (%s): '%s'", inet_ntoa(ap->addr), ap->location, in wps_er_get_sid()
389 "%s (%s): '%s'", inet_ntoa(ap->addr), ap->location, in wps_er_get_sid()
396 inet_ntoa(ap->addr), ap->location, txt); in wps_er_get_sid()
461 path, inet_ntoa(dst.sin_addr), ntohs(dst.sin_port), in wps_er_subscribe()
669 inet_ntoa(ap->addr), ap->location); in wps_er_ap_add()
926 path, inet_ntoa(dst->sin_addr), ntohs(dst->sin_port)); in wps_er_soap_hdr()
[all …]
/external/dhcpcd-6.8.2/
Darp.c114 inet_ntoa(astate->failed)); in arp_report_conflicted()
118 astate->iface->name, inet_ntoa(astate->failed)); in arp_report_conflicted()
234 ifp->name, inet_ntoa(astate->addr), in arp_announce1()
239 ifp->name, inet_ntoa(astate->addr), in arp_announce1()
287 ifp->name, inet_ntoa(astate->addr), in arp_probe1()
304 astate->iface->name, inet_ntoa(astate->addr)); in arp_probe()
Dipv4.c275 strlcpy(addr, inet_ntoa(rt->dest), sizeof(addr)); in desc_route()
282 ifname, cmd, addr, inet_ntoa(rt->gate)); in desc_route()
289 ifname, cmd, inet_ntoa(rt->gate)); in desc_route()
293 inet_ntoa(rt->gate)); in desc_route()
618 ifp->name, inet_ntoa(rtp->gate)); in add_router_host_route()
629 ifp->name, inet_ntoa(rtp->gate)); in add_router_host_route()
753 ifp->name, inet_ntoa(*addr), inet_ntocidr(*net)); in ipv4_deladdr()
843 ifp->name, inet_ntoa(lease->addr), in ipv4_addaddr()
970 inet_ntoa(lease->addr), in ipv4_applyaddr()
978 inet_ntoa(lease->addr), in ipv4_applyaddr()
[all …]
Ddhcp.c333 b = snprintf(o, len, "%s/%d", inet_ntoa(addr), cidr); in decode_rfc3442()
343 b = snprintf(o, len, " %s", inet_ntoa(addr)); in decode_rfc3442()
448 "%s ", inet_ntoa(addr)); in decode_rfc3361()
1338 setvar(ifp->ctx, &ep, prefix, "ip_address", inet_ntoa(addr)); in dhcp_env()
1343 "subnet_mask", inet_ntoa(net)); in dhcp_env()
1351 "broadcast_address", inet_ntoa(brd)); in dhcp_env()
1355 "network_number", inet_ntoa(addr)); in dhcp_env()
1841 ifp->name, inet_ntoa(ifo->req_addr)); in dhcp_discover()
1856 ifp->name, inet_ntoa(state->lease.addr)); in dhcp_request()
1894 ifp->name, inet_ntoa(lease->addr)); in dhcp_renew()
[all …]
Dipv4ll.c182 inet_ntoa(state->addr)); in ipv4ll_conflicted()
187 astate->iface->name, inet_ntoa(state->addr)); in ipv4ll_conflicted()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_udp.c104 inet_ntoa(from->sin_addr), ntohs(from->sin_port)); in wpa_supplicant_ctrl_iface_attach()
137 "%s:%d", inet_ntoa(from->sin_addr),
184 "level %s:%d", inet_ntoa(from->sin_addr),
262 "source %s", inet_ntoa(from.sin_addr));
543 inet_ntoa(dst->addr.sin_addr),
633 "source %s", inet_ntoa(from.sin_addr));
/external/dnsmasq/src/
Dtftp.c194 len = tftp_err(ERR_ILL, packet, _("unsupported request from %s"), inet_ntoa(peer.sin_addr)); in tftp_request()
244 strncat(daemon->namebuff, inet_ntoa(peer.sin_addr), (MAXDNAME-1) - strlen(daemon->namebuff)); in tftp_request()
282 …my_syslog(MS_TFTP | LOG_INFO, _("TFTP sent %s to %s"), daemon->namebuff, inet_ntoa(peer.sin_addr)); in tftp_request()
418 inet_ntoa(transfer->peer.sin_addr)); in check_tftp_listeners()
448 transfer->file->filename, inet_ntoa(transfer->peer.sin_addr)); in check_tftp_listeners()
Ddhcp.c383 strcpy(daemon->dhcp_buff, inet_ntoa(context->start)); in complete_context()
384 strcpy(daemon->dhcp_buff2, inet_ntoa(context->end)); in complete_context()
386 daemon->dhcp_buff, daemon->dhcp_buff2, inet_ntoa(netmask)); in complete_context()
898 inet_ntoa(cp->addr), EC_BADCONF); in check_dhcp_hosts()
901 inet_ntoa(cp->addr), daemon->dhcp_hosts_file); in check_dhcp_hosts()
944 config->hostname, inet_ntoa(crec->addr.addr.addr.addr4)); in dhcp_update_configs()
949 inet_ntoa(crec->addr.addr.addr.addr4), config->hostname); in dhcp_update_configs()
/external/autotest/client/cros/
Ddhcp_packet.py79 return socket.inet_ntoa(byte_string)
89 return [socket.inet_ntoa(byte_string[idx:idx+4])
153 socket.inet_ntoa(destination_address),
154 socket.inet_ntoa(router_address)))
284 return socket.inet_ntoa(byte_string)
/external/chromium-trace/catapult/third_party/gsutil/third_party/socksipy-branch/
Dsocks.py248 self.__proxypeername = (socket.inet_ntoa(ipaddr), destport)
313 self.__proxysockname = (socket.inet_ntoa(resp[4:]), struct.unpack(">H", resp[2:4])[0])
315 self.__proxypeername = (socket.inet_ntoa(ipaddr), destport)
/external/toybox/toys/pending/
Darping.c161 inet_ntoa(s_ip), ether_ntoa((struct ether_addr *) p)); in recv_from()
274 xprintf("ARPING to %s", inet_ntoa(dest_addr)); in arping_main()
275 xprintf(" from %s via %s\n", inet_ntoa(src_addr), TT.iface); in arping_main()
Ddumpleases.c58 xprintf(" %-16s%-20s", inet_ntoa(addr), lease_struct.hostname ); in dumpleases_main()
Dtraceroute.c303 else xprintf(" %s (", inet_ntoa( in do_trace()
306 xprintf(" %s", inet_ntoa( in do_trace()
315 rcv_len, inet_ntoa(((struct sockaddr_in *)&from)->sin_addr), in do_trace()
598 inet_ntoa(((struct sockaddr_in *)&dest)->sin_addr)); in traceroute_main()
/external/autotest/client/site_tests/network_WlanHasIP/
Dnetwork_WlanHasIP.py34 ipaddress = socket.inet_ntoa(fcntl.ioctl(
/external/wpa_supplicant_8/src/utils/
Dip_addr.c21 os_strlcpy(buf, inet_ntoa(addr->u.v4), buflen); in hostapd_ip_txt()
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/
Dsocks.py287 self.__proxypeername = (socket.inet_ntoa(ipaddr), destport)
352 self.__proxysockname = (socket.inet_ntoa(resp[4:]), struct.unpack(">H", resp[2:4])[0])
354 self.__proxypeername = (socket.inet_ntoa(ipaddr), destport)
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/IN/
DA.py49 address = dns.ipv4.inet_ntoa(wire[current : current + rdlen])

1234