Searched refs:inet_ntop (Results 1 - 25 of 59) sorted by relevance

123

/osnet-11/usr/src/lib/libdhcpsvc/modules/binfiles/tools/
H A Dprintnet.c81 (void) inet_ntop(AF_INET, &in_addr, network, INET_ADDRSTRLEN);
83 (void) inet_ntop(AF_INET, &in_addr, netmask, INET_ADDRSTRLEN);
/osnet-11/usr/src/lib/nsswitch/mdns/common/
H A Dgethostent6.c86 if (inet_ntop(AF_INET, (void *) &ipv4addr.s_addr,
96 if (inet_ntop(AF_INET6, (void *)addr,
H A Dgethostent.c78 if (inet_ntop(AF_INET, (void *) &addr.s_addr,
/osnet-11/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,
/osnet-11/usr/src/lib/libsocket/inet/
H A Dgetnameinfo.c140 if (inet_ntop(sa->sa_family, addr,
357 * This is a wrapper function for inet_ntop(). In case the af is AF_INET6
360 * it behaves just like inet_ntop().
371 result = inet_ntop(AF_INET, &src4, dst, size);
373 result = inet_ntop(AF_INET6, src, dst, size);
376 result = inet_ntop(af, src, dst, size);
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dctl_p.c114 if (inet_ntop(in6->sin6_family, &in6->sin6_addr, tmp, sizeof tmp)
116 (*logger)(ctl_error, "%s: inet_ntop(%u %04x): %s",
132 if (inet_ntop(in->sin_family, &in->sin_addr, tmp, sizeof tmp)
134 (*logger)(ctl_error, "%s: inet_ntop(%u %04x %08x): %s",
/osnet-11/usr/src/lib/libdhcpsvc/tests/
H A Dtest_private.c360 inet_ntop(AF_INET, &recs[i].dn_cip, cip,
362 inet_ntop(AF_INET, &recs[i].dn_sip, sip,
387 (void) inet_ntop(AF_INET, &dnp->dn_cip,
389 (void) inet_ntop(AF_INET, &dnp->dn_sip,
472 (void) inet_ntop(AF_INET, &dnp->dn_cip,
474 (void) inet_ntop(AF_INET, &dnp->dn_sip,
498 (void) inet_ntop(AF_INET, &dnp->dn_cip,
500 (void) inet_ntop(AF_INET, &dnp->dn_sip,
/osnet-11/usr/src/lib/libwrap/
H A Dsocket.c141 (void) inet_ntop(SGFAM(sin), SGADDRP(sin), host->addr, sizeof(host->addr));
232 inet_ntop(SGFAM(sin), SGADDRP(sin), buf, sizeof(buf)),
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dgetnameinfo.c225 if (inet_ntop(afd->a_af, addr, numaddr,
249 if (inet_ntop(AF_INET6, addr, numaddr, sizeof(numaddr))
/osnet-11/usr/src/lib/libdscp/
H A Dlibdscp.c470 if (inet_ntop(AF_INET6, &addr6->sin6_addr, ipv6str,
515 if (inet_ntop(AF_INET, &ipv4addr, ipv4str, sizeof (ipv4str)) == NULL) {
/osnet-11/usr/src/lib/libtsnet/common/
H A Dtsol_getrhent.c247 (void) inet_ntop(AF_INET, &rhent.rh_address.ta_addr_v4, abuf,
252 (void) inet_ntop(AF_INET6, &in6, abuf, sizeof (abuf));
/osnet-11/usr/src/lib/libvrrpadm/common/
H A Dlibvrrpadm.h204 (void) inet_ntop((af), &(addr)->in4.sin_addr, ap, \
207 (void) inet_ntop((af), &(addr)->in6.sin6_addr, ap, \
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dgethostent6.c204 if (inet_ntop(AF_INET, (void *) &addr.s6_addr[12],
209 if (inet_ntop(AF_INET6, (void *)&addr, (void *)addrbuf,
/osnet-11/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c233 res = inet_ntop(af, addr, obuf, sizeof (obuf));
590 np = inet_ntop(AF_INET6, (void *)&v6addr, nbuf,
593 np = inet_ntop(af, (void *)cp, nbuf,
/osnet-11/usr/src/lib/libnsl/nss/
H A Dinet_ntop.c42 * inet_ntop(af, src, dst, size)
48 inet_ntop(int af, const void *src, char *dst, socklen_t size) function
/osnet-11/usr/src/lib/libdhcpsvc/modules/files/
H A Ddhcp_network.c103 (void) inet_ntop(AF_INET, &net_nbo, connet, INET_ADDRSTRLEN);
207 (void) inet_ntop(AF_INET, &cip_nbo, cip + 1, INET_ADDRSTRLEN);
743 (void) inet_ntop(AF_INET, &nip, dnf.dnf_cip, sizeof (dnf.dnf_cip));
745 (void) inet_ntop(AF_INET, &nip, dnf.dnf_sip, sizeof (dnf.dnf_cip));
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dport-sockets.h165 #define inet_ntop(AF,SRC,DST,CNT) \ macro
/osnet-11/usr/src/cmd/sendmail/aux/
H A Dmconnect.c165 host, inet_ntop(AF_INET6,
/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri_iscsi.c155 * In an unlikely case we fail in inet_ntop() and still need a
174 (void) inet_ntop(AF_INET, &in->sin_addr, str_ip,
183 (void) inet_ntop(AF_INET6, &in6->sin6_addr, str_ip,
377 * inet_ntop(3SOCKET) can only fail on an incorrect address family or a
381 p = inet_ntop(inet_family, hid.id.ipAddress.ipAddress, saddr, size);
599 * inet_ntop can only fail on incorrect address family or a buffer of an
602 p = inet_ntop(addr_family, hid.id.ipAddress.ipAddress,
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_connect.c175 inet_ntop(AF_INET6, &sin6.sin6_addr,
236 inet_ntop(AF_INET, &sin.sin_addr,
H A Dsmbfs_util.c501 ip = inet_ntop(AF_INET, &sin->sin_addr,
506 ip = inet_ntop(AF_INET6, &sin6->sin6_addr,
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_netlogon.c156 (void) inet_ntop(AF_INET, (const void *)(&src_ipaddr), ipstr,
482 (void) inet_ntop(AF_INET, &src_ipaddr, srcip, INET_ADDRSTRLEN);
/osnet-11/usr/src/lib/libexacct/demo/
H A Dexdump.c362 inet_ntop(AF_INET, &addr, str,
410 (void) printf("%-28s", inet_ntop(AF_INET6,
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/dtrace/
H A Dkerberos_dtrace.c579 (void) inet_ntop(AF_INET,
587 (void) inet_ntop(AF_INET6,
1128 inet_ntop(s.ss_family,
1138 inet_ntop(s.ss_family,
1153 inet_ntop(s.ss_family,
1160 inet_ntop(s.ss_family,
/osnet-11/usr/src/lib/libresolv2/common/nameser/
H A Dns_print.c157 (void) inet_ntop(AF_INET, rdata, buf, buflen);
327 (void) inet_ntop(AF_INET6, rdata, buf, buflen);
418 (void) inet_ntop(AF_INET, rdata, buf, buflen);
680 (void) inet_ntop(AF_INET6, &a, buf, buflen);
950 (void) inet_ntop(AF_INET, rdata, buf, buflen);
955 (void) inet_ntop(AF_INET6, rdata, buf, buflen);

Completed in 124 milliseconds

123