Searched refs:min_ip (Results 1 – 13 of 13) sorted by relevance
/external/libnetfilter_conntrack/src/conntrack/ |
D | objopt.c | 57 ct->snat.min_ip.v4 = ct->repl.dst.v4; in setobjopt_undo_snat() 58 ct->snat.max_ip.v4 = ct->snat.min_ip.v4; in setobjopt_undo_snat() 63 memcpy(&ct->snat.min_ip.v6, &ct->repl.dst.v6, in setobjopt_undo_snat() 65 memcpy(&ct->snat.max_ip.v6, &ct->snat.min_ip.v6, in setobjopt_undo_snat() 80 ct->dnat.min_ip.v4 = ct->repl.src.v4; in setobjopt_undo_dnat() 81 ct->dnat.max_ip.v4 = ct->dnat.min_ip.v4; in setobjopt_undo_dnat() 85 memcpy(&ct->dnat.min_ip.v6, &ct->repl.src.v6, in setobjopt_undo_dnat() 87 memcpy(&ct->dnat.max_ip.v6, &ct->dnat.min_ip.v6, in setobjopt_undo_dnat()
|
D | copy.c | 290 dest->snat.min_ip.v4 = orig->snat.min_ip.v4; in copy_attr_snat_ipv4() 296 dest->dnat.min_ip.v4 = orig->dnat.min_ip.v4; in copy_attr_dnat_ipv4() 302 memcpy(&dest->snat.min_ip.v6, &orig->snat.min_ip.v6, in copy_attr_snat_ipv6() 309 memcpy(&dest->dnat.min_ip.v6, &orig->dnat.min_ip.v6, in copy_attr_dnat_ipv6()
|
D | getter.c | 209 return &ct->snat.min_ip.v4; in get_attr_snat_ipv4() 214 return &ct->dnat.min_ip.v4; in get_attr_dnat_ipv4() 219 return &ct->snat.min_ip.v6; in get_attr_snat_ipv6() 224 return &ct->dnat.min_ip.v6; in get_attr_dnat_ipv6()
|
D | setter.c | 240 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() 252 memcpy(&ct->snat.min_ip.v6, value, sizeof(struct in6_addr)); in set_attr_snat_ipv6() 259 memcpy(&ct->dnat.min_ip.v6, value, sizeof(struct in6_addr)); in set_attr_dnat_ipv6()
|
D | build_mnl.c | 272 mnl_attr_put_u32(nlh, CTA_NAT_MINIP, nat->min_ip.v4); in nfct_build_nat() 276 &nat->min_ip.v6); in nfct_build_nat()
|
D | build.c | 284 &nat->min_ip.v4, sizeof(uint32_t)); in __build_nat() 288 &nat->min_ip.v6, sizeof(struct in6_addr)); in __build_nat()
|
/external/iptables/extensions/ |
D | libipt_NETMAP.c | 61 range->min_ip = cb->val.haddr.ip & cb->val.hmask.ip; in NETMAP_parse() 62 range->max_ip = range->min_ip | ~cb->val.hmask.ip; in NETMAP_parse() 73 a.s_addr = r->min_ip; in __NETMAP_print() 75 a.s_addr = ~(r->min_ip ^ r->max_ip); in __NETMAP_print()
|
D | libipt_SNAT.c | 140 range.min_ip = ip->s_addr; in parse_to() 148 range.max_ip = range.min_ip; in parse_to() 205 a.s_addr = r->min_ip; in print_range() 207 if (r->max_ip != r->min_ip) { in print_range() 261 a.s_addr = r->min_ip; in print_range_xlate() 263 if (r->max_ip != r->min_ip) { in print_range_xlate()
|
D | libxt_iprange.c | 11 __be32 min_ip, max_ip; member 109 info->src.min_ip = range[0].ip; in iprange_parse() 118 info->dst.min_ip = range[0].ip; in iprange_parse() 169 byte_min = (const unsigned char *)&range->min_ip; in print_iprange() 311 byte_min = (const unsigned char *)&range->min_ip; in print_iprange_xlate()
|
D | libipt_DNAT.c | 146 range.min_ip = ip->s_addr; in parse_to() 154 range.max_ip = range.min_ip; in parse_to() 208 a.s_addr = r->min_ip; in print_range() 210 if (r->max_ip != r->min_ip) { in print_range() 260 a.s_addr = r->min_ip; in print_range_xlate() 262 if (r->max_ip != r->min_ip) { in print_range_xlate()
|
/external/iptables/include/linux/netfilter/ |
D | nf_nat.h | 24 __be32 min_ip; member
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
D | nf_nat.h | 27 __be32 min_ip; member
|
/external/libnetfilter_conntrack/include/internal/ |
D | object.h | 147 union __nfct_address min_ip, max_ip; member
|