Home
last modified time | relevance | path

Searched refs:addrptmp (Results 1 – 3 of 3) sorted by relevance

/external/iptables/extensions/
Dlibxt_mangle.c164 struct in_addr *addrp, *addrptmp; in parse_hostnetwork() local
166 if ((addrptmp = dotted_to_addr(name)) != NULL || in parse_hostnetwork()
167 (addrptmp = network_to_addr(name)) != NULL) { in parse_hostnetwork()
169 inaddrcpy(addrp, addrptmp); in parse_hostnetwork()
/external/iptables/libxtables/
Dxtables.c1395 struct in_addr *addrptmp, *addrp; in ipparse_hostnetwork() local
1397 if ((addrptmp = xtables_numeric_to_ipaddr(name)) != NULL || in ipparse_hostnetwork()
1398 (addrptmp = network_to_ipaddr(name)) != NULL) { in ipparse_hostnetwork()
1400 memcpy(addrp, addrptmp, sizeof(*addrp)); in ipparse_hostnetwork()
1404 if ((addrptmp = host_to_ipaddr(name, naddrs)) != NULL) in ipparse_hostnetwork()
1405 return addrptmp; in ipparse_hostnetwork()
1695 struct in6_addr *addrp, *addrptmp; in ip6parse_hostnetwork() local
1697 if ((addrptmp = xtables_numeric_to_ip6addr(name)) != NULL || in ip6parse_hostnetwork()
1698 (addrptmp = network_to_ip6addr(name)) != NULL) { in ip6parse_hostnetwork()
1700 memcpy(addrp, addrptmp, sizeof(*addrp)); in ip6parse_hostnetwork()
/external/iptables/iptables/
Dxtables-arp.c632 struct in_addr *addrp, *addrptmp; in parse_hostnetwork() local
634 if ((addrptmp = dotted_to_addr(name)) != NULL || in parse_hostnetwork()
635 (addrptmp = network_to_addr(name)) != NULL) { in parse_hostnetwork()
637 inaddrcpy(addrp, addrptmp); in parse_hostnetwork()