Lines Matching defs:range
38 /* Parses range of IPs */
39 static void parse_to(const char *orig_arg, struct nf_nat_range *range)
47 range->flags |= IP_NAT_RANGE_MAP_IPS;
57 range->min_ip = ip->s_addr;
65 range->max_ip = ip->s_addr;
67 if (range->min_ip > range->max_ip)
68 xtables_error(PARAMETER_PROBLEM, "Bad IP range \"%s-%s\"\n",
86 parse_to(cb->arg, &mr->range[mr->rangesize]);
89 mr->range[mr->rangesize].flags
98 mr->range[count].flags |= IP_NAT_RANGE_PROTO_RANDOM;
113 const struct nf_nat_range *r = &mr->range[count];
141 const struct nf_nat_range *r = &mr->range[count];