Lines Matching refs:mr
26 struct nf_nat_ipv4_multi_range_compat mr; member
52 size = XT_ALIGN(sizeof(*info) + info->mr.rangesize * sizeof(*range)); in append_range()
59 info->mr.range[info->mr.rangesize] = *range; in append_range()
60 info->mr.rangesize++; in append_range()
180 info->mr.range[0].flags |= NF_NAT_RANGE_PERSISTENT; in DNAT_parse()
188 struct nf_nat_ipv4_multi_range_compat *mr = cb->data; in DNAT_fcheck() local
191 mr->range[0].flags |= NF_NAT_RANGE_PROTO_RANDOM; in DNAT_fcheck()
221 for (i = 0; i < info->mr.rangesize; i++) { in DNAT_print()
222 print_range(&info->mr.range[i]); in DNAT_print()
223 if (info->mr.range[i].flags & NF_NAT_RANGE_PROTO_RANDOM) in DNAT_print()
225 if (info->mr.range[i].flags & NF_NAT_RANGE_PERSISTENT) in DNAT_print()
235 for (i = 0; i < info->mr.rangesize; i++) { in DNAT_save()
237 print_range(&info->mr.range[i]); in DNAT_save()
238 if (info->mr.range[i].flags & NF_NAT_RANGE_PROTO_RANDOM) in DNAT_save()
240 if (info->mr.range[i].flags & NF_NAT_RANGE_PERSISTENT) in DNAT_save()
273 for (i = 0; i < info->mr.rangesize; i++) { in DNAT_xlate()
275 print_range_xlate(&info->mr.range[i], xl); in DNAT_xlate()
276 if (info->mr.range[i].flags & NF_NAT_RANGE_PROTO_RANDOM) { in DNAT_xlate()
280 if (info->mr.range[i].flags & NF_NAT_RANGE_PERSISTENT) { in DNAT_xlate()