Lines Matching refs:mr
34 struct nf_nat_ipv4_multi_range_compat *mr = (struct nf_nat_ipv4_multi_range_compat *)t->data;
37 mr->rangesize = 1;
42 parse_ports(const char *arg, struct nf_nat_ipv4_multi_range_compat *mr)
47 mr->range[0].flags |= NF_NAT_RANGE_PROTO_SPECIFIED;
54 mr->range[0].min.tcp.port
55 = mr->range[0].max.tcp.port
65 mr->range[0].min.tcp.port = htons(port);
66 mr->range[0].max.tcp.port = htons(maxport);
78 struct nf_nat_ipv4_multi_range_compat *mr = cb->data;
95 parse_ports(cb->arg, mr);
98 mr->range[0].flags |= NF_NAT_RANGE_PROTO_RANDOM;
107 const struct nf_nat_ipv4_multi_range_compat *mr = (const void *)target->data;
108 const struct nf_nat_ipv4_range *r = &mr->range[0];
124 const struct nf_nat_ipv4_multi_range_compat *mr = (const void *)target->data;
125 const struct nf_nat_ipv4_range *r = &mr->range[0];