| /f-stack/dpdk/lib/librte_cmdline/ |
| H A D | cmdline_parse_ipaddr.c | 81 inet_pton(AF_INET, ip_str, &ipaddr.addr.ipv4) == 1 && in cmdline_parse_ipaddr() 89 inet_pton(AF_INET6, ip_str, &ipaddr.addr.ipv6) == 1) { in cmdline_parse_ipaddr()
|
| /f-stack/lib/ |
| H A D | ff_veth.c | 96 inet_pton(AF_INET, cfg->addr, &sc->ip); in ff_veth_config() 97 inet_pton(AF_INET, cfg->netmask, &sc->netmask); in ff_veth_config() 98 inet_pton(AF_INET, cfg->broadcast, &sc->broadcast); in ff_veth_config() 99 inet_pton(AF_INET, cfg->gateway, &sc->gateway); in ff_veth_config() 103 if (inet_pton(AF_INET, cfg->vip_addr_array[i], &sc->vip[j])) { in ff_veth_config() 115 inet_pton(AF_INET6_LINUX, cfg->addr6_str, &sc->ip6); in ff_veth_config() 119 inet_pton(AF_INET6_LINUX, cfg->gateway6_str, &sc->gateway6); in ff_veth_config() 132 if (inet_pton(AF_INET6_LINUX, cfg->vip_addr6_array[i], &sc->vip6[j])) { in ff_veth_config()
|
| /f-stack/dpdk/lib/librte_eal/windows/include/arpa/ |
| H A D | inet.h | 23 inet_pton(int af, const char *src, void *dst);
|
| /f-stack/tools/compat/include/arpa/ |
| H A D | inet.h | 124 int inet_pton(int, const char * __restrict, void * __restrict);
|
| /f-stack/tools/compat/ |
| H A D | getaddrinfo.c | 72 if (inet_pton(AF_INET, hostname, &si->sin_addr.s_addr) != 1) { in getaddrinfo()
|
| /f-stack/tools/ipfw/ |
| H A D | nat64clat.c | 201 inet_pton(AF_INET6, "64:ff9b::", &cfg->plat_prefix); in nat64clat_create() 220 if (inet_pton(AF_INET6, *av, &prefix) != 1) in nat64clat_create() 315 if (inet_pton(AF_INET6, *av, &prefix) != 1) in nat64clat_config()
|
| H A D | tables.c | 1204 if (inet_pton(AF_INET, arg, paddr) == 1) { in tentry_fill_key_type() 1211 } else if (inet_pton(AF_INET6_LINUX, arg, paddr) == 1) { in tentry_fill_key_type() 1258 if (inet_pton(AF_INET, arg, &tmp) == 1) { in tentry_fill_key_type() 1264 } else if (inet_pton(AF_INET6_LINUX, arg, &tmp) == 1) { in tentry_fill_key_type() 1324 if (inet_pton(AF_INET, arg, &tmp) == 1) { in tentry_fill_key_type() 1330 } else if (inet_pton(AF_INET6_LINUX, arg, &tmp) == 1) { in tentry_fill_key_type() 1390 if ((inet_pton(AF_INET, key, &addr) == 1) || in guess_key_type() 1391 (inet_pton(AF_INET6_LINUX, key, &addr) == 1)) { in guess_key_type() 1528 if (inet_pton(AF_INET, arg, &val) == 1) { in tentry_fill_value() 1599 inet_pton(AF_INET, n, &a4) == 1) { in tentry_fill_value()
|
| H A D | ipv6.c | 313 if (!inet_pton(AF_INET6_LINUX, host, ip6addr)) { in lookup_host6() 400 if (!inet_pton(AF_INET6_LINUX, p, &d[1])) in fill_ip6()
|
| H A D | nat64stl.c | 233 inet_pton(AF_INET6, "64:ff9b::", &cfg->prefix6); in nat64stl_create() 261 if (inet_pton(AF_INET6, *av, &cfg->prefix6) != 1) in nat64stl_create()
|
| H A D | nat64lsn.c | 354 if (inet_pton(af, p, prefix) != 1) in nat64lsn_parse_prefix() 419 inet_pton(AF_INET6, "64:ff9b::", &cfg->prefix6); in nat64lsn_create()
|
| H A D | nptv6.c | 175 if (inet_pton(AF_INET6, p, prefix) != 1) in nptv6_parse_prefix()
|
| H A D | ipfw2.c | 3750 inet_pton(AF_INET6_LINUX, host, &a) == 1) in add_src() 3754 inet_pton(AF_INET6_LINUX, host, &a) != 1)) in add_src() 3781 inet_pton(AF_INET6_LINUX, host, &a) == 1) in add_dst() 3785 inet_pton(AF_INET6_LINUX, host, &a) != 1)) in add_dst()
|
| /f-stack/dpdk/app/test-sad/ |
| H A D | main.c | 191 ret = inet_pton(AF_INET6, in[CB_RULE_DIP], in parse_file() 194 ret = inet_pton(AF_INET, in[CB_RULE_DIP], in parse_file() 199 ret = inet_pton(AF_INET6, in[CB_RULE_SIP], in parse_file() 202 ret = inet_pton(AF_INET, in[CB_RULE_SIP], in parse_file()
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | parser.c | 383 if (inet_pton(AF_INET, token, ipv4) != 1) in parse_ipv4_addr() 395 if (inet_pton(AF_INET6, token, ipv6) != 1) in parse_ipv6_addr()
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | parser.c | 400 if (inet_pton(AF_INET, token, ipv4) != 1) in softnic_parse_ipv4_addr() 412 if (inet_pton(AF_INET6, token, ipv6) != 1) in softnic_parse_ipv6_addr()
|
| /f-stack/freebsd/libkern/ |
| H A D | inet_pton.c | 50 inet_pton(int af, const char *src, void *dst) in inet_pton() function
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | parser.c | 70 if (inet_pton(AF_INET, ip_str, ipv4) != 1) in parse_ipv4_addr() 101 if (inet_pton(AF_INET6, ip_str, ipv6) != 1) in parse_ipv6_addr()
|
| /f-stack/freebsd/net/route/ |
| H A D | route_ddb.c | 241 if (inet_pton(af, buf, dst_addrp) != 1) in _DB_FUNC()
|
| /f-stack/tools/ifconfig/ |
| H A D | af_inet6.c | 384 if (inet_pton(AF_INET6_LINUX, s, &sin->sin6_addr) != 1) 393 if (inet_pton(AF_INET6, s, &sin->sin6_addr) != 1)
|
| /f-stack/freebsd/netinet/ |
| H A D | in.h | 657 int inet_pton(int af, const char *, void *); /* in libkern */
|
| /f-stack/dpdk/app/test-fib/ |
| H A D | main.c | 459 ret = inet_pton(af, s, addr); in _inet_net_pton() 550 ret = inet_pton(af, s, &tbl[i]); in parse_lookup()
|
| /f-stack/freebsd/contrib/rdma/krping/ |
| H A D | krping.c | 2025 if (inet_pton(AF_INET, optarg, cb->addr) != 1) { in krping_doit() 2040 if (inet_pton(AF_INET6, optarg, cb->addr) != 1) { in krping_doit()
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | radix_ipf.c | 1117 inet_pton(afp->adf_family, str, &afp->adf_addr);
|
| /f-stack/tools/route/ |
| H A D | route.c | 1359 if (inet_pton(AF_INET6_LINUX, str, &((struct sockaddr_in6 *)sa)->sin6_addr) == -1) in getaddr()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | cluster.c | 1287 if (inet_pton(AF_INET,ip, in clusterStartHandshake() 1291 } else if (inet_pton(AF_INET6,ip, in clusterStartHandshake()
|