Lines Matching refs:mr
76 struct ipt_same_info *mr = cb->data; in SAME_parse() local
82 if (mr->rangesize == IPT_SAME_MAX_RANGE) in SAME_parse()
87 parse_to(cb->arg, &mr->range[mr->rangesize]); in SAME_parse()
88 mr->rangesize++; in SAME_parse()
91 mr->info |= IPT_SAME_NODST; in SAME_parse()
94 for (count=0; count < mr->rangesize; count++) in SAME_parse()
95 mr->range[count].flags |= NF_NAT_RANGE_PROTO_RANDOM; in SAME_parse()
103 struct ipt_same_info *mr = cb->data; in SAME_fcheck() local
107 for (count = 0; count < mr->rangesize; ++count) in SAME_fcheck()
108 mr->range[count].flags |= NF_NAT_RANGE_PROTO_RANDOM; in SAME_fcheck()
115 const struct ipt_same_info *mr = (const void *)target->data; in SAME_print() local
120 for (count = 0; count < mr->rangesize; count++) { in SAME_print()
121 const struct nf_nat_ipv4_range *r = &mr->range[count]; in SAME_print()
135 if (mr->info & IPT_SAME_NODST) in SAME_print()
145 const struct ipt_same_info *mr = (const void *)target->data; in SAME_save() local
148 for (count = 0; count < mr->rangesize; count++) { in SAME_save()
149 const struct nf_nat_ipv4_range *r = &mr->range[count]; in SAME_save()
162 if (mr->info & IPT_SAME_NODST) in SAME_save()