Home
last modified time | relevance | path

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

12345

/external/bcc/examples/tracing/
Dtcpv4connect.py78 def inet_ntoa(addr): function
102 inet_ntoa(int(saddr_hs, 16)),
103 inet_ntoa(int(daddr_hs, 16)),
/external/ltp/testcases/network/sockets/
DltpServer.c104 argv[0], hostname, inet_ntoa(multiCastAddr)); in main()
141 argv[0], inet_ntoa(multiCastAddr)); in main()
145 argv[0], inet_ntoa(multiCastAddr), in main()
249 hostname, inet_ntoa(udpClientAddr.sin_addr), in ltp_udp_server_queue()
290 inet_ntoa(tcpClientAddr.sin_addr), in ltp_tcp_server_queue()
409 inet_ntoa(multiClientAddr.sin_addr), in ltp_multi_server_queue()
DltpClient.c124 inet_ntoa(*(struct in_addr *)hostEntry->h_addr_list[0])); in main()
202 inet_ntoa(mcastRemoteServerAddr.sin_addr)); in main()
236 inet_ntoa(*(struct in_addr *)hostEntry->h_addr_list[0])); in main()
464 ip->ttl, inet_ntoa(tmp_addr)); in output_to_display()
467 printf("dst=%s\n", inet_ntoa(tmp_addr)); in output_to_display()
628 inet_ntoa(tmp_addr)); in ltp_traceroute()
/external/bcc/tools/old/
Dtcpaccept.py113 def inet_ntoa(addr): function
132 inet_ntoa(int(raddr_hs, 16)) if ip_s == "4" else "..." + raddr_hs,
133 inet_ntoa(int(laddr_hs, 16)) if ip_s == "4" else "..." + laddr_hs,
Dtcpconnect.py137 def inet_ntoa(addr): function
156 inet_ntoa(int(saddr_hs, 16)) if ip_s == "4" else "..." + saddr_hs,
157 inet_ntoa(int(daddr_hs, 16)) if ip_s == "4" else "..." + daddr_hs,
/external/ltp/testcases/network/multicast/mc_member/
Dmc_member_test.c135 strcpy(group, inet_ntoa(imr->imr_multiaddr)); in join_group()
136 strcpy(itf, inet_ntoa(imr->imr_interface)); in join_group()
169 strcpy(group, inet_ntoa(imr->imr_multiaddr)); in leave_group()
170 strcpy(itf, inet_ntoa(imr->imr_interface)); in leave_group()
/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()
337 inet_ntoa(ap->addr), ap->location); in wps_er_ap_remove_entry()
373 inet_ntoa(ap->addr), ap->location); in wps_er_get_sid()
380 "%s (%s): '%s'", inet_ntoa(ap->addr), ap->location, in wps_er_get_sid()
388 "%s (%s): '%s'", inet_ntoa(ap->addr), ap->location, in wps_er_get_sid()
395 inet_ntoa(ap->addr), ap->location, txt); in wps_er_get_sid()
460 path, inet_ntoa(dst.sin_addr), ntohs(dst.sin_port), in wps_er_subscribe()
668 inet_ntoa(ap->addr), ap->location); in wps_er_ap_add()
925 path, inet_ntoa(dst->sin_addr), ntohs(dst->sin_port)); in wps_er_soap_hdr()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dprobe_user.c65 inet_ntoa(in->sin_addr), ntohs(in->sin_port))) in test_probe_user()
73 inet_ntoa(in->sin_addr), ntohs(in->sin_port))) in test_probe_user()
/external/ltp/testcases/network/multicast/mc_opts/
Dmc_verify_opts.c51 strcpy(sintf, inet_ntoa(simr.imr_interface)); in main()
68 strcpy(gintf, inet_ntoa(gimr)); in main()
/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),
268 "source %s", inet_ntoa(from.sin_addr));
564 inet_ntoa(dst->addr.sin_addr),
669 "source %s", inet_ntoa(from.sin_addr));
/external/dnsmasq/src/
Ddhcp.c285 strcpy(daemon->dhcp_buff, inet_ntoa(context->start)); in complete_context()
286 strcpy(daemon->dhcp_buff2, inet_ntoa(context->end)); in complete_context()
289 daemon->dhcp_buff, daemon->dhcp_buff2, inet_ntoa(netmask)); in complete_context()
583 inet_ntoa(cp->addr), EC_BADCONF); in check_dhcp_hosts()
586 inet_ntoa(cp->addr), daemon->dhcp_hosts_file); in check_dhcp_hosts()
623 config->hostname, inet_ntoa(crec->addr.addr.addr.addr4)); in dhcp_update_configs()
629 inet_ntoa(crec->addr.addr.addr.addr4), config->hostname); in dhcp_update_configs()
/external/openssh/openbsd-compat/
Dinet_ntoa.c47 inet_ntoa(struct in_addr in) in inet_ntoa() function
/external/autotest/client/cros/
Ddhcp_packet.py85 return socket.inet_ntoa(byte_string)
95 return [socket.inet_ntoa(byte_string[idx:idx+4])
159 socket.inet_ntoa(destination_address),
160 socket.inet_ntoa(router_address)))
290 return socket.inet_ntoa(byte_string)
/external/toybox/toys/pending/
Darping.c161 inet_ntoa(s_ip), ether_ntoa((struct ether_addr *) p)); in recv_from()
270 xprintf("ARPING to %s", inet_ntoa(dest_addr)); in arping_main()
271 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()
596 inet_ntoa(((struct sockaddr_in *)&dest)->sin_addr)); in traceroute_main()
/external/wpa_supplicant_8/src/utils/
Dip_addr.c21 os_strlcpy(buf, inet_ntoa(addr->u.v4), buflen); in hostapd_ip_txt()
/external/python/httplib2/python3/httplib2/
Dsocks.py350 self.__proxypeername = (socket.inet_ntoa(ipaddr), destport)
416 socket.inet_ntoa(resp[4:]),
420 self.__proxypeername = (socket.inet_ntoa(ipaddr), destport)
/external/python/httplib2/python2/httplib2/
Dsocks.py350 self.__proxypeername = (socket.inet_ntoa(ipaddr), destport)
416 socket.inet_ntoa(resp[4:]),
420 self.__proxypeername = (socket.inet_ntoa(ipaddr), destport)
/external/iptables/iptables/
Dnft-ipv4.c158 sprintf(mask_str, "%s", inet_ntoa(mask_addr)); in mask_to_str()
304 printf("%s-%c %s/%s ", invert ? "! " : "", letter, inet_ntoa(*addr), in save_ipv4_addr()
423 inet_ntoa(cs->fw.ip.src), in nft_ipv4_xlate()
429 inet_ntoa(cs->fw.ip.dst), in nft_ipv4_xlate()
/external/scapy/scapy/contrib/
Dldp.py78 add=inet_ntoa(x[4:4+nbroctets]+b"\x00"*(4-nbroctets))
139 list.append(inet_ntoa(add))
237 l.append( inet_ntoa(x[12:16]) )
/external/iputils/
Dping.c597 printf("PING %s (%s) ", hostname, inet_ntoa(whereto.sin_addr)); in main()
599 printf("from %s %s: ", inet_ntoa(source.sin_addr), device ?: ""); in main()
1300 printf(" %s ", inet_ntoa(*(struct in_addr *)&ip->saddr)); in pr_iph()
1301 printf(" %s ", inet_ntoa(*(struct in_addr *)&ip->daddr)); in pr_iph()
1321 sprintf(buf, "%s", inet_ntoa(*(struct in_addr *)&addr)); in pr_addr()
1331 inet_ntoa(*(struct in_addr *)&addr)); in pr_addr()

12345