Home
last modified time | relevance | path

Searched refs:inet_pton (Results 1 – 25 of 26) sorted by relevance

12

/f-stack/dpdk/lib/librte_cmdline/
H A Dcmdline_parse_ipaddr.c81 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 Dff_veth.c96 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 Dinet.h23 inet_pton(int af, const char *src, void *dst);
/f-stack/tools/compat/include/arpa/
H A Dinet.h124 int inet_pton(int, const char * __restrict, void * __restrict);
/f-stack/tools/compat/
H A Dgetaddrinfo.c72 if (inet_pton(AF_INET, hostname, &si->sin_addr.s_addr) != 1) { in getaddrinfo()
/f-stack/tools/ipfw/
H A Dnat64clat.c201 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 Dtables.c1204 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 Dipv6.c313 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 Dnat64stl.c233 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 Dnat64lsn.c354 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 Dnptv6.c175 if (inet_pton(AF_INET6, p, prefix) != 1) in nptv6_parse_prefix()
H A Dipfw2.c3750 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 Dmain.c191 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 Dparser.c383 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 Dparser.c400 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 Dinet_pton.c50 inet_pton(int af, const char *src, void *dst) in inet_pton() function
/f-stack/dpdk/examples/ipsec-secgw/
H A Dparser.c70 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 Droute_ddb.c241 if (inet_pton(af, buf, dst_addrp) != 1) in _DB_FUNC()
/f-stack/tools/ifconfig/
H A Daf_inet6.c384 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 Din.h657 int inet_pton(int af, const char *, void *); /* in libkern */
/f-stack/dpdk/app/test-fib/
H A Dmain.c459 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 Dkrping.c2025 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 Dradix_ipf.c1117 inet_pton(afp->adf_family, str, &afp->adf_addr);
/f-stack/tools/route/
H A Droute.c1359 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 Dcluster.c1287 if (inet_pton(AF_INET,ip, in clusterStartHandshake()
1291 } else if (inet_pton(AF_INET6,ip, in clusterStartHandshake()

12