Lines Matching refs:mr
32 struct ip_nat_multi_range *mr = (struct ip_nat_multi_range *)t->data; in init() local
35 mr->rangesize = 1; in init()
41 parse_ports(const char *arg, struct ip_nat_multi_range *mr) in parse_ports() argument
46 mr->range[0].flags |= IP_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()
68 mr->range[0].min.tcp.port = htons(port); in parse_ports()
69 mr->range[0].max.tcp.port = htons(maxport); in parse_ports()
81 struct ip_nat_multi_range *mr in parse() local
101 parse_ports(optarg, mr); in parse()
120 struct ip_nat_multi_range *mr in print() local
122 struct ip_nat_range *r = &mr->range[0]; in print()
137 struct ip_nat_multi_range *mr in save() local
139 struct ip_nat_range *r = &mr->range[0]; in save()