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 SNAT_parse()
188 struct nf_nat_ipv4_multi_range_compat *mr = cb->data; in SNAT_fcheck() local
191 mr->range[0].flags |= NF_NAT_RANGE_PROTO_RANDOM; in SNAT_fcheck()
221 for (i = 0; i < info->mr.rangesize; i++) { in SNAT_print()
222 print_range(&info->mr.range[i]); in SNAT_print()
223 if (info->mr.range[i].flags & NF_NAT_RANGE_PROTO_RANDOM) in SNAT_print()
225 if (info->mr.range[i].flags & NF_NAT_RANGE_PERSISTENT) in SNAT_print()
235 for (i = 0; i < info->mr.rangesize; i++) { in SNAT_save()
237 print_range(&info->mr.range[i]); in SNAT_save()
238 if (info->mr.range[i].flags & NF_NAT_RANGE_PROTO_RANDOM) in SNAT_save()
240 if (info->mr.range[i].flags & NF_NAT_RANGE_PERSISTENT) in SNAT_save()