inet_pton
ret = inet_pton (data_dest->sa_family, str,
ret = inet_pton(AF_INET6, address, &in6.s6_addr);
if (inet_pton (PF_INET6, nodename, &v6_addr) == 1) {
if (inet_pton (PF_INET, nodename, &v4_addr) == 1) {
if (inet_pton(AF_INET, text, &sin)) {
} else if (inet_pton(AF_INET6, text, &sin6)) {
if (inet_pton(AF_INET, expected_name, &in) != 0 ||
inet_pton(AF_INET6, expected_name, &in6) != 0) {
inet_pton(AF_INET, rem_server_ip, &addr.sin_addr.s_addr);
int inet_pton(int, const char * __restrict, void * __restrict);
ret = inet_pton(AF_INET6, buf, &in6);
__weak_reference(__inet_pton, inet_pton);
if (inet_pton(afd->a_af, hostname, pton) != 1) {
if (inet_pton(AF_INET6, p, hed->host_addr) > 0) {
} else if (inet_pton(AF_INET, p, hed->host_addr) > 0) {
addrok = inet_pton(af, result, hed->host_addr);
inet_pton(af, name, hed->host_addr) != 1) {
if (inet_pton(AF_INET6, name, &addrbuf) == 1) {
else if (inet_pton(AF_INET6, net, &a6) == 1) {
if (inet_pton(AF_INET6, net, u) == 1) {
if (inet_pton(AF_INET6, buf2, &in6a) <= 0)
inet_pton(af, RPCB_MULTICAST_ADDR, &sin6->sin6_addr);
if (inet_pton(AF_INET, addrstr, &sin->sin_addr) <= 0) {
if (inet_pton(AF_INET6, addrstr, &sin6->sin6_addr) <= 0) {
inet_pton(AF_INET, GOOGLE_DNS_IPV4, &ip4);
inet_pton(AF_INET6, GOOGLE_DNS_IPV6, &ip6);
inet_pton(AF_INET6, ip, &ipaddr.sin6_addr);
inet_pton(AF_INET, TEST_BIND_IPV4, &ipv4.sin_addr);
inet_pton(AF_INET, TEST_IPV4, &ipv4.sin_addr);
inet_pton(AF_INET, ip, &ipaddr);
inet_pton(AF_INET, TEST_IPV4, &ipaddr);
inet_pton(AF_INET6, ip, &ipaddr);
inet_pton(AF_INET, ip, &ipv4.sin_addr);
inet_pton(AF_INET, ip, &ipv4.sin_addr);
inet_pton(AF_INET, ip, &ipv4.sin_addr);
ret = inet_pton(AF_INET, TEST_IPV4, &sin.sin_addr);
inet_pton(AF_INET, TEST_IPV4, &ipaddrv4.sin_addr);
inet_pton(AF_INET6, TEST_IPV6, &ipaddrv6.sin6_addr);
inet_pton(family, ip, &ipaddr.sin_addr);
inet_pton(AF_INET, TEST_IPV4, &ipaddrv4);
inet_pton(AF_INET6, TEST_IPV6, &ipaddrv6);
if (inet_pton(AF_INET, value, addr) != 1) {
if (inet_pton(AF_INET6, value, addr6) != 1) {
int inet_pton(int af, const char* src, void* dst);
int inet_pton(int af, const char* src, void* dst);
if (inet_pton(AF_INET6, addr_str, &px->addr) != 1)
if (inet_pton(AF_INET6, s, &sin->sin6_addr) != 1)
if (inet_pton(AF_INET6, msk, &mskp->in4) != 1)
if (inet_pton(AF_INET6, ipv6buf, &yylval.ip6) == 1) {
} else if (use_inet6 && !use_inet4 && inet_pton(AF_INET6, s, &ip->in6)) {
switch (inet_pton(AF_INET6, addr, &sin6->sin6_addr))
inet_pton(AF_INET6, arg,
inet_pton(AF_INET6, arg,
if (inet_pton(AF_INET6, *cpp, &ip6->ip6_src) != 1) {
if (inet_pton(AF_INET6, *cpp, &ip6->ip6_dst) != 1) {
if (inet_pton(AF_INET6, s, &a61.in6) != 1)
if (inet_pton(AF_INET6, s, &a62) != 1)
result = inet_pton(AF_INET, s, &ctx->sin.sin_addr);
result = inet_pton(AF_INET6, s, &ctx->sin6.sin6_addr);
result = inet_pton(AF_INET, s, &ctx->sin.sin_addr);
result = inet_pton(AF_INET6, s, &ctx->sin6.sin6_addr);
if (inet_pton(AF_INET6, p, &cmd->ip6) != 1)
inet_pton(AF_INET6, host, &a) == 1)
inet_pton(AF_INET6, host, &a) != 1))
inet_pton(AF_INET6, host, &a) == 1)
inet_pton(AF_INET6, host, &a) != 1))
if (inet_pton(AF_INET6, src, &cmd->ip6) != 1)
if (!inet_pton(AF_INET6, host, ip6addr)) {
if (!inet_pton(AF_INET6, p, &d[1]))
inet_pton(AF_INET6, "64:ff9b::", &cfg->plat_prefix);
if (inet_pton(AF_INET6, *av, &prefix) != 1)
if (inet_pton(AF_INET6, *av, &prefix) != 1)
if (inet_pton(af, p, prefix) != 1)
inet_pton(AF_INET6, "64:ff9b::", &cfg->prefix6);
inet_pton(AF_INET6, "64:ff9b::", &cfg->prefix6);
if (inet_pton(AF_INET6, *av, &cfg->prefix6) != 1)
if (inet_pton(AF_INET6, p, prefix) != 1)
if (inet_pton(AF_INET, arg, paddr) == 1) {
} else if (inet_pton(AF_INET6, arg, paddr) == 1) {
if (inet_pton(AF_INET, arg, &tmp) == 1) {
} else if (inet_pton(AF_INET6, arg, &tmp) == 1) {
if (inet_pton(AF_INET, arg, &tmp) == 1) {
} else if (inet_pton(AF_INET6, arg, &tmp) == 1) {
if ((inet_pton(AF_INET, key, &addr) == 1) ||
(inet_pton(AF_INET6, key, &addr) == 1)) {
if (inet_pton(AF_INET, arg, &val) == 1) {
inet_pton(AF_INET, n, &a4) == 1) {
if (inet_pton(AF_INET, optarg, &a) == 1)
if (inet_pton(AF_INET6, optarg, &a6) == 1)
valid = inet_pton(AF_INET6, "ff02::2:0000:0000", &in6);
valid = inet_pton(AF_INET6, "ff02::2:ff00:0000", &in6);
if (inet_pton(af, addr, &sin->sin_addr) == 1) {
if (inet_pton(af, addr, &sin6->sin6_addr)
rv = inet_pton(AF_INET, hostp, &sin->sin_addr);
if (inet_pton(af, addr, &rin6->sin6_addr) == 1)
if (inet_pton(af, buf, dst_addrp) != 1)
if (!inet_pton(AF_INET6, addr, &sin6->sin6_addr))
int inet_pton(int af, const char *, void *); /* in libkern */
inet_pton(afp->adf_family, str, &afp->adf_addr);
if (inet_pton(AF_INET, addrstr, &sin->sin_addr) <= 0) {
if (inet_pton(AF_INET6, addrstr, &sin6->sin6_addr) <= 0) {
if (inet_pton(rule->af, tok, rule->addr.addr32) != 1)
if (inet_pton(AF_INET6, addr_str, &addr6) != 1)
if (inet_pton(AF_INET, addr_str, &addr) != 1)
error = inet_pton(AF_INET6, addr, &sin6->sin6_addr);
error = inet_pton(AF_INET, addr, &sin->sin_addr);
inet_pton(AF_INET6, buf, &c->net6.sin6_addr);
inet_pton(AF_INET, buf, &c->net4.sin_addr);
inet_pton(AF_INET, "198.51.100.2", &gw4.sin_addr.s_addr);
inet_pton(AF_INET6, "2001:DB8:4242::4242", &gw6.sin6_addr);
if (inet_pton(AF_INET, argv[2], &maddr) != 1)
if (inet_pton(AF_INET, argv[4], &ifaddr) == 1)
if (inet_pton(AF_INET, argv[1], &src.sin_addr) != 1)
if (inet_pton(AF_INET, argv[3], &dst.sin_addr) != 1)
if (inet_pton(AF_INET, argv[5], &in) == 1)
ATF_REQUIRE(inet_pton(AF_INET6, "::ffff:127.0.0.1", &(sa6.sin6_addr))
ret = inet_pton(AF_INET6, addr, &dst6->sin6_addr);
ret = inet_pton(AF_INET, addr, &dst4->sin_addr);
inet_pton(AF_INET, "127.0.0.1", &src);
inet_pton(AF_INET, "127.0.0.2", &dst);
if (inet_pton(AF_INET, argv[1], &dest.sin_addr.s_addr) != 1) {
rc = inet_pton(PF_INET6, addr, &sin6.sin6_addr);
if (inet_pton(AF_INET, optarg, group) < 1)
if (inet_pton(AF_INET, DEFAULT_GROUP, group) < 1)
if (inet_pton(AF_INET, DEFAULT_GROUP, group) < 1)
if (inet_pton(AF_INET, DEFAULT_GROUP, group) < 1)
if (inet_pton(AF_INET, optarg, group) < 1)
inet_pton(AF_INET, name, &a);
inet_pton(AF_INET6, name, addr);
if (inet_pton(AF_INET6, argv[i], (void *)addr) > 0) {
} else if (inet_pton(AF_INET, argv[i],
if (inet_pton(AF_INET6, p, &lsin6->sin6_addr) == 1) {
} else if (inet_pton(AF_INET, p, &lsin->sin_addr) == 1) {
error = inet_pton(AF_INET, addr, &sinp->sin_addr);
if (inet_pton(AF_INET6, net.c_str(), &sin6->sin6_addr) <= 0)
if (inet_pton(AF_INET, net.c_str(), &sin->sin_addr) <= 0)
ret = inet_pton(af, args[1], addr);
if (inet_pton(AF_INET, retcp, &sin.sin_addr) != 0) {
} else if (inet_pton(AF_INET6, retcp, &sin6.sin6_addr) != 0) {
inet_pton(AF_INET6, cs, &addr6) == 1
if (argc == 2 && inet_pton(AF_INET6, argv[1], &maddr) != 1)
if (inet_pton(AF_INET6, "ff02::1", &maddr) != 1)
if (inet_pton(AF_INET, hosts[nhostsbak],
if (inet_pton(AF_INET6, hosts[nhostsbak],
if (inet_pton(AF_INET6, hosts[nhostsbak],
if (inet_pton(AF_INET, hosts[nhostsbak],
if (inet_pton(AF_INET, hostptr, host_addr) == 1) {
if (inet_pton(AF_INET6, hostptr,
if (inet_pton(AF_INET6, hostptr, host_addr) == 1) {
if (inet_pton(AF_INET, hostptr,
if (inet_pton(AF_INET6, s, &range->ncprange_ip6addr) != 1) {
if (inet_pton(AF_INET6, ap, &iffp->iff_addr) != 1) {
if (inet_pton(AF_INET, hosts[nhostsbak],
if (inet_pton(AF_INET6, hosts[nhostsbak],
if (inet_pton(AF_INET6, hosts[nhostsbak],
if (inet_pton(AF_INET, hosts[nhostsbak],
if (inet_pton(AF_INET, hosts[nhostsbak],
if (inet_pton(AF_INET6, hosts[nhostsbak],
if (inet_pton(AF_INET6, hosts[nhostsbak],
if (inet_pton(AF_INET, hosts[nhostsbak],
if (inet_pton(AF_INET, hosts[nhostsbak],
if (inet_pton(AF_INET6,
if (inet_pton(AF_INET6, hosts[nhostsbak],
if (inet_pton(AF_INET, hosts[nhostsbak],
ATF_REQUIRE_EQ(1, inet_pton(AF_INET6, addr, (void*)&in6->sin6_addr));
ATF_REQUIRE_EQ(1, inet_pton(AF_INET6, mask,
ATF_REQUIRE_EQ(1, inet_pton(AF_INET6, bcast,
ATF_REQUIRE_EQ(1, inet_pton(AF_INET6, "2001:db8::1",
ATF_REQUIRE_EQ(1, inet_pton(AF_INET6, "fe80::beef",
inet_pton(AF_INET6, RPCB_MULTICAST_ADDR, &mreq6.ipv6mr_multiaddr);
if (inet_pton(AF_INET6, addr_ascii, &sin6->sin6_addr) != 1)
if (inet_pton(AF_INET6, addrname, &mreq.ipv6mr_multiaddr.s6_addr)
if (inet_pton(AF_INET6, addr, &pfx->pfx_prefix) != 1) {
if (inet_pton(AF_INET6, addr, &rti->rti_prefix) != 1) {
if (inet_pton(AF_INET6, abuf, &rdna->ra_dns) != 1) {
if (inet_pton(AF_INET6, addr, &prf64->p64_prefix) != 1) {
inet_pton(AF_INET, ip, &ctx->ip.s_addr);
if (inet_pton(af, addr, uaddr) != 1)