| /freebsd-14.2/tools/regression/netinet/msocket/ |
| H A D | msocket.c | 160 inet_ntoa(defaultv)); 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() 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() 270 strlcpy(buf, inet_ntoa(imr.imr_multiaddr), 128); in test_add_multi() 291 strlcpy(buf, inet_ntoa(imr.imr_multiaddr), 128); in test_drop_multi() 299 inet_ntoa(imr.imr_interface)); in test_drop_multi() [all …]
|
| /freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
| H A D | tst.inet_ntoa.d | 52 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-14.2/stand/common/ |
| H A D | dev_net.c | 174 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-14.2/stand/libsa/ |
| H A D | inet_ntoa.c | 41 inet_ntoa(struct in_addr in) in inet_ntoa() function 55 #undef inet_ntoa 56 __weak_reference(__inet_ntoa, inet_ntoa);
|
| /freebsd-14.2/lib/libc/inet/ |
| H A D | inet_ntoa.c | 53 inet_ntoa(struct in_addr in) { in inet_ntoa() function 73 #undef inet_ntoa 74 __weak_reference(__inet_ntoa, inet_ntoa);
|
| /freebsd-14.2/usr.sbin/ypserv/ |
| H A D | yp_access.c | 241 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-14.2/tools/regression/sockets/zerosend/ |
| H A D | zerosend.c | 91 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-14.2/libexec/bootpd/bootpgw/ |
| H A D | bootpgw.c | 458 inet_ntoa(recv_addr.sin_addr)); in main() 521 inet_ntoa(recv_addr.sin_addr)); in handle_request() 532 inet_ntoa(recv_addr.sin_addr)); in handle_request() 557 inet_ntoa(recv_addr.sin_addr)); in handle_request() 612 inet_ntoa(bp->bp_yiaddr)); in handle_reply() 618 inet_ntoa(bp->bp_yiaddr)); in handle_reply() 652 inet_ntoa(dst), haddrtoa(ha, len)); in handle_reply()
|
| /freebsd-14.2/libexec/bootpd/ |
| H A D | dumptab.c | 191 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 D | trylook.c | 13 extern char *inet_ntoa(); 39 a = inet_ntoa(in);
|
| /freebsd-14.2/usr.sbin/ppp/ |
| H A D | ipcp.c | 307 paddr = inet_ntoa(ipcp->ns.dns[0]); in ipcp_WriteDNS() 313 paddr = inet_ntoa(ipcp->ns.dns[1]); in ipcp_WriteDNS() 401 inet_ntoa(ipcp->cfg.ns.dns[1])); in ipcp_Show() 410 inet_ntoa(ipcp->ns.dns[1])); in ipcp_Show() 412 inet_ntoa(ipcp->cfg.ns.nbns[0])); in ipcp_Show() 414 inet_ntoa(ipcp->cfg.ns.nbns[1])); in ipcp_Show() 562 inet_ntoa(ipcp->cfg.TriggerAddress)); in ipcp_Setup() 721 f, inet_ntoa(try)); in ChooseHisAddr() 939 tbuff, inet_ntoa(ipcp->peer_ip)); in IpcpLayerUp() 991 inet_ntoa(ip)); in ipcp_ValidateReq() [all …]
|
| H A D | arp.c | 112 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-14.2/contrib/wpa/src/wps/ |
| H A D | http_server.c | 49 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 D | http_client.c | 61 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-14.2/cddl/lib/libdtrace/ |
| H A D | ip.d | 234 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 D | nfs.d | 54 inet_ntoa(&((struct sockaddr_in *) 64 inet_ntoa(&((struct sockaddr_in *) 80 inet_ntoa((ipaddr_t *)
|
| /freebsd-14.2/sbin/ipf/ipfsync/ |
| H A D | ipfsyncd.c | 321 debug(2, "binding to %s:%s\n", nicname, inet_ntoa(sinp->sin_addr)); 350 inet_ntoa(addr)); 352 inet_ntoa(addr), STRERROR(errno)); 388 snprintf(buffer, sizeof(buffer), "%s,", inet_ntoa(sinp->sin_addr)); 389 strcat(buffer, inet_ntoa(reqip->sin_addr)); 444 syslog(LOG_INFO, "Sending data to %s", inet_ntoa(sinp->sin_addr)); 445 debug(3, "Sending data to %s\n", inet_ntoa(sinp->sin_addr));
|
| /freebsd-14.2/contrib/smbfs/smbutil/ |
| H A D | lookup.c | 99 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-14.2/sbin/ipf/libipf/ |
| H A D | remove_hashnode.c | 40 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()
|
| H A D | load_poolnode.c | 58 inet_ntoa(pn.ipn_addr.adf_addr.in4)); in load_poolnode() 59 strcat(msg, inet_ntoa(pn.ipn_mask.adf_addr.in4)); in load_poolnode()
|
| /freebsd-14.2/tools/regression/netinet/ipmulticast/ |
| H A D | ipmulticast.c | 197 gaddrbuf, inet_ntoa(mreq.imr_interface)); in do_asm_ipv4() 228 gaddrbuf, inet_ntoa(mreqs.imr_interface), in do_asm_ipv4() 264 gaddrbuf, inet_ntoa(mreqs.imr_interface), in do_asm_ipv4() 287 gaddrbuf, inet_ntoa(mreq.imr_interface)); in do_asm_ipv4() 453 basegroup_str, inet_ntoa(basegroup.sin.sin_addr)); in main() 481 ifaddr_str, inet_ntoa(ifaddr.sin.sin_addr)); in main() 700 inet_ntoa(from.sin.sin_addr)); in recv_loop_with_match()
|
| /freebsd-14.2/usr.sbin/bootparamd/callbootd/ |
| H A D | callbootd.c | 41 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-14.2/sbin/ipf/ipsend/ |
| H A D | iptest.c | 156 printf("Source: %s\n", inet_ntoa(ip->ip_src)); in main() 157 printf("Dest: %s\n", inet_ntoa(ip->ip_dst)); in main() 158 printf("Gateway: %s\n", inet_ntoa(gwip)); in main()
|
| /freebsd-14.2/sbin/ipfw/ |
| H A D | nat.c | 650 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-14.2/contrib/netbsd-tests/lib/libc/inet/ |
| H A D | t_inet_addr.c | 64 ian = inet_ntoa(ia); in ATF_TC_BODY() 95 ian = inet_ntoa(ia); in ATF_TC_BODY()
|