Home
last modified time | relevance | path

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

123456789

/titanic_41/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.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 …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_nat.c60 (void) printf("%s.%d > ", inet_ntop(AF_INET, &addr_v4, addr, in print_nat_info()
63 (void) printf("%s.%d >>> ", inet_ntop(AF_INET, &addr_v4, addr, in print_nat_info()
67 (void) printf("%s.%d > ", inet_ntop(AF_INET, &addr_v4, addr, in print_nat_info()
70 (void) printf("%s.%d\n", inet_ntop(AF_INET, &addr_v4, addr, in print_nat_info()
73 (void) printf("%s.%d > ", inet_ntop(AF_INET6, in print_nat_info()
76 (void) printf("%s.%d >>> ", inet_ntop(AF_INET6, in print_nat_info()
80 (void) printf("%s.%d > ", inet_ntop(AF_INET6, in print_nat_info()
83 (void) printf("%s.%d\n", inet_ntop(AF_INET6, in print_nat_info()
99 (void) printf("%s --> ", inet_ntop(AF_INET, &addr_v4, addr, in print_persist_info()
102 (void) printf("%s\n", inet_ntop(AF_INET, &addr_v4, addr, in print_persist_info()
[all …]
/titanic_41/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Dpersistent.c426 (void) inet_ntop(AF_INET, &e->e_u.u_in4, in persistent_static_addr_set()
429 (void) inet_ntop(AF_INET6, &e->e_u.u_in6, in persistent_static_addr_set()
521 (void) inet_ntop(AF_INET, &e.e_u.u_in4, in persistent_static_addr_clear()
524 (void) inet_ntop(AF_INET6, &e.e_u.u_in6, in persistent_static_addr_clear()
591 (void) inet_ntop(AF_INET, &e->e_u.u_in4, name, sizeof (name)); in persistent_isns_addr_set()
593 (void) inet_ntop(AF_INET6, &e->e_u.u_in6, name, sizeof (name)); in persistent_isns_addr_set()
645 (void) inet_ntop(AF_INET, &e->e_u.u_in4, name, sizeof (name)); in persistent_isns_addr_clear()
647 (void) inet_ntop(AF_INET6, &e->e_u.u_in6, name, sizeof (name)); in persistent_isns_addr_clear()
702 (void) inet_ntop(AF_INET, &e->e_u.u_in4, name, sizeof (name)); in persistent_disc_addr_set()
704 (void) inet_ntop(AF_INET6, &e->e_u.u_in6, name, sizeof (name)); in persistent_disc_addr_set()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dndp.c128 if (inet_ntop(AF_INET6, (void *)&from.sin6_addr, in in_data()
467 inet_ntop(AF_INET6, &from->sin6_addr, abuf, in incoming_ra()
600 (void) inet_ntop(AF_INET6, (void *)&from->sin6_addr, in incoming_prefix_opt()
611 (void) inet_ntop(AF_INET6, (void *)&from->sin6_addr, in incoming_prefix_opt()
708 pr->pr_name, inet_ntop(AF_INET6, (void *)&pr->pr_prefix, in incoming_prefix_onlink_process()
743 pi->pi_name, inet_ntop(AF_INET6, in incoming_prefix_stateful()
812 (void) inet_ntop(AF_INET6, (void *)&from->sin6_addr, in incoming_prefix_addrconf()
814 (void) inet_ntop(AF_INET6, in incoming_prefix_addrconf()
920 (void) inet_ntop(AF_INET6, in incoming_prefix_addrconf_process()
923 (void) inet_ntop(AF_INET6, in incoming_prefix_addrconf_process()
[all …]
H A Dtables.c584 inet_ntop(AF_INET6, (void *)&pi->pi_ifaddr, in phyint_print()
588 inet_ntop(AF_INET6, (void *)&pi->pi_token, in phyint_print()
592 inet_ntop(AF_INET6, (void *)&pi->pi_tmp_token, in phyint_print()
602 inet_ntop(AF_INET6, (void *)&pi->pi_dst_token, in phyint_print()
805 inet_ntop(AF_INET6, &pi->pi_tmp_token, buf, sizeof (buf))); in tmptoken_create()
895 (void) inet_ntop(AF_INET6, &pr->pr_prefix, pbuf, in tmptoken_timer()
897 (void) inet_ntop(AF_INET6, &pi->pi_tmp_token, tbuf, in tmptoken_timer()
932 (void) inet_ntop(AF_INET6, &pr->pr_prefix, pbuf, in tmptoken_timer()
934 (void) inet_ntop(AF_INET6, &pi->pi_tmp_token, tbuf, in tmptoken_timer()
999 inet_ntop(AF_INET6, (void *)&prefix, in prefix_lookup()
[all …]
H A Dtrace.c42 inet_ntop(addr->sin6_family, (void *)&addr->sin6_addr, in print_route_sol()
59 inet_ntop(addr->sin6_family, (void *)&addr->sin6_addr, in print_route_adv()
105 inet_ntop(AF_INET6, (void *)&po->nd_opt_pi_prefix, in print_opt()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_igmp.c119 inet_ntop(AF_INET, &igmp->igmp_group.s_addr, in interpret_igmp()
146 "Group = %s", inet_ntop(AF_INET, &qry->igmp3q_group, addrstr, in interpret_igmpv3qry()
156 inet_ntop(AF_INET, &src->s_addr, addrstr, INET_ADDRSTRLEN)); in interpret_igmpv3qry()
201 "Group = %s type = %s", inet_ntop(AF_INET, in interpret_igmpv3rpt()
214 " %s", inet_ntop(AF_INET, &src->s_addr, addrstr, in interpret_igmpv3rpt()
H A Dsnoop_icmp.c633 inet_ntop(AF_INET6, (char *)&rd->nd_rd_target,
638 inet_ntop(AF_INET6, (char *)&rd->nd_rd_dst,
651 inet_ntop(AF_INET6, (char *)&ns->nd_ns_target,
667 inet_ntop(AF_INET6, (char *)&na->nd_na_target,
743 inet_ntop(AF_INET6, mldg->mld_addr.s6_addr,
758 "Multicast address= %s", inet_ntop(AF_INET6,
893 inet_ntop(AF_INET6,
924 "Multicast address= %s", inet_ntop(AF_INET6, in interpret_mldv2qry()
934 inet_ntop(AF_INET6, src, addrstr, INET6_ADDRSTRLEN)); in interpret_mldv2qry()
978 "Multicast address= %s type = %s", inet_ntop(AF_INET6, in interpret_mldv2rpt()
[all …]
/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Dip_anon_rcm.c241 (void) inet_ntop(AF_INET, in ip_anon_register()
246 (void) inet_ntop(AF_INET, in ip_anon_register()
254 (void) inet_ntop(AF_INET6, in ip_anon_register()
259 (void) inet_ntop(AF_INET6, in ip_anon_register()
313 (void) inet_ntop(AF_INET, &al[i].addr.addr, tstr, in ip_anon_register()
341 (void) inet_ntop(AF_INET6, &al6[i].addr.addr, tstr, in ip_anon_register()
615 (void) inet_ntop(AF_INET, &address, taddr, INET_ADDRSTRLEN); in exclude_ipv4()
634 (void) inet_ntop(AF_INET, &ipv4_netaddr, tmatch, in exclude_ipv4()
636 (void) inet_ntop(AF_INET, &ipv4_netmask, tmask, in exclude_ipv4()
659 (void) inet_ntop(AF_INET6, address, taddr, INET6_ADDRSTRLEN); in exclude_ipv6()
[all …]
/titanic_41/usr/src/cmd/ipf/lib/common/
H A Dprintnat.c101 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof (ipbuf)));
111 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof (ipbuf)));
115 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof (ipbuf)));
151 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof (ipbuf)));
158 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof (ipbuf)));
161 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof (ipbuf)));
164 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof (ipbuf)));
/titanic_41/usr/src/cmd/isns/isnsd/
H A Dserver.c86 (void) inet_ntop(AF_INET, in isns_connection()
90 (void) inet_ntop(AF_INET6, in isns_connection()
172 (void) inet_ntop(AF_INET, in isns_connection()
176 (void) inet_ntop(AF_INET6, in isns_connection()
302 (void) inet_ntop(AF_INET, (void *)&(sinp->sin_addr), in isns_port_watcher()
305 (void) inet_ntop(AF_INET6, (void *)&(sinp->sin_addr), in isns_port_watcher()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dif.c117 inet_ntop(AF_INET6, (void *)&ifp->int_addr, buf1, in if_dump2()
120 inet_ntop(AF_INET6, (void *)&ifp->int_dstaddr, buf1, in if_dump2()
124 inet_ntop(AF_INET6, (void *)&ifp->int_addr, buf1, in if_dump2()
H A Dinput.c100 (void) inet_ntop(from.sin6_family, &from.sin6_addr, buf1, in in_data()
145 (void) inet_ntop(from->sin6_family, (void *)&from->sin6_addr, in rip_input()
233 inet_ntop(AF_INET6, in rip_input()
345 inet_ntop(AF_INET6, in rip_input()
372 inet_ntop(AF_INET6, in rip_input()
417 inet_ntop(AF_INET6, in rip_input()
H A Dtables.c90 (void) inet_ntop(AF_INET6, (void *) &new->rt_dst, buf1, sizeof (buf1)); in log_change()
91 (void) inet_ntop(AF_INET6, (void *) &orig->rt_router, buf2, in log_change()
93 (void) inet_ntop(AF_INET6, (void *) &new->rt_router, buf3, in log_change()
111 (void) inet_ntop(AF_INET6, (void *)&rt->rt_dst, buf1, sizeof (buf1)); in log_single()
112 (void) inet_ntop(AF_INET6, (void *)&rt->rt_router, buf2, sizeof (buf2)); in log_single()
553 inet_ntop(AF_INET6, (void *)&rt->rt_dst, buf1, sizeof (buf1)), in rtdumpentry()
556 inet_ntop(AF_INET6, (void *)&rt->rt_router, buf1, sizeof (buf1)), in rtdumpentry()
/titanic_41/usr/src/lib/libsocket/inet/
H A Dgetnameinfo.c139 if (inet_ntop(sa->sa_family, addr, in getnameinfo()
369 result = inet_ntop(AF_INET, &src4, dst, size); in _inet_ntop_native()
371 result = inet_ntop(AF_INET6, src, dst, size); in _inet_ntop_native()
374 result = inet_ntop(af, src, dst, size); in _inet_ntop_native()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Daddr_comp.c63 inet_ntop(addr_fam, addr1->contents, buf, sizeof(buf)); in krb5_address_compare()
78 inet_ntop(addr_fam, addr2->contents, buf, sizeof(buf)); in krb5_address_compare()
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dsock2p.c39 inet_ntop (int family, const void *address, char *buf, size_t bufsiz) in inet_ntop() function
101 if (inet_ntop (s->sa_family, addr, buf, bufsiz) == 0 && bufsiz >= 2) in sockaddr2p()
/titanic_41/usr/src/common/smbsrv/
H A Dsmb_inet.c45 extern char *inet_ntop(int, const void *, char *, int);
110 return ((char *)inet_ntop(addr->a_family, addr, buf, sz)); in smb_inet_ntop()
/titanic_41/usr/src/cmd/smbsrv/fksmbd/
H A Dfksmbd_ksock.c51 p = inet_ntop(AF_INET, &sin->sin_addr, in ksocket_bind_helper()
57 p = inet_ntop(AF_INET6, &sin6->sin6_addr, in ksocket_bind_helper()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c414 inet_ntop(AF_INET6, in check_reply6()
424 inet_ntop(AF_INET6, in check_reply6()
517 inet_ntop(AF_INET6, (const void *)&(from_in6->sin6_addr), in check_reply6()
520 inet_ntop(AF_INET6, (const void *)dst, in check_reply6()
662 (void) inet_ntop(AF_INET6, &(from_in6->sin6_addr), temp_buf, in print_addr6()
677 Printf(" %d bytes to %s", cc, inet_ntop(AF_INET6, in print_addr6()
/titanic_41/usr/src/lib/nsswitch/nis/common/
H A Dgethostent6.c98 if (inet_ntop(AF_INET, (void *) &addr.s6_addr[12],
103 if (inet_ntop(AF_INET6, (void *)&addr, (void *)buf,
/titanic_41/usr/src/lib/libsmbfs/smb/
H A Dgetaddr.c95 ip = inet_ntop(AF_INET, &sin->sin_addr, in dump_sockaddr()
100 ip = inet_ntop(AF_INET6, &sin6->sin6_addr, in dump_sockaddr()
/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_srcid.c126 inet_ntop(AF_INET6, addr, abuf, sizeof (abuf)), zoneid)); in ip_srcid_insert()
167 inet_ntop(AF_INET6, addr, abuf, sizeof (abuf)), zoneid)); in ip_srcid_remove()
215 inet_ntop(AF_INET6, addr, abuf, sizeof (abuf)), zoneid)); in ip_srcid_find_addr()
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dcanohost.c382 result = inet_ntop(AF_INET, &src4, dst, size); in inet_ntop_native()
384 result = inet_ntop(AF_INET6, src, dst, size); in inet_ntop_native()
387 result = inet_ntop(af, src, dst, size); in inet_ntop_native()
/titanic_41/usr/src/lib/libresolv2/common/isc/
H A Dctl_p.c114 if (inet_ntop(in6->sin6_family, &in6->sin6_addr, tmp, sizeof tmp) in ctl_sa_ntop()
132 if (inet_ntop(in->sin_family, &in->sin_addr, tmp, sizeof tmp) in ctl_sa_ntop()

123456789