inet_pton
int inet_pton(int, const char * __restrict, void * __restrict);
int inet_pton(int af, const char *, void *); /* in libkern */
if (inet_pton(AF_INET, host_str, &ibuf)) {
} else if (inet_pton(AF_INET6, host_str, ibuf6)) {
if (inet_pton(AF_INET, s, addr)) {
if (inet_pton(AF_INET6, s, addr))
(void) inet_pton(AF_INET6, strval,
err = inet_pton(AF_INET, straddr, &sin->sin_addr);
err = inet_pton(AF_INET6, straddr, &sin6->sin6_addr);
(void) inet_pton(AF_INET6, addrvalue[0],
(void) inet_pton(AF_INET, addrvalue[0],
if ((inet_pton(AF_INET6, hp->h_name, &ipv6addr) > 0) &&
(inet_pton(AF_INET6, ai->ai_canonname, &ipv6addr) > 0) &&
if ((inet_pton(AF_INET6, host, &ipv6addr) > 0) &&
} else if (inet_pton(AF_INET6,
if (inet_pton(AF_INET6, arg, &addr) != 1 || !VALIDID(addr)) {
if (inet_pton(AF_INET6, comma, &addr) != 1 || !VALIDID(addr)) {
} else if ((inet_pton(AF_INET6, hostp, &addr6) > 0) &&
if ((inet_pton(AF_INET6, host->h_name, &ipv6addr) > 0) &&
if ((inet_pton(AF_INET6, hp->h_name, &ipv6addr) > 0) &&
if ((inet_pton(AF_INET6, hp->h_name, &ipv6addr) > 0) &&
if (inet_pton(AF_INET6, argv[1], ¶m->vip) == 0)
if (inet_pton(AF_INET, argv[1], &v4addr) == 0)
if (inet_pton(AF_INET6, argv[2], ¶m->srv_addr) == 0)
if (inet_pton(AF_INET, argv[2], &v4addr) == 0)
(void) inet_pton(ipversion, ipstr, addrptr);
if (inet_pton(ip_ver, ipaddr, addrptr) == 0) {
if (inet_pton(AF_INET6, str, in6) != 1)
(void) inet_pton(AF_INET, "224.0.0.18", &vrrp_muladdr4.in4.sin_addr);
(void) inet_pton(AF_INET6, "ff02::12", &vrrp_muladdr6.in6.sin6_addr);
} else if (inet_pton(AF_INET, relay_arg, &new_addr) <= 0) {
(*val != '[') && ((inet_pton(AF_INET6, val, &v6nameaddr)) != 0)) {
if (inet_pton(AF_INET6, prefixstr, &prefix) != 1) {
if (inet_pton(AF_INET, addr_str, &addr) == 1 ||
inet_pton(AF_INET6, addr_str, &addr) == 1) {
if (inet_pton(AF_INET6, argv[0], addr1) == 1) {
} else if (inet_pton(AF_INET, argv[0], addr1) == 1) {
if (inet_pton(AF_INET6, addr, &addr1) == 1) {
} else if (inet_pton(AF_INET, addr, &addr1) == 1) {
if (((inet_pton(AF_INET6, host, &addr6) > 0) &&
if (inet_pton(AF_INET6, optarg, &out_if.id.addr) > 0) {
} else if (inet_pton(AF_INET, optarg,
if (inet_pton(AF_INET6, addr, (void *)&addrv6) == 1) {
inet_pton(AF_INET6, hostname, &addr6) > 0) {
if ((inet_pton(AF_INET6, host, &addr6) > 0) &&
if (inet_pton(AF_INET6, s, &ipv6addr) > 0) {
if (inet_pton(AF_INET6, host, &ipv6addr) > 0) {
if (inet_pton(af1, rawaddr1, dst1) == 1 &&
inet_pton(af2, rawaddr1, dst2) == 1 &&
if (inet_pton(af, *list, addr) == 1)
if (inet_pton(AF_INET6, msk, mskp) != 1)
} else if (use_inet6 && inet_pton(AF_INET6, s, &ip->in6)) {
if (inet_pton(AF_INET6, ipv6buf, &yylval.ip6) == 1) {
rtn = inet_pton(AF_INET, address,
rtn = inet_pton(AF_INET6, address,
if (inet_pton(addrType, sAddr, staticConfig.targetAddress.
rval = inet_pton(addressType, tmpStrPtr,
if (inet_pton(af, config->hostnameIpAddress, &radius_in.u_in4) != 1) {
(void) inet_pton(AF_INET6,
if (inet_pton(AF_INET6, addr, &addr_ipv6) == 1) {
if (inet_pton(AF_INET, addr, &addr_ipv4) == 1) {
(void) inet_pton(AF_INET6, RPCB_MULTICAST_ADDR,
return inet_pton(family, src, dst);
return inet_pton(family, src, dst);
&& inet_pton(AF_INET6, hp->h_name, &in6_addr) != 1
rc = inet_pton(AF_INET, argv[2], &sin->sin_addr);
rc = inet_pton(AF_INET6, argv[2], &sin6->sin6_addr);
err += inet_pton(AF_INET6, pat+1, &in6) != 1;
if (inet_pton(type, hostname, addr) == 1) {
if (inet_pton(AF_INET, ipaddr, &sa->sin_addr) != 1) {
if (inet_pton(AF_INET6, ipaddr, &sa6->sin6_addr) != 1) {
if (inet_pton(af, p, addr) != 1)
if (inet_pton(AF_INET6, adr, &in6) == 1) {
if (inet_pton(*af, string, (*af == AF_INET6) ? (void *)&addr->in6 :
if (inet_pton(AF_INET6, part1, &in6) == 1) {
if (inet_pton(AF_INET, part1, &in4) == 1)
if (inet_pton(af, addr_str,
if (inet_pton(af, addr_str,
extern int inet_pton(int, char *, void *);
extern int inet_pton(int, const char *_RESTRICT_KYWD, void *_RESTRICT_KYWD);
if (inet_pton(ie->ds_type == DSYM_IP ? AF_INET :
if (inet_pton(AF_INET, addr_str, &v4addr.s_addr) == 1) {
} else if (inet_pton(AF_INET6, addr_str, v6addr.s6_addr) == 1) {
return (inet_pton(AF_INET6, token, addr) == 1 ?
return (inet_pton(AF_INET, token, addr) == 1 ?
ret = inet_pton(AF_INET6, ip, &vcp.vcp_ip);
ret = inet_pton(AF_INET, ip, &v4);
if (inet_pton(AF_INET6, val, &ipv6) != 1) {
if (inet_pton(AF_INET, val, &ip) != 1)
if (inet_pton(AF_INET, ipv4str, &addr) <= 0) {
if (inet_pton(AF_INET6, ipv6str, &addr6->sin6_addr) <= 0) {
if (strchr(s, ':') == NULL && inet_pton(AF_INET, s, inetaddr) != -1) {
} else if (inet_pton(AF_INET6, s, inetaddr) != -1) {
if (inet_pton(AF_INET6, addrstr, &sin6->sin6_addr) == 1) {
(void) inet_pton(AF_INET6, value, &ipaddr.ipadm_intfid.sin6_addr);
rc = inet_pton(AF_INET, (const char *)ilp->il_host,
if (inet_pton(AF_INET6, name, ptr) != 1)
if (inet_pton(type, addr, &a.s_addr) == 1) {
if (inet_pton(type, addr, &a6.s6_addr) == 1) {
inet_pton(AF_INET6, host, &addr_ipv6) == 1) {
inet_pton(AF_INET, host, &addr_ipv4) == 1) {
if (inet_pton(AF_INET6, buffer, &addr_ipv6) == 1) {
if (inet_pton(AF_INET, buffer, &addr_ipv4) == 1) {
if (inet_pton(af, addrbuf, &addrp6[i]) != 1)
if (inet_pton(AF_INET6, p, &hcaddr6) != 1) {
(inet_pton(AF_INET6, args->arg.nss.host6.name,
if ((inet_pton(AF_INET6,
if (inet_pton(AF_INET6, tmpaddr, sa->sin6_addr.s6_addr) == 0) {
if (inet_pton(af, truaddr, sa.sin6_addr.s6_addr)
(void) inet_pton(AF_INET6, RPCB_MULTICAST_ADDR,
if (inet_pton(AF_INET, addr, &(sa.sin_addr)) != 1) {
if (inet_pton(AF_INET, addrvalue, &(sa.sin_addr)) != 1)
if (inet_pton(AF_INET6, addr, &(sa.sin6_addr)) != 1) {
if (inet_pton(AF_INET6, addrvalue, &(sa.sin6_addr)) != 1)
if (inet_pton(afd->a_af, hostname, pton) == 1) {
if (inet_pton(af, name, pvt->addr) != 1) {
inet_pton(af, name, pvt->addr) != 1) {
if ((v4 = inet_pton(AF_INET, name, &in4)) != 1)
v6 = inet_pton(AF_INET6, name, &in6);
if (inet_pton(AF_INET, irphost, &ipaddr) != 1) {
if (inet_pton(hoaddrtype, p, alist[t]) == -1)
if (inet_pton(AF_INET6, p, pvt->host_addr) > 0) {
if (inet_pton(AF_INET6, buf2, &in6a) <= 0)
return (inet_pton(af, addr, unused));
if (inet_pton(AF_INET, value, (void *)sbytes) != 1)
if (inet_pton(AF_INET, value, (void *)sbytes) == 1)
if (inet_pton(AF_INET6, value, (void *)sbytes) == 1)
if (inet_pton(AF_INET, ifname, (void *)buf) == 0) {
if (inet_pton(AF_INET, name, &addr) > 0) {
if (inet_pton(AF_INET6, name, &addr6) > 0) {
if (inet_pton(AF_INET, start, &in) == 1) {
} else if (inet_pton(AF_INET6, start, &in6) == 1) {
return (inet_pton(AF_INET, addrstr, addr));
inet_pton(AF_INET6, _hostname, &v6addr) > 0)) {
if (inet_pton(AF_INET6, target_addr_str,
if (inet_pton(AF_INET, target_addr_str,
if (inet_pton(AF_INET, addrbuf,
if (inet_pton(AF_INET6, addrbuf,
if ((inet_pton(AF_INET, host, &naddr)) == 0)
if (inet_pton(AF_INET6, host->addr, &hostin6) != 1) {
if (cbr == NULL || inet_pton(AF_INET6, tok+1, &in6) != 1) {
if (inet_pton(AF_INET6, str, (void*) addr) == 1)
if (inet_pton(AF_INET, address, &sin4->sin_addr) == 1) {
} else if (inet_pton(AF_INET6, address, &sin6->sin6_addr) == 1) {
if (inet_pton(af, addrbuf, addrpv6) != 1)
if (inet_pton(AF_INET, ipstr, &ipaddr->a_ipv4) == 1) {
if (inet_pton(AF_INET6, ipstr, &ipaddr->a_ipv6) == 1) {
if (inet_pton(AF_INET, ip_addr, &tmp_addr) == 1) {
if (inet_pton(AF_INET, dns_str, &dns_ip) == 1)
else if (inet_pton(AF_INET6, dns_str, &dns_ip) == 1)
if (inet_pton(AF_INET, ip_addr, &ipaddr) == 1) {
} else if (inet_pton(AF_INET6, ip_addr, &ipaddr) == 1) {
if (inet_pton(AF_INET, dns_str, &dns_ip) == 1)
else if (inet_pton(AF_INET6, dns_str, &dns_ip) == 1)
if (inet_pton(AF_INET, data, &ipaddr) == 1)
else if (inet_pton(AF_INET6, data, &ipaddr) == 1)
rc = inet_pton(AF_INET, ipstr, &prefer_ipaddr);
ret = inet_pton(AF_INET6, ipstr, &vdp->vad_ip);
if (inet_pton(AF_INET6, ipstr, &otp->otp_ip) != 1) {
if (inet_pton(AF_INET, ipstr, &v4) != 1) {
if (inet_pton(AF_INET, ipstr, &ia) != 1)
if (inet_pton(AF_INET6, ipstr, &ia6) != 1)
if (inet_pton(AF_INET, "127.0.0.1", &in->sin_addr) != 1) {
if (inet_pton(AF_INET6, "::1", &in6->sin6_addr) != 1) {
if (inet_pton(AF_INET6, prefix, &pip->nd_opt_pi_prefix) == 0) {
(void) inet_pton(AF_INET6, "ff02::1", &multicast.sin6_addr);
if (inet_pton(AF_INET, "127.0.0.1", &in->sin_addr) != 1) {
if (inet_pton(AF_INET6, "::1", &in6->sin6_addr) != 1) {
if (inet_pton(af, ua, ap) == 1) {
extern int inet_pton(int, char *, void *);
if (inet_pton(af, (char *)name, cnf) == 1) {