inet_pton
ret = inet_pton(AF_INET, srflag, &ia);
ret = inet_pton(AF_INET6, srflag, &ia6);
if (inet_pton(AF_INET, name, &sin4) == 1)
if (inet_pton(AF_INET6, name, &sin6) == 1)
(inet_pton(AF_INET, hostname, &ina) == 1 ||
inet_pton(AF_INET6, hostname, &in6a) == 1))
if (inet_pton(AF_INET, hostname, &addrbuf) == 1 ||
inet_pton(AF_INET6, hostname, &addrbuf) == 1)
inet_pton(AF_INET, ctx->servername, &addrbuf) != 1 &&
inet_pton(AF_INET6, ctx->servername, &addrbuf) != 1) {
if (inet_pton(AF_INET, name, &addrbuf) == 1 ||
inet_pton(AF_INET6, name, &addrbuf) == 1)
if (inet_pton(AF_INET, name, &addrbuf) == 1) {
} else if (inet_pton(AF_INET6, name, &addrbuf) == 1) {
if (inet_pton(AF_INET, name, &addrbuf) == 1 ||
inet_pton(AF_INET6, name, &addrbuf) == 1) {
if (inet_pton(AF_INET, preferred, &sin.sin_addr) == 1)
int inet_pton(int, const char * __restrict, void * __restrict);
__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) {
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) {
if (inet_pton(AF_INET, hostname, &lsin.sin_addr) != 1) {
int inet_pton(int af, const char* src, void* dst);
if (inet_pton(AF_INET6, s, &sin->sin6_addr) != 1)
if (inet_pton(AF_INET6, buf, &waip->a_ipv6) == 1) {
if (inet_pton(AF_INET, buf, &waip->a_ipv4) == 1) {
if (inet_pton(family, host, addr) != 1) {
} else if (inet_pton(AF_INET6, arg, &ifu->fu_via_ip6) != 1) {
n = inet_pton(AF_INET, *av, &te->key.sin_addr);
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, "ff02::2:0000:0000", &in6) != 1)
if (inet_pton(AF_INET, tok, &tap_addr) > 0) {
if (inet_pton(AF_INET, tok, &netif_addr) <= 0) {
if (inet_pton(AF_INET, optarg, &in.sin_addr) <= 0) {
if (inet_pton(AF_INET, optarg, &dst.sin_addr) <= 0) {
if (inet_pton(AF_INET, optarg, &iface) <= 0) {
if (inet_pton(AF_INET, optarg, &in.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg, &local_in.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg, &in.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg, &local_in.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg, &in.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg, &local_in.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg, &in.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg, &in.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg, &in.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg, &in.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg, &iface) <= 0)
if (inet_pton(AF_INET, optarg, &iface) <= 0)
if (inet_pton(AF_INET, optarg, &in.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg,
if (inet_pton(AF_INET, optarg, &dst.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg, &iface) <= 0)
if (inet_pton(AF_INET, optarg, &remote.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg, &src) <= 0)
if (inet_pton(AF_INET, optarg, &in.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg, &in.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg, &in.sin_addr) <= 0) {
if (inet_pton(AF_INET, optarg, &in.sin_addr) <= 0) {
if (inet_pton(AF_INET, optarg, &tmp->sin_addr) <= 0) {
if (inet_pton(AF_INET, optarg, &in.sin_addr) <= 0)
if (inet_pton(AF_INET, optarg, &in->sin_addr) <= 0)
n = inet_pton(AF_INET, optarg, &dst_sin->sin_addr);
n = inet_pton(AF_INET, optarg, &src_sin->sin_addr);
if (inet_pton(AF_INET, optarg, &in.sin_addr) <= 0)
if (inet_pton(AF_INET, ap_str, addr) <= 0) {
if (inet_pton(AF_INET6, argv[i], (void *)addr) > 0)
else if (inet_pton(AF_INET, argv[i], (void *)addr) > 0)
if (inet_pton(AF_INET, ipsrc, &ina) != 1 &&
inet_pton(AF_INET6, ipsrc, &ina) != 1) {
if (inet_pton(AF_INET, his_ipsrc, &addr.pfra_ip4addr) == 1) {
} else if (inet_pton(AF_INET6, his_ipsrc, &addr.pfra_ip6addr) == 1) {
if (inet_pton(AF_INET, ipsrc, &target.v4) == 1)
else if (inet_pton(AF_INET6, ipsrc, &target.v6) == 1)
if (inet_pton(AF_INET6, s, &sin->sin6_addr) != 1)
if (inet_pton(AF_INET, ip, &in_ip) != 1)
if (inet_pton(AF_INET, netmask, &in_netmask) != 1)
switch(inet_pton(AF_INET, "127.0.0.1", &servaddr.sin_addr)) {
inet_pton(AF_INET, "127.0.0.1", &servaddr.sin_addr);
if (inet_pton(AF_INET, curpos, &sin4->sin_addr) == 1) {
if (inet_pton(AF_INET6, curpos, &sin6->sin6_addr) == 1) {
if (argc == 2 && inet_pton(AF_INET6, argv[1], &maddr) != 1)
if (inet_pton(AF_INET6, "ff02::1", &dst.sin6_addr) != 1)
if (inet_pton(AF_INET, s, &ina) != 1)
if (inet_pton(AF_INET6, s, &range->ncprange_ip6addr) != 1) {
if (inet_pton(AF_INET6, ap, &ftmp.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,
if (inet_pton(AF_INET6, hosts[nhostsbak],
if (inet_pton(AF_INET, hosts[nhostsbak],
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, ALLROUTER,
r = inet_pton(AF_INET, ips, &te->key.sin_addr);
if (inet_pton(AF_INET, strtok(str, "/"), &NetAddress) <= 0)
if (inet_pton(af, addr, uaddr) != 1)