Lines Matching defs:range
52 /* Parses range of IPs */
54 parse_to(char *arg, struct ip_nat_range *range)
59 range->flags |= IP_NAT_RANGE_MAP_IPS;
69 range->min_ip = ip->s_addr;
77 range->max_ip = ip->s_addr;
79 if (range->min_ip > range->max_ip)
80 exit_error(PARAMETER_PROBLEM, "Bad IP range `%s-%s'\n",
110 parse_to(optarg, &mr->range[mr->rangesize]);
113 mr->range[mr->rangesize].flags
131 mr->range[count].flags |= IP_NAT_RANGE_PROTO_RANDOM;
163 struct ip_nat_range *r = &mr->range[count];
196 struct ip_nat_range *r = &mr->range[count];