Home
last modified time | relevance | path

Searched refs:inet_ntop (Results 1 – 25 of 266) sorted by relevance

1234567891011

/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
HDtst.inet_ntop.d121 printf("%s\n", inet_ntop(AF_INET, ip4a));
122 printf("%s\n", inet_ntop(AF_INET, ip4b));
123 printf("%s\n", inet_ntop(AF_INET, ip4c));
124 printf("%s\n", inet_ntop(AF_INET, ip4d));
125 printf("%s\n", inet_ntop(AF_INET6, ip6a));
126 printf("%s\n", inet_ntop(AF_INET6, ip6b));
127 printf("%s\n", inet_ntop(AF_INET6, ip6c));
128 printf("%s\n", inet_ntop(AF_INET6, ip6d));
129 printf("%s\n", inet_ntop(AF_INET6, ip6e));
130 printf("%s\n", inet_ntop(AF_INET6, ip6f));
[all …]
/freebsd-13-stable/contrib/libpcap/testprogs/
HDfindalldevstest.c262 inet_ntop(AF_INET, in ifprint()
267 inet_ntop(AF_INET, in ifprint()
272 inet_ntop(AF_INET, in ifprint()
277 inet_ntop(AF_INET, in ifprint()
286 inet_ntop(AF_INET6, in ifprint()
291 inet_ntop(AF_INET6, in ifprint()
296 inet_ntop(AF_INET6, in ifprint()
301 inet_ntop(AF_INET6, in ifprint()
/freebsd-13-stable/usr.sbin/flowctl/
HDflowctl.c281 inet_ntop(AF_INET, &fle->r.r_src, src, sizeof(src)); in flow_cache_print()
282 inet_ntop(AF_INET, &fle->r.r_dst, dst, sizeof(dst)); in flow_cache_print()
315 inet_ntop(AF_INET6, &fle6->r.src.r_src6, src6, sizeof(src6)); in flow_cache_print6()
316 inet_ntop(AF_INET6, &fle6->r.dst.r_dst6, dst6, sizeof(dst6)); in flow_cache_print6()
348 inet_ntop(AF_INET, &fle->r.r_src, src, sizeof(src)); in flow_cache_print_verbose()
349 inet_ntop(AF_INET, &fle->r.r_dst, dst, sizeof(dst)); in flow_cache_print_verbose()
350 inet_ntop(AF_INET, &fle->next_hop, next, sizeof(next)); in flow_cache_print_verbose()
391 inet_ntop(AF_INET6, &fle6->r.src.r_src6, src6, sizeof(src6)); in flow_cache_print6_verbose()
392 inet_ntop(AF_INET6, &fle6->r.dst.r_dst6, dst6, sizeof(dst6)); in flow_cache_print6_verbose()
393 inet_ntop(AF_INET6, &fle6->n.next_hop6, next6, sizeof(next6)); in flow_cache_print6_verbose()
/freebsd-13-stable/usr.sbin/rtadvd/
HDrtadvd.c623 inet_ntop(AF_INET6, addr, in rtmsg_input()
652 __func__, inet_ntop(AF_INET6, addr, in rtmsg_input()
810 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf, in rtadvd_input()
820 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf, in rtadvd_input()
829 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf, in rtadvd_input()
845 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, in rtadvd_input()
855 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf, in rtadvd_input()
865 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf, in rtadvd_input()
874 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf, in rtadvd_input()
918 inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf, sizeof(ntopbuf)), in rs_input()
[all …]
HDrrenum.c376 inet_ntop(AF_INET6, dst, ntopbuf, sizeof(ntopbuf))); in rr_command_check()
385 inet_ntop(AF_INET6, from, ntopbuf, sizeof(ntopbuf))); in rr_command_check()
394 __func__, rr->rr_segnum, inet_ntop(AF_INET6, from, in rr_command_check()
446 inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf[0] ,sizeof(ntopbuf[0])), in rr_input()
447 inet_ntop(AF_INET6, &dst, ntopbuf[1], sizeof(ntopbuf[1])), in rr_input()
455 inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf[0], in rr_input()
457 inet_ntop(AF_INET6, &dst, ntopbuf[1], sizeof(ntopbuf[1])), in rr_input()
476 inet_ntop(AF_INET6, &dst, ntopbuf[0], sizeof(ntopbuf[0])), in rr_input()
477 inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf[1], in rr_input()
/freebsd-13-stable/sbin/ipf/libipf/
HDprintpoolfield.c49 PRINTF("%s", inet_ntop(a->adf_family, &a->adf_addr, in printpoolfield()
54 PRINTF("%s", inet_ntop(node->ipe_family, in printpoolfield()
61 PRINTF("%s", inet_ntop(a->adf_family, &a->adf_addr, in printpoolfield()
71 PRINTF("%s", inet_ntop(a->adf_family, &a->adf_addr, in printpoolfield()
76 PRINTF("%s", inet_ntop(node->ipe_family, in printpoolfield()
HDload_hashnode.c59 inet_ntop(ipe.ipe_family, in load_hashnode()
65 inet_ntop(ipe.ipe_family, in load_hashnode()
HDprintdstlistnode.c45 str = inet_ntop(AF_INET6, &np->ipfd_dest.fd_ip6, in printdstlistnode()
56 str = inet_ntop(np->ipfd_dest.fd_addr.adf_family, in printdstlistnode()
HDload_poolnode.c58 inet_ntop(pn.ipn_addr.adf_family, in load_poolnode()
65 inet_ntop(pn.ipn_mask.adf_family, in load_poolnode()
/freebsd-13-stable/usr.sbin/rtsold/
HDrtsol.c240 inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf, in rtsol_input()
249 inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf, in rtsol_input()
259 inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf, in rtsol_input()
268 inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf, in rtsol_input()
279 inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf, in rtsol_input()
287 inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf, sizeof(ntopbuf)), in rtsol_input()
302 const char *rasender = inet_ntop(AF_INET6, &from.sin6_addr, in rtsol_input()
320 const char *rasender = inet_ntop(AF_INET6, &from.sin6_addr, in rtsol_input()
379 inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf, in rtsol_input()
386 if (inet_ntop(AF_INET6, addr, ntopbuf, in rtsol_input()
[all …]
/freebsd-13-stable/tests/sys/net/routing/
HDrtsock_config.h97 inet_ntop(AF_INET, &c->net4.sin_addr, c->net4_str, INET_ADDRSTRLEN); in config_setup()
98 inet_ntop(AF_INET, &c->addr4.sin_addr, c->addr4_str, INET_ADDRSTRLEN); in config_setup()
124 inet_ntop(AF_INET6, &c->net6.sin6_addr, c->net6_str, INET6_ADDRSTRLEN); in config_setup()
125 inet_ntop(AF_INET6, &c->addr6.sin6_addr, c->addr6_str, INET6_ADDRSTRLEN); in config_setup()
/freebsd-13-stable/lib/libc/inet/
HDinet_ntoa.c58 (void) inet_ntop(AF_INET, &in, ret, sizeof ret); in inet_ntoa()
66 (void) inet_ntop(AF_INET, &in, buf, size); in inet_ntoa_r()
HDinet_ntop.c56 inet_ntop(int af, const void * __restrict src, char * __restrict dst, in inet_ntop() function
201 #undef inet_ntop
202 __weak_reference(__inet_ntop, inet_ntop);
/freebsd-13-stable/contrib/ofed/opensm/opensm/
HDosm_inform.c253 inet_ntop(AF_INET6, p_infr->inform_record.subscriber_gid.raw, in osm_infr_remove_from_db()
418 inet_ntop(AF_INET6, source_gid.raw, gid_str, sizeof gid_str)); in is_access_permitted()
428 inet_ntop(AF_INET6, source_gid.raw, gid_str, sizeof gid_str), in is_access_permitted()
625 inet_ntop(AF_INET6, gid->raw, gid_str, sizeof gid_str)); in log_notice()
632 inet_ntop(AF_INET6, gid->raw, gid_str, sizeof gid_str)); in log_notice()
721 inet_ntop(AF_INET6, gid1->raw, gid_str, sizeof gid_str), in log_notice()
722 inet_ntop(AF_INET6, gid2->raw, gid_str2, sizeof gid_str2)); in log_notice()
743 inet_ntop(AF_INET6, gid1->raw, gid_str, sizeof gid_str), in log_notice()
744 inet_ntop(AF_INET6, gid2->raw, gid_str2, sizeof gid_str2)); in log_notice()
754 inet_ntop(AF_INET6, gid->raw, gid_str, sizeof gid_str)); in log_notice()
[all …]
HDosm_sa_mcmember_record.c174 inet_ntop(AF_INET6, mcmr->mgid.raw, str, sizeof(str))); in get_new_mlid()
429 inet_ntop(AF_INET6, base_port_gid.raw, gid_str, in validate_modify()
431 inet_ntop(AF_INET6, request_gid.raw, gid_str2, in validate_modify()
846 inet_ntop(AF_INET6, mcm_rec.mgid.raw, gid_str, in mcmr_rcv_create_new_mgrp()
876 inet_ntop(AF_INET6, bcast_mgid.raw, gid_str, sizeof gid_str)); in mcmr_rcv_create_new_mgrp()
883 inet_ntop(AF_INET6, &p_recvd_mcmember_rec->mgid, gid_str, sizeof gid_str)); in mcmr_rcv_create_new_mgrp()
1015 inet_ntop(AF_INET6, p_recvd_mcmember_rec->mgid.raw, in mcmr_rcv_leave_mgrp()
1030 inet_ntop(AF_INET6, p_recvd_mcmember_rec->mgid.raw, in mcmr_rcv_leave_mgrp()
1032 inet_ntop(AF_INET6, p_recvd_mcmember_rec->port_gid.raw, in mcmr_rcv_leave_mgrp()
1248 inet_ntop(AF_INET6, in mcmr_rcv_join_mgrp()
[all …]
/freebsd-13-stable/sys/net/route/
HDroute_ddb.c109 res = inet_ntop(AF_INET, in rt_dumpaddr_ddb()
113 res = inet_ntop(AF_INET6, in rt_dumpaddr_ddb()
243 if (inet_ntop(af, dst_addrp, abuf, sizeof(abuf)) != NULL) in DB_SHOW_COMMAND_FLAGS()
/freebsd-13-stable/tools/regression/netinet/ipmulticast/
HDipmulticast.c194 inet_ntop(AF_INET, &mreq.imr_multiaddr, gaddrbuf, in do_asm_ipv4()
223 inet_ntop(AF_INET, &mreqs.imr_multiaddr, gaddrbuf, in do_asm_ipv4()
225 inet_ntop(AF_INET, &mreqs.imr_sourceaddr, saddrbuf, in do_asm_ipv4()
259 inet_ntop(AF_INET, &mreqs.imr_multiaddr, gaddrbuf, in do_asm_ipv4()
261 inet_ntop(AF_INET, &mreqs.imr_sourceaddr, saddrbuf, in do_asm_ipv4()
284 inet_ntop(AF_INET, &mreq.imr_multiaddr, gaddrbuf, in do_asm_ipv4()
/freebsd-13-stable/crypto/heimdal/lib/roken/
HDgetnameinfo.c49 if (inet_ntop (af, addr, host, hostlen) == NULL) in doit()
64 } else if (inet_ntop (af, addr, host, hostlen) == NULL) in doit()
/freebsd-13-stable/include/arpa/
HDinet.h132 #define inet_ntop __inet_ntop macro
148 const char *inet_ntop(int, const void * __restrict, char * __restrict,
/freebsd-13-stable/contrib/wireguard-tools/
HDshowconf.c61 if (!inet_ntop(AF_INET, &allowedip->ip4, ip, INET6_ADDRSTRLEN)) in showconf_main()
64 if (!inet_ntop(AF_INET6, &allowedip->ip6, ip, INET6_ADDRSTRLEN)) in showconf_main()
/freebsd-13-stable/contrib/ntp/libntp/
HDsocktoa.c50 inet_ntop(AF_INET, PSOCK_ADDR4(sock), res, in socktoa()
55 inet_ntop(AF_INET6, PSOCK_ADDR6(sock), res, in socktoa()
/freebsd-13-stable/tools/tools/ifpifa/
HDifpifa.c163 inet_ntop(AF_INET, &sa.sa4->sin_addr, in main()
168 inet_ntop(AF_INET6, &sa.sa6->sin6_addr, in main()
/freebsd-13-stable/contrib/wpa/wpa_supplicant/
HDctrl_iface_udp.c100 inet_ntop(AF_INET6, &from->sin6_addr, addr, sizeof(*from)), in wpa_supplicant_ctrl_iface_attach()
130 inet_ntop(AF_INET6, &from->sin6_addr, addr,
177 inet_ntop(AF_INET6, &from->sin6_addr, addr,
252 inet_ntop(AF_INET6, &from.sin6_addr, addr, sizeof(from));
559 inet_ntop(AF_INET6, &dst->addr.sin6_addr,
653 inet_ntop(AF_INET6, &from.sin6_addr, addr, sizeof(from));
/freebsd-13-stable/contrib/bearssl/samples/
HDserver_basic.c143 inet_ntop(p->ai_family, addr, tmp, sizeof tmp); in host_bind()
202 name = inet_ntop(AF_INET, in accept_client()
207 name = inet_ntop(AF_INET6, in accept_client()
/freebsd-13-stable/contrib/llvm-project/lldb/source/Host/common/
HDSocketAddress.cpp40 const char *inet_ntop(int af, const void *src, char *dst, socklen_t size) { in inet_ntop() function
142 if (inet_ntop(GetFamily(), &m_socket_addr.sa_ipv4.sin_addr, str, in GetIPAddress()
147 if (inet_ntop(GetFamily(), &m_socket_addr.sa_ipv6.sin6_addr, str, in GetIPAddress()

1234567891011