Home
last modified time | relevance | path

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

123456789

/freebsd/tools/regression/netinet/msocket/
H A Dmsocket.c159 "%s not %s", socktype, optstring, inet_ntoa(ia), in test_in_addr()
160 inet_ntoa(defaultv)); in test_in_addr()
185 "%s not %s", socktype, optstring, inet_ntoa(ia), in test_in_addr()
186 inet_ntoa(modifiedv)); in test_in_addr()
249 strlcpy(buf, inet_ntoa(imr.imr_multiaddr), 128); in test_add_multi()
251 "%s, %s)", socktype, buf, inet_ntoa(imr.imr_interface)); in test_add_multi()
254 strlcpy(buf, inet_ntoa(imr.imr_multiaddr), 128); in test_add_multi()
257 inet_ntoa(imr.imr_interface)); in test_add_multi()
264 strlcpy(buf, inet_ntoa(imr.imr_multiaddr), 128); in test_add_multi()
267 inet_ntoa(imr.imr_interface)); in test_add_multi()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.inet_ntoa.d52 printf("%s\n", inet_ntoa(ip4a));
53 printf("%s\n", inet_ntoa(ip4b));
54 printf("%s\n", inet_ntoa(ip4c));
55 printf("%s\n", inet_ntoa(ip4d));
/freebsd/stand/common/
H A Ddev_net.c174 setenv("boot.netif.ip", inet_ntoa(myip), 1); in net_open()
176 setenv("boot.netif.gateway", inet_ntoa(gateip), 1); in net_open()
177 setenv("boot.netif.server", inet_ntoa(rootip), 1); in net_open()
179 setenv("boot.tftproot.server", inet_ntoa(rootip), 1); in net_open()
182 setenv("boot.nfsroot.server", inet_ntoa(rootip), 1); in net_open()
287 printf("%s: client addr: %s\n", __func__, inet_ntoa(myip)); in net_getparams()
319 printf("%s: net gateway: %s\n", __func__, inet_ntoa(gateip)); in net_getparams()
333 printf("%s: server addr: %s\n", __func__, inet_ntoa(rootip)); in net_getparams()
/freebsd/stand/libsa/
H A Dinet_ntoa.c41 inet_ntoa(struct in_addr in) in inet_ntoa() function
55 #undef inet_ntoa
56 __weak_reference(__inet_ntoa, inet_ntoa);
/freebsd/lib/libc/inet/
H A Dinet_ntoa.c49 inet_ntoa(struct in_addr in) { in inet_ntoa() function
69 #undef inet_ntoa
70 __weak_reference(__inet_ntoa, inet_ntoa);
/freebsd/usr.sbin/ypserv/
H A Dyp_access.c241 inet_ntoa(rqhost->sin_addr),
252 map, inet_ntoa(rqhost->sin_addr),
267 not privileged", map, inet_ntoa(rqhost->sin_addr), ntohs(rqhost->sin_port));
274 inet_ntoa(rqhost->sin_addr), "");
303 inet_ntoa(rqhost->sin_addr),
/freebsd/tools/regression/sockets/zerosend/
H A Dzerosend.c91 inet_ntoa(sin.sin_addr), PORT1); in setup_udp()
95 inet_ntoa(sin.sin_addr), PORT2); in setup_udp()
102 inet_ntoa(sin.sin_addr), PORT2); in setup_udp()
106 inet_ntoa(sin.sin_addr), PORT1); in setup_udp()
133 err(1, "%s: bind(%s, %d)", test, inet_ntoa(sin.sin_addr), in setup_tcp()
150 inet_ntoa(sin.sin_addr), PORT1); in setup_tcp()
/freebsd/libexec/bootpd/bootpgw/
H A Dbootpgw.c457 inet_ntoa(recv_addr.sin_addr)); in main()
520 inet_ntoa(recv_addr.sin_addr)); in handle_request()
531 inet_ntoa(recv_addr.sin_addr)); in handle_request()
556 inet_ntoa(recv_addr.sin_addr)); in handle_request()
611 inet_ntoa(bp->bp_yiaddr)); in handle_reply()
617 inet_ntoa(bp->bp_yiaddr)); in handle_reply()
651 inet_ntoa(dst), haddrtoa(ha, len)); in handle_reply()
/freebsd/usr.sbin/ppp/
H A Dipcp.c307 paddr = inet_ntoa(ipcp->ns.dns[0]); in ipcp_WriteDNS()
313 paddr = inet_ntoa(ipcp->ns.dns[1]); in ipcp_WriteDNS()
367 inet_ntoa(ipcp->peer_ip), vj2asc(ipcp->peer_compproto)); in ipcp_Show()
369 inet_ntoa(ipcp->my_ip), vj2asc(ipcp->my_compproto)); in ipcp_Show()
383 inet_ntoa(ipcp->cfg.TriggerAddress)); in ipcp_Show()
398 "none" : inet_ntoa(ipcp->cfg.ns.dns[0])); in ipcp_Show()
401 inet_ntoa(ipcp->cfg.ns.dns[1])); in ipcp_Show()
406 "none" : inet_ntoa(ipcp->ns.dns[0])); in ipcp_Show()
410 inet_ntoa(ipcp->ns.dns[1])); in ipcp_Show()
412 inet_ntoa(ipcp->cfg.ns.nbns[0])); in ipcp_Show()
[all …]
H A Darp.c112 inet_ntoa(addr)); in arp_ProxySub()
138 add ? "Add" : "Delete", inet_ntoa(addr), strerror(errno)); in arp_ProxySub()
295 strncpy(a, inet_ntoa(netmask->sin_addr), sizeof a - 1); in arp_EtherAddr()
298 inet_ntoa(ifa->sin_addr), a); in arp_EtherAddr()
305 dl->sdl_data, inet_ntoa(ipaddr)); in arp_EtherAddr()
/freebsd/libexec/bootpd/
H A Ddumptab.c191 fprintf(fp, "\\\n\t:ip=%s:", inet_ntoa(hp->iaddr)); in dump_host()
220 fprintf(fp, "\\\n\t:ra=%s:", inet_ntoa(hp->reply_addr)); in dump_host()
231 fprintf(fp, "\\\n\t:sa=%s:", inet_ntoa(hp->bootserver)); in dump_host()
234 fprintf(fp, "\\\n\t:sm=%s:", inet_ntoa(hp->subnet_mask)); in dump_host()
237 fprintf(fp, "\\\n\t:sw=%s:", inet_ntoa(hp->subnet_mask)); in dump_host()
341 fprintf(fp, "%s", inet_ntoa(*addrptr++)); in list_ipaddresses()
H A Dtrylook.c13 extern char *inet_ntoa();
39 a = inet_ntoa(in);
/freebsd/contrib/wpa/src/wps/
H A 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()
H A 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()
/freebsd/cddl/lib/libdtrace/
H A Dip.d234 inet_ntoa(&((struct ip *)p)->ip_src.s_addr) :
238 inet_ntoa(&((struct ip *)p)->ip_dst.s_addr) :
252 inet_ntoa(&((struct ip *)m->m_data)->ip_src.s_addr) :
256 inet_ntoa(&((struct ip *)m->m_data)->ip_dst.s_addr) :
285 ipv4_saddr = p == NULL ? 0 : inet_ntoa(&p->ip_src.s_addr);
286 ipv4_daddr = p == NULL ? 0 : inet_ntoa(&p->ip_dst.s_addr);
H A Dnfs.d54 inet_ntoa(&((struct sockaddr_in *)
64 inet_ntoa(&((struct sockaddr_in *)
80 inet_ntoa((ipaddr_t *)
/freebsd/sbin/ipf/ipfsync/
H A Dipfsyncd.c317 debug(2, "binding to %s:%s\n", nicname, inet_ntoa(sinp->sin_addr));
346 inet_ntoa(addr));
348 inet_ntoa(addr), STRERROR(errno));
384 snprintf(buffer, sizeof(buffer), "%s,", inet_ntoa(sinp->sin_addr));
385 strcat(buffer, inet_ntoa(reqip->sin_addr));
440 syslog(LOG_INFO, "Sending data to %s", inet_ntoa(sinp->sin_addr));
441 debug(3, "Sending data to %s\n", inet_ntoa(sinp->sin_addr));
/freebsd/tools/regression/netinet/ipmulticast/
H A Dipmulticast.c196 gaddrbuf, inet_ntoa(mreq.imr_interface)); in do_asm_ipv4()
227 gaddrbuf, inet_ntoa(mreqs.imr_interface), in do_asm_ipv4()
263 gaddrbuf, inet_ntoa(mreqs.imr_interface), in do_asm_ipv4()
286 gaddrbuf, inet_ntoa(mreq.imr_interface)); in do_asm_ipv4()
452 basegroup_str, inet_ntoa(basegroup.sin.sin_addr)); in main()
480 ifaddr_str, inet_ntoa(ifaddr.sin.sin_addr)); in main()
699 inet_ntoa(from.sin.sin_addr)); in recv_loop_with_match()
/freebsd/sbin/ipf/libipf/
H A Dremove_hashnode.c40 printf("\t%s - ", inet_ntoa(ipe.ipe_addr.in4)); in remove_hashnode()
41 printf("%s\n", inet_ntoa(ipe.ipe_mask.in4)); in remove_hashnode()
/freebsd/contrib/smbfs/smbutil/
H A Dlookup.c99 printf("Got response from %s\n", inet_ntoa(ctx->nb_lastns.sin_addr)); in cmd_lookup()
100 printf("IP address of %s: %s\n", hostname, inet_ntoa(((struct sockaddr_in*)sap)->sin_addr)); in cmd_lookup()
/freebsd/sbin/ipf/ipsend/
H A Diptest.c152 printf("Source: %s\n", inet_ntoa(ip->ip_src)); in main()
153 printf("Dest: %s\n", inet_ntoa(ip->ip_dst)); in main()
154 printf("Gateway: %s\n", inet_ntoa(gwip)); in main()
/freebsd/usr.sbin/bootparamd/callbootd/
H A Dcallbootd.c41 printf("%s answered:\n", he ? he->h_name : inet_ntoa(raddr->sin_addr)); in eachres_whoami()
53 printf("%s answered:\n", he ? he->h_name : inet_ntoa(raddr->sin_addr)); in eachres_getfile()
184 inet_ntoa(*(struct in_addr *)&res->server_address.bp_address_u.ip_addr), in printgetfile()
/freebsd/sbin/ipfw/
H A Dnat.c650 printf(" ip %s", inet_ntoa(n->ip)); in nat_show_cfg()
689 printf(" %s", inet_ntoa(t->laddr)); in nat_show_cfg()
697 printf("%s", inet_ntoa(s->addr)); in nat_show_cfg()
700 printf(" %s", inet_ntoa(t->paddr)); in nat_show_cfg()
706 printf("%s:%u", inet_ntoa(t->laddr), t->lport); in nat_show_cfg()
715 printf("%s:%u", inet_ntoa(s->addr), in nat_show_cfg()
722 printf("%s:", inet_ntoa(t->paddr)); in nat_show_cfg()
728 printf(" %s", inet_ntoa(t->raddr)); in nat_show_cfg()
740 inet_ntoa(t->laddr)); in nat_show_cfg()
742 printf(" %s", inet_ntoa(t->paddr)); in nat_show_cfg()
[all …]
/freebsd/sbin/ping/
H A Dping.c824 inet_ntoa(to->sin_addr)); in ping()
1126 inet_ntoa(from->sin_addr)); in pr_pack()
1137 inet_ntoa(from->sin_addr)); in pr_pack()
1218 inet_ntoa(*(struct in_addr *)&(icp.icmp_mask))); in pr_pack()
1285 icmp_data_raw_len, inet_ntoa(from->sin_addr)); in pr_pack()
1296 oip_header_len, inet_ntoa(from->sin_addr)); in pr_pack()
1308 icmp_data_raw_len, inet_ntoa(from->sin_addr)); in pr_pack()
1485 (void)printf("(New addr: %s)\n", inet_ntoa(icp->icmp_gwaddr)); in pr_icmph()
1562 (int)strlen(inet_ntoa(src_ina)), "Src", in pr_iph()
1563 (int)strlen(inet_ntoa(dst_ina)), "Dst"); in pr_iph()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/inet/
H A Dt_inet_addr.c64 ian = inet_ntoa(ia); in ATF_TC_BODY()
95 ian = inet_ntoa(ia); in ATF_TC_BODY()

123456789