Home
last modified time | relevance | path

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

123456

/external/syslinux/gpxe/src/net/
Dipv4.c51 DBG ( "IPv4 add %s", inet_ntoa ( address ) ); in add_ipv4_miniroute()
52 DBG ( "/%s ", inet_ntoa ( netmask ) ); in add_ipv4_miniroute()
54 DBG ( "gw %s ", inet_ntoa ( gateway ) ); in add_ipv4_miniroute()
89 DBG ( "IPv4 del %s", inet_ntoa ( miniroute->address ) ); in del_ipv4_miniroute()
90 DBG ( "/%s ", inet_ntoa ( miniroute->netmask ) ); in del_ipv4_miniroute()
92 DBG ( "gw %s ", inet_ntoa ( miniroute->gateway ) ); in del_ipv4_miniroute()
336 DBG ( "IPv4 has no route to %s\n", inet_ntoa ( iphdr->dest ) ); in ipv4_tx()
345 inet_ntoa ( next_hop ), strerror ( rc ) ); in ipv4_tx()
355 DBG ( "IPv4 TX %s->", inet_ntoa ( iphdr->src ) ); in ipv4_tx()
357 inet_ntoa ( iphdr->dest ), ntohs ( iphdr->len ), iphdr->protocol, in ipv4_tx()
[all …]
/external/syslinux/com32/hdt/
Dhdt-dump-pxe.c69 add_s("pxe.client_ip", inet_ntoa(in)); in dump_pxe()
71 add_s("pxe.next_server_ip",inet_ntoa(in)); in dump_pxe()
73 add_s("pxe.relay_agent_ip",inet_ntoa(in)); in dump_pxe()
75 add_s("pxe.ipaddr",inet_ntoa(in)); in dump_pxe()
/external/syslinux/gpxe/src/arch/i386/interface/pxe/
Dpxe_udp.c171 DBG ( " %s", inet_ntoa ( pxe_udp.local.sin_addr ) ); in pxenv_udp_open()
303 inet_ntoa ( dest.sin_addr ), in pxenv_udp_write()
382 DBG ( " wrong IP %s", inet_ntoa ( dest_ip ) ); in pxenv_udp_read()
383 DBG ( " (wanted %s)", inet_ntoa ( dest_ip_wanted ) ); in pxenv_udp_read()
394 inet_ntoa ( *( ( struct in_addr * ) &pxenv_udp_read->src_ip ) )); in pxenv_udp_read()
396 inet_ntoa ( *( ( struct in_addr * ) &pxenv_udp_read->dest_ip ) ), in pxenv_udp_read()
/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/syslinux/gpxe/src/net/udp/
Ddhcp.c408 dhcp_msgtype_name ( msgtype ), inet_ntoa ( peer->sin_addr ), in dhcp_rx_offer()
411 DBGC ( dhcp, " (%s)", inet_ntoa ( server_id ) ); in dhcp_rx_offer()
415 DBGC ( dhcp, " for %s", inet_ntoa ( dhcppkt->dhcphdr->yiaddr )); in dhcp_rx_offer()
565 dhcp, inet_ntoa ( offer->server ), BOOTPS_PORT ); in dhcp_request_tx()
566 DBGC ( dhcp, " for %s\n", inet_ntoa ( offer->ip ) ); in dhcp_request_tx()
616 dhcp_msgtype_name ( msgtype ), inet_ntoa ( peer->sin_addr ), in dhcp_request_rx()
619 DBGC ( dhcp, " (%s)", inet_ntoa ( server_id ) ); in dhcp_request_rx()
624 DBGC ( dhcp, " for %s", inet_ntoa ( ip ) ); in dhcp_request_rx()
711 inet_ntoa ( offer->server ), PXE_PORT ); in dhcp_proxy_tx()
749 dhcp_msgtype_name ( msgtype ), inet_ntoa ( peer->sin_addr ), in dhcp_proxy_rx()
[all …]
/external/syslinux/gpxe/src/usr/
Droute.c37 inet_ntoa ( miniroute->address ) ); in route()
38 printf ( "%s", inet_ntoa ( miniroute->netmask ) ); in route()
40 printf ( " gw %s", inet_ntoa ( miniroute->gateway ) ); in route()
/external/syslinux/core/lwip/src/netif/ppp/
Dipcp.c616 inet_ntoa(ciaddr1))); in ipcp_nakci()
621 inet_ntoa(ciaddr2))); in ipcp_nakci()
658 IPCPDEBUG(LOG_INFO, ("primary DNS address %s\n", inet_ntoa(cidnsaddr))); in ipcp_nakci()
663 IPCPDEBUG(LOG_INFO, ("secondary DNS address %s\n", inet_ntoa(cidnsaddr))); in ipcp_nakci()
938 IPCPDEBUG(LOG_INFO, ("his addr %s\n", inet_ntoa(ciaddr1))); in ipcp_reqci()
962 IPCPDEBUG(LOG_INFO, ("our addr %s\n", inet_ntoa(ciaddr2))); in ipcp_reqci()
1010 IPCPDEBUG(LOG_INFO, ("ipcp_reqci: Nak ADDR %s\n", inet_ntoa(ciaddr1))); in ipcp_reqci()
1015 IPCPDEBUG(LOG_INFO, ("ipcp_reqci: Reject ADDR %s\n", inet_ntoa(ciaddr1))); in ipcp_reqci()
1023 IPCPDEBUG(LOG_INFO, ("ipcp_reqci: ADDR %s\n", inet_ntoa(ciaddr1))); in ipcp_reqci()
1041 d+1, inet_ntoa(tl))); in ipcp_reqci()
[all …]
/external/libpcap/tests/
Dfindalldevstest.c99 inet_ntoa(((struct sockaddr_in *)(a->addr))->sin_addr)); in ifprint()
102 inet_ntoa(((struct sockaddr_in *)(a->netmask))->sin_addr)); in ifprint()
105 inet_ntoa(((struct sockaddr_in *)(a->broadaddr))->sin_addr)); in ifprint()
108 inet_ntoa(((struct sockaddr_in *)(a->dstaddr))->sin_addr)); in ifprint()
/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/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 …]
/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/
Ddhcp.c321 strcpy(daemon->dhcp_buff, inet_ntoa(context->start)); in complete_context()
322 strcpy(daemon->dhcp_buff2, inet_ntoa(context->end)); in complete_context()
324 daemon->dhcp_buff, daemon->dhcp_buff2, inet_ntoa(netmask)); in complete_context()
676 inet_ntoa(cp->addr), EC_BADCONF); in check_dhcp_hosts()
679 inet_ntoa(cp->addr), daemon->dhcp_hosts_file); in check_dhcp_hosts()
722 config->hostname, inet_ntoa(crec->addr.addr.addr.addr4)); in dhcp_update_configs()
727 inet_ntoa(crec->addr.addr.addr.addr4), config->hostname); in dhcp_update_configs()
/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/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/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()
/external/syslinux/com32/lib/
Dinet.c32 char *inet_ntoa(struct in_addr addr) in inet_ntoa() function
/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()
/external/iptables/iptables/
Dnft-ipv4.c161 sprintf(mask_str, "%s", inet_ntoa(mask_addr)); in mask_to_str()
331 printf("%s-%c %s/%s ", invert ? "! " : "", letter, inet_ntoa(*addr), in save_ipv4_addr()
476 inet_ntoa(cs->fw.ip.src), in nft_ipv4_xlate()
482 inet_ntoa(cs->fw.ip.dst), in nft_ipv4_xlate()

123456