| /f-stack/app/redis-5.0.5/src/ |
| H A D | anet.c | 229 inet_ntop(AF_INET, &(sa->sin_addr), ipbuf, ipbuf_len); in anetGenericResolve() 232 inet_ntop(AF_INET6, &(sa->sin6_addr), ipbuf, ipbuf_len); in anetGenericResolve() 566 if (ip) inet_ntop(AF_INET,(void*)&(s->sin_addr),ip,ip_len); in anetTcpAccept() 570 if (ip) inet_ntop(AF_INET6,(void*)&(s->sin6_addr),ip,ip_len); in anetTcpAccept() 595 if (ip) inet_ntop(AF_INET,(void*)&(s->sin_addr),ip,ip_len); in anetPeerToString() 599 if (ip) inet_ntop(AF_INET6,(void*)&(s->sin6_addr),ip,ip_len); in anetPeerToString() 651 if (ip) inet_ntop(AF_INET,(void*)&(s->sin_addr),ip,ip_len); in anetSockName() 655 if (ip) inet_ntop(AF_INET6,(void*)&(s->sin6_addr),ip,ip_len); in anetSockName()
|
| /f-stack/freebsd/net/route/ |
| H A D | route_ddb.c | 110 res = inet_ntop(AF_INET, in rt_dumpaddr_ddb() 114 res = inet_ntop(AF_INET6, in rt_dumpaddr_ddb() 244 if (inet_ntop(af, dst_addrp, abuf, sizeof(abuf)) != NULL) in _DB_FUNC()
|
| /f-stack/tools/ifconfig/ |
| H A D | af_inet6.c | 244 inet_ntop(AF_INET6, &sin->sin6_addr, addr_buf, 247 inet_ntop(AF_INET6_LINUX, &sin->sin6_addr, addr_buf, 267 inet_ntop(AF_INET6, &sin->sin6_addr, addr_buf, 270 inet_ntop(AF_INET6_LINUX, &sin->sin6_addr, addr_buf, 502 if (inet_ntop(AF_INET6_LINUX, &sin6->sin6_addr, src, sizeof(src)) == NULL) 516 if (inet_ntop(AF_INET6_LINUX, &sin6->sin6_addr, dst, sizeof(dst)) == NULL)
|
| H A D | af_inet.c | 89 inet_ntop(AF_INET, &sin->sin_addr, addr_buf, sizeof(addr_buf)); in in_status() 211 if (inet_ntop(AF_INET, &sin->sin_addr, src, sizeof(src)) == NULL) in in_status_tunnel() 223 if (inet_ntop(AF_INET, &sin->sin_addr, dst, sizeof(dst)) == NULL) in in_status_tunnel()
|
| H A D | ifvxlan.c | 145 if (inet_ntop(AF_INET, &sin->sin_addr, src, sizeof(src)) == NULL) in vxlan_status() 149 if (inet_ntop(AF_INET, &sin->sin_addr, dst, sizeof(dst)) == NULL) in vxlan_status()
|
| /f-stack/dpdk/lib/librte_eal/windows/include/arpa/ |
| H A D | inet.h | 28 inet_ntop(int af, const void *src, char *dst, socklen_t size);
|
| /f-stack/freebsd/netpfil/ipfw/nptv6/ |
| H A D | nptv6.c | 177 inet_ntop(AF_INET6, &ip6->ip6_src, _s, sizeof(_s)), in nptv6_translate_icmpv6() 178 inet_ntop(AF_INET6, &ip6->ip6_dst, _d, sizeof(_d)), in nptv6_translate_icmpv6() 239 inet_ntop(AF_INET6, &ip6->ip6_src, _s, sizeof(_s)), in nptv6_rewrite_internal() 240 inet_ntop(AF_INET6, &ip6->ip6_dst, _d, sizeof(_d)), in nptv6_rewrite_internal() 297 inet_ntop(AF_INET6, &ip6->ip6_src, _s, sizeof(_s)), in nptv6_rewrite_external() 298 inet_ntop(AF_INET6, &ip6->ip6_dst, _d, sizeof(_d)), in nptv6_rewrite_external() 380 inet_ntop(AF_INET6, &ip6->ip6_src, _s, sizeof(_s)), in ipfw_nptv6() 381 inet_ntop(AF_INET6, &ip6->ip6_dst, _d, sizeof(_d)), in ipfw_nptv6()
|
| /f-stack/freebsd/netipsec/ |
| H A D | key_debug.c | 946 return (inet_ntop(AF_INET, &sa->sin.sin_addr, buf, size)); in ipsec_address() 951 snprintf(buf, size, "%s%%%u", inet_ntop(AF_INET6, in ipsec_address() 956 return (inet_ntop(AF_INET6, &sa->sin6.sin6_addr, in ipsec_address() 995 inet_ntop(AF_INET, &sin->sin_addr, buf, sizeof(buf)); in kdebug_sockaddr() 1006 inet_ntop(AF_INET6, &sin6->sin6_addr, buf, in kdebug_sockaddr() 1009 inet_ntop(AF_INET6, &sin6->sin6_addr, buf, in kdebug_sockaddr()
|
| /f-stack/tools/compat/include/arpa/ |
| H A D | inet.h | 122 const char *inet_ntop(int, const void * __restrict, char * __restrict,
|
| /f-stack/tools/ipfw/ |
| H A D | nat64lsn.c | 120 inet_ntop(AF_INET, &stg->alias4, a, sizeof(a)); in nat64lsn_print_states() 124 inet_ntop(AF_INET6, &ste->host6, s, sizeof(s)); in nat64lsn_print_states() 125 inet_ntop(AF_INET, &ste->daddr, f, sizeof(f)); in nat64lsn_print_states() 786 inet_ntop(AF_INET, &cfg->prefix4, abuf, sizeof(abuf)); in nat64lsn_show_cb() 788 inet_ntop(AF_INET6, &cfg->prefix6, abuf, sizeof(abuf)); in nat64lsn_show_cb()
|
| H A D | nptv6.c | 373 inet_ntop(AF_INET6, &cfg->internal, abuf, sizeof(abuf)); in nptv6_show_cb() 378 inet_ntop(AF_INET6, &cfg->external, abuf, sizeof(abuf)); in nptv6_show_cb()
|
| H A D | ipv6.c | 134 if (inet_ntop(AF_INET6_LINUX, a, trad, in print_ip6() 139 bprintf(bp, "/%s", inet_ntop(AF_INET6_LINUX, &a[1], in print_ip6()
|
| H A D | nat64clat.c | 456 inet_ntop(AF_INET6, &cfg->clat_prefix, clat_buf, sizeof(clat_buf)); in nat64clat_show_cb() 457 inet_ntop(AF_INET6, &cfg->plat_prefix, plat_buf, sizeof(plat_buf)); in nat64clat_show_cb()
|
| H A D | tables.c | 1800 inet_ntop(AF_INET, &flag, buf, sz); in table_show_value() 1838 inet_ntop(AF_INET, &a4, abuf, sizeof(abuf)); in table_show_value() 1855 if (inet_ntop(AF_INET6_LINUX, &sa6.sin6_addr, abuf, sizeof(abuf)) != NULL) in table_show_value() 1883 inet_ntop(tent->subtype, &tent->k, tbuf, sizeof(tbuf)); in table_show_entry() 1905 inet_ntop(tfe->af, paddr, tbuf, sizeof(tbuf)); in table_show_entry() 1925 inet_ntop(tfe->af, paddr, tbuf, sizeof(tbuf)); in table_show_entry()
|
| /f-stack/tools/ndp/ |
| H A D | ndp.c | 559 inet_ntop(AF_INET6_LINUX, &sin->sin6_addr, host_buf, sizeof(host_buf)); in get() 626 inet_ntop(AF_INET6_LINUX, &sin->sin6_addr, host_buf, sizeof(host_buf)); in delete() 731 inet_ntop(AF_INET6_LINUX, &sin->sin6_addr, host_buf, sizeof(host_buf)); in dump() 1186 if (inet_ntop(AF_INET6_LINUX, &p->rtaddr.sin6_addr, host_buf, sizeof(host_buf)) == NULL) in rtrlist() 1247 inet_ntop(AF_INET6_LINUX, &p->prefix.sin6_addr, namebuf, sizeof(namebuf)); in plist() 1303 if (inet_ntop(AF_INET6_LINUX, &sin6->sin6_addr, namebuf, sizeof(namebuf)) == NULL) in plist()
|
| /f-stack/freebsd/libkern/ |
| H A D | inet_ntop.c | 47 inet_ntop(int af, const void *src, char *dst, socklen_t size) in inet_ntop() function
|
| /f-stack/freebsd/contrib/dpdk_rte_lpm/ |
| H A D | dpdk_lpm.c | 169 inet_ntop(AF_INET, &addr, abuf, sizeof(abuf)); in handle_gu_change() 255 inet_ntop(AF_INET, &addr4, abuf, sizeof(abuf)); in add_route_cb()
|
| H A D | dpdk_lpm6.c | 204 inet_ntop(AF_INET6, addr6, abuf, sizeof(abuf)); in handle_gu_change() 320 inet_ntop(AF_INET6, &addr6, abuf, sizeof(abuf)); in add_route_cb()
|
| /f-stack/tools/netstat/ |
| H A D | nhops.c | 135 inet_ntop(AF_INET, &((struct sockaddr_in *)sa)->sin_addr, in print_sockaddr_buf() 139 inet_ntop(AF_INET6, &((struct sockaddr_in6 *)sa)->sin6_addr, in print_sockaddr_buf()
|
| H A D | route.c | 514 inet_ntop(sa->sa_family, src, line, sizeof(line) - 1); in routename() 608 inet_ntop(AF_INET, &in, nline, sizeof(nline)); in netname4()
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw_log.c | 328 inet_ntop(AF_INET, &ip->ip_src, src, sizeof(src)); in ipfw_log() 329 inet_ntop(AF_INET, &ip->ip_dst, dst, sizeof(dst)); in ipfw_log()
|
| /f-stack/freebsd/net/ |
| H A D | debugnet.c | 698 inet_ntop(AF_INET, &pcb->dp_server, serbuf, sizeof(serbuf)); in debugnet_connect() 699 inet_ntop(AF_INET, &pcb->dp_client, clibuf, sizeof(clibuf)); in debugnet_connect() 701 inet_ntop(AF_INET, &pcb->dp_gateway, gwbuf, sizeof(gwbuf)); in debugnet_connect()
|
| /f-stack/dpdk/lib/librte_node/ |
| H A D | ip4_lookup.c | 137 inet_ntop(AF_INET, &in, abuf, sizeof(abuf)); in rte_node_ip4_route_add()
|
| /f-stack/dpdk/examples/l3fwd/ |
| H A D | l3fwd_lpm.c | 503 inet_ntop(AF_INET, &in, abuf, sizeof(abuf)), in setup_lpm() 541 inet_ntop(AF_INET6, ipv6_l3fwd_lpm_route_array[i].ip, in setup_lpm()
|
| /f-stack/tools/route/ |
| H A D | route.c | 659 dst = inet_ntop(AF_INET6_LINUX, &sin6->sin6_addr, rt_line, sizeof(rt_line)); in routename() 662 dst = inet_ntop(AF_INET, &sin->sin_addr, rt_line, sizeof(rt_line)); in routename() 790 if (inet_ntop(AF_INET6_LINUX, &sin6.sin6_addr, net_line, sizeof(net_line)) == NULL) in netname() 1989 (void)printf("%s: inet6 %s; ", which, inet_ntop(sa->sa_family, 1991 (void)printf("%s: inet6 %s; ", which, inet_ntop(AF_INET6_LINUX,
|