Lines Matching refs:mr
33 struct nf_nat_ipv4_multi_range_compat *mr = (struct nf_nat_ipv4_multi_range_compat *)t->data;
36 mr->rangesize = 1;
41 parse_ports(const char *arg, struct nf_nat_ipv4_multi_range_compat *mr)
46 mr->range[0].flags |= NF_NAT_RANGE_PROTO_SPECIFIED;
54 mr->range[0].min.tcp.port
55 = mr->range[0].max.tcp.port
66 mr->range[0].min.tcp.port = htons(port);
67 mr->range[0].max.tcp.port = htons(maxport);
78 struct nf_nat_ipv4_multi_range_compat *mr = (void *)(*cb->target)->data;
96 parse_ports(cb->arg, mr);
98 mr->range[0].flags |= NF_NAT_RANGE_PROTO_RANDOM;
102 mr->range[0].flags |= NF_NAT_RANGE_PROTO_RANDOM;
110 const struct nf_nat_ipv4_multi_range_compat *mr = (const void *)target->data;
111 const struct nf_nat_ipv4_range *r = &mr->range[0];
118 if (mr->range[0].flags & NF_NAT_RANGE_PROTO_RANDOM)
125 const struct nf_nat_ipv4_multi_range_compat *mr = (const void *)target->data;
126 const struct nf_nat_ipv4_range *r = &mr->range[0];
133 if (mr->range[0].flags & NF_NAT_RANGE_PROTO_RANDOM)