Home
last modified time | relevance | path

Searched refs:max_ip (Results 1 – 9 of 9) sorted by relevance

/external/iptables/extensions/
Dlibipt_DNAT.c143 range.max_ip = ip->s_addr; in parse_to()
145 range.max_ip = range.min_ip; in parse_to()
201 if (r->max_ip != r->min_ip) { in print_range()
202 a.s_addr = r->max_ip; in print_range()
253 if (r->max_ip != r->min_ip) { in print_range_xlate()
254 a.s_addr = r->max_ip; in print_range_xlate()
Dlibipt_SNAT.c146 range.max_ip = ip->s_addr; in parse_to()
148 range.max_ip = range.min_ip; in parse_to()
207 if (r->max_ip != r->min_ip) { in print_range()
208 a.s_addr = r->max_ip; in print_range()
263 if (r->max_ip != r->min_ip) { in print_range_xlate()
264 a.s_addr = r->max_ip; in print_range_xlate()
Dlibxt_iprange.c11 __be32 min_ip, max_ip; member
110 info->src.max_ip = range[1].ip; in iprange_parse()
119 info->dst.max_ip = range[1].ip; in iprange_parse()
170 byte_max = (const unsigned char *)&range->max_ip; in print_iprange()
312 byte_max = (const unsigned char *)&range->max_ip; in print_iprange_xlate()
Dlibipt_NETMAP.c62 range->max_ip = range->min_ip | ~cb->val.hmask.ip; in NETMAP_parse()
75 a.s_addr = ~(r->min_ip ^ r->max_ip); in __NETMAP_print()
/external/libnetfilter_conntrack/src/conntrack/
Dobjopt.c58 ct->snat.max_ip.v4 = ct->snat.min_ip.v4; in setobjopt_undo_snat()
65 memcpy(&ct->snat.max_ip.v6, &ct->snat.min_ip.v6, in setobjopt_undo_snat()
81 ct->dnat.max_ip.v4 = ct->dnat.min_ip.v4; in setobjopt_undo_dnat()
87 memcpy(&ct->dnat.max_ip.v6, &ct->dnat.min_ip.v6, in setobjopt_undo_dnat()
Dsetter.c240 ct->snat.min_ip.v4 = ct->snat.max_ip.v4 = *((uint32_t *) value); in set_attr_snat_ipv4()
246 ct->dnat.min_ip.v4 = ct->dnat.max_ip.v4 = *((uint32_t *) value); in set_attr_dnat_ipv4()
253 memcpy(&ct->snat.max_ip.v6, value, sizeof(struct in6_addr)); in set_attr_snat_ipv6()
260 memcpy(&ct->dnat.max_ip.v6, value, sizeof(struct in6_addr)); in set_attr_dnat_ipv6()
/external/iptables/include/linux/netfilter/
Dnf_nat.h19 __be32 max_ip; member
/external/kernel-headers/original/uapi/linux/netfilter/
Dnf_nat.h24 __be32 max_ip; member
/external/libnetfilter_conntrack/include/internal/
Dobject.h147 union __nfct_address min_ip, max_ip; member