inet_pton
if (inet_pton(AF_INET, $1->v,
if (inet_pton(AF_INET, $1->v,
if (inet_pton(AF_INET, $1->v, &network.addr4) != 1)
if (inet_pton(AF_INET, $2->v,
if (inet_pton(AF_INET, $2->v,
if (inet_pton(AF_INET, s, &ina) != 1)
if (inet_pton(AF_INET, ipsrc, &ina) != 1 &&
inet_pton(AF_INET6, ipsrc, &ina) != 1) {
if (inet_pton(AF_INET, ipsrc, &addr.pfra_ip4addr) == 1) {
} else if (inet_pton(AF_INET6, 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, p, &host_addr) > 0) {
} else if (inet_pton(AF_INET, p, &host_addr) > 0) {
int inet_pton(int, const char * __restrict,
__weak_alias(inet_pton,_inet_pton)
inet_pton(int af, const char *src, void *dst)
if (inet_pton(afd->a_af, hostname, pton) == 1) {
addrok = inet_pton(af, p, &host_addrs[naddrs]);
if (inet_pton(af, name, buf) <= 0) {
if (inet_pton(AF_INET6, p, &host_addr) > 0) {
if (inet_pton(AF_INET, p, &host_addr) <= 0)
inet_pton(af, RPCB_MULTICAST_ADDR, &sin6->sin6_addr);
if (inet_pton(AF_INET, addrstr, &sinp->sin_addr) <= 0) {
if (inet_pton(AF_INET6, addrstr, &sin6->sin6_addr) <= 0) {
if (inet_pton(AF_INET6, buf2, &in6a) <= 0)
switch (inet_pton(AF_INET, buf, &sin.sin_addr)) {
if (inet_pton(AF_INET, p,
} else if (inet_pton(AF_INET6, p,
if (inet_pton(AF_INET6, "ff02::2:0000:0000", &in6) != 1)
rv = inet_pton(AF_INET, hostp, &sin->sin_addr);
if (inet_pton(af, addr, &sad->sin_addr) == 1) {
if (inet_pton(af, addr, &sad6->sin6_addr)
if (inet_pton(AF_INET6, buf, addr) == 1) {
if (inet_pton(AF_INET, buf, addr) == 1) {
if (inet_pton(af, *argv, &addr) == -1)
ATF_REQUIRE(inet_pton(AF_INET, "127.0.0.1", &iaddr) == 1);
rv = inet_pton(AF_INET6, argv[ARG_ADDR], &sin6->sin6_addr);
rv = inet_pton(AF_INET, argv[ARG_ADDR], &sin->sin_addr);
rc = inet_pton(AF_INET, argv[1], &uc_addr);
rc = inet_pton(AF_INET, argv[2], &err_addr);
rc = inet_pton(AF_INET, argv[3], &bc_addr);
inet_pton(sfam, "1.1.1.1", &sin->sin_addr);
inet_pton(sfam, "2010:2020:2030:2040:2050:2060:2070:2080",
inet_pton(AF_INET, addr, &inaddr);
inet_pton(AF_INET, src, &addr);
inet_pton(AF_INET, addr, &sin->sin_addr);
if (inet_pton(AF_INET6, argv[i], (void *)addr) > 0)
else if (inet_pton(AF_INET, argv[i], (void *)addr) > 0)
} else if (inet_pton(family, address, &addr_in->sin_addr)
} else if (inet_pton(family, address, &addr_in6->sin6_addr)
if (inet_pton(AF_INET, address, &ipv4_addr) == 1)
if (inet_pton(AF_INET6, address, &ipv6_addr) == 1)
if (!nflag && inet_pton(af, p, &l) &&
if (inet_pton(AF_INET6, w, addr) != 1)
if (inet_pton(AF_INET, sep->se_hostaddr, &tmp)) {
if (inet_pton(AF_INET6, sep->se_hostaddr, &tmp)) {
if (inet_pton(AF_INET, line, &conf_ldp_id) != 1)
if (inet_pton(AF_INET, peer, &ad) != 1)
if (inet_pton(AF_INET, buf, &conf_if->tr_addr) != 1)
if (argc == 3 && inet_pton(AF_INET6, argv[1], &maddr) != 1)
if (inet_pton(AF_INET6, "ff02::1", &dst.sin6_addr) != 1)
rumpns_npf_test_init(inet_pton, inet_ntop, random);
if (inet_pton(*af, buf, &host->addr) != 1)
if (inet_pton(AF_INET6, ap, &ftmp.iff_addr) != 1) {
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, &pfx->prefix) != 1) {
if (inet_pton(AF_INET6, addr, &rti->prefix) != 1) {
if (inet_pton(AF_INET6, abuf, &rdnsa->addr) != 1) {
if (inet_pton(AF_INET6, ALLROUTERS_LINK,
if (inet_pton(AF_INET,txt_addr,&r.srcmatch.v4) == 1)
else if (inet_pton(AF_INET6,txt_addr,&r.srcmatch.v6) == 1)
if (inet_pton(r.af,txt_dstaddr,dp) != 1)