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