/osnet-11/usr/src/lib/ncad_addr/common/ |
H A D | ncad_addr.c | 142 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 D | sm_gethost.c | 126 ** Wrapper for inet_pton() which handles IPv6: labels. 148 return inet_pton(family, src, dst);
|
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | inet_pton.c | 42 * inet_pton(af, src, dst) 53 inet_pton(int af, const char *src, void *dst) function
|
H A D | gethostent.c | 211 * inet_pton() doesn't handle d.d.d, d.d, or d formats, 227 if (inet_pton(af, addrbuf, &addrp6[i]) != 1)
|
H A D | netdir_inet_sundry.c | 273 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 D | libdscp.c | 487 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 D | tsol_sgetrhent.c | 111 if (inet_pton(AF_INET, addrbuf, 130 if (inet_pton(AF_INET6, addrbuf,
|
/osnet-11/usr/src/lib/libwrap/ |
H A D | hosts_access.c | 299 * 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 D | misc.c | 113 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 D | smb_cfg.c | 554 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 D | smb_info.c | 795 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 D | flowattr.c | 103 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 D | libdladm.c | 998 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 D | ipadm_persist.c | 379 (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 D | gethostent.c | 295 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 D | irp.c | 191 if (inet_pton(AF_INET, irphost, &ipaddr) != 1) { 193 perror("inet_pton");
|
H A D | lcl_ho.c | 383 if (inet_pton(AF_INET6, p, pvt->host_addr) > 0) {
|
/osnet-11/usr/src/lib/libscf/common/ |
H A D | scf_type.c | 293 return (inet_pton(af, addr, unused));
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/ssldap/ |
H A D | ldapsinit.c | 325 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 D | libnwam_util.c | 712 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 D | ldap_util.c | 611 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 D | Makefile.com | 43 getipnodeby.o getrpcent.o getrpcent_r.o inet_pton.o \
|
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | slp_net_utils.c | 428 return (inet_pton(AF_INET, addrstr, addr));
|
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_netlogon.c | 486 rc = inet_pton(AF_INET, ipstr, &prefer_ipaddr);
|
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_standalone.c | 471 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) {
|