Searched refs:inet_pton (Results 1 - 25 of 45) sorted by relevance

12

/osnet-11/usr/src/lib/ncad_addr/common/
H A Dncad_addr.c142 if (inet_pton(AF_INET, p, &addr) != 1) {
145 if (inet_pton(AF_INET6, p, &addr6) == 1) {
/osnet-11/usr/src/cmd/sendmail/libmilter/
H A Dsm_gethost.c126 ** Wrapper for inet_pton() which handles IPv6: labels.
148 return inet_pton(family, src, dst);
/osnet-11/usr/src/lib/libnsl/nss/
H A Dinet_pton.c42 * inet_pton(af, src, dst)
53 inet_pton(int af, const char *src, void *dst) function
H A Dgethostent.c211 * inet_pton() doesn't handle d.d.d, d.d, or d formats,
227 if (inet_pton(af, addrbuf, &addrp6[i]) != 1)
H A Dnetdir_inet_sundry.c273 if (inet_pton(AF_INET6, tmpaddr, sa->sin6_addr.s6_addr) == 0) {
849 if (inet_pton(af, truaddr, sa.sin6_addr.s6_addr)
/osnet-11/usr/src/lib/libdscp/
H A Dlibdscp.c487 if (inet_pton(AF_INET, ipv4str, &addr) <= 0) {
533 if (inet_pton(AF_INET6, ipv6str, &addr6->sin6_addr) <= 0) {
/osnet-11/usr/src/lib/libtsnet/common/
H A Dtsol_sgetrhent.c111 if (inet_pton(AF_INET, addrbuf,
130 if (inet_pton(AF_INET6, addrbuf,
/osnet-11/usr/src/lib/libwrap/
H A Dhosts_access.c299 * We use inet_pton to convert it to its binary representation
304 inet_pton(AF_INET6, host->addr, &hostin6) != 1) {
335 if (cbr == NULL || inet_pton(AF_INET6, tok+1, &in6) != 1) {
H A Dmisc.c113 if (inet_pton(AF_INET6, str, (void*) addr) == 1)
190 * Quick and dirty parse, cheaper than inet_pton
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_cfg.c554 if (inet_pton(AF_INET, ipstr, &ipaddr->a_ipv4) == 1) {
559 if (inet_pton(AF_INET6, ipstr, &ipaddr->a_ipv6) == 1) {
1273 if (inet_pton(AF_INET, value, (void *)sbytes) == 1)
1276 if (inet_pton(AF_INET6, value, (void *)sbytes) == 1)
1380 if (inet_pton(AF_INET, ifname, (void *)buf) == 0) {
H A Dsmb_info.c795 if (inet_pton(AF_INET, addr, inetaddr) > 0)
798 else if (inet_pton(AF_INET6, addr, inetaddr) > 0)
/osnet-11/usr/src/lib/libdladm/common/
H A Dflowattr.c103 if (inet_pton(AF_INET, addr_str, &v4addr.s_addr) == 1) {
105 } else if (inet_pton(AF_INET6, addr_str, v6addr.s6_addr) == 1) {
H A Dlibdladm.c998 return (inet_pton(AF_INET, token, addr) == 1 ?
1014 return (inet_pton(AF_INET6, token, addr) == 1 ?
/osnet-11/usr/src/lib/libipadm/common/
H A Dipadm_persist.c379 (void) inet_pton(AF_INET6, value, &ipaddr.ipadm_intfid.sin6_addr);
415 (void) inet_pton(AF_INET6, value, &ipaddr.ipadm_dintfid.sin6_addr);
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c295 if ((v4 = inet_pton(AF_INET, name, &in4)) != 1)
296 v6 = inet_pton(AF_INET6, name, &in6);
1014 * Unlike its forebear(inet_aton), our friendly inet_pton() is strict
1021 if (inet_pton(af, name, pvt->addr) != 1) {
1029 inet_pton(af, name, pvt->addr) != 1) {
H A Dirp.c191 if (inet_pton(AF_INET, irphost, &ipaddr) != 1) {
193 perror("inet_pton");
H A Dlcl_ho.c383 if (inet_pton(AF_INET6, p, pvt->host_addr) > 0) {
/osnet-11/usr/src/lib/libscf/common/
H A Dscf_type.c293 return (inet_pton(af, addr, unused));
/osnet-11/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dldapsinit.c325 inet_pton(AF_INET6, host, &addr_ipv6) == 1) {
328 inet_pton(AF_INET, host, &addr_ipv4) == 1) {
1173 int inet_error; /* error returned by inet_pton */
1184 if (inet_pton(type, addr, &a.s_addr) == 1) {
1190 if (inet_pton(type, addr, &a6.s6_addr) == 1) {
/osnet-11/usr/src/lib/libnwam/common/
H A Dlibnwam_util.c712 if (inet_pton(AF_INET, addr, &(sa.sin_addr)) != 1) {
731 if (inet_pton(AF_INET, addrvalue, &(sa.sin_addr)) != 1)
757 if (inet_pton(AF_INET6, addr, &(sa.sin6_addr)) != 1) {
776 if (inet_pton(AF_INET6, addrvalue, &(sa.sin6_addr)) != 1)
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_util.c611 if (inet_pton(AF_INET6, buffer, &addr_ipv6) == 1) {
631 if (inet_pton(AF_INET, buffer, &addr_ipv4) == 1) {
/osnet-11/usr/src/lib/libnsl/
H A DMakefile.com43 getipnodeby.o getrpcent.o getrpcent_r.o inet_pton.o \
/osnet-11/usr/src/lib/libslp/clib/
H A Dslp_net_utils.c428 return (inet_pton(AF_INET, addrstr, addr));
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_netlogon.c486 rc = inet_pton(AF_INET, ipstr, &prefer_ipaddr);
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_standalone.c471 if (inet_pton(AF_INET, name, &addr) > 0) {
503 if (inet_pton(AF_INET6, name, &addr6) > 0) {
605 if (inet_pton(AF_INET, start, &in) == 1) {
637 } else if (inet_pton(AF_INET6, start, &in6) == 1) {

Completed in 91 milliseconds

12