Lines Matching refs:range_size
470 unsigned int range_size, min, max, i, attempts; in nf_nat_l4proto_unique_tuple() local
481 range_size = 65536; in nf_nat_l4proto_unique_tuple()
484 range_size = ntohs(range->max_proto.icmp.id) - in nf_nat_l4proto_unique_tuple()
502 range_size = 65535; in nf_nat_l4proto_unique_tuple()
505 range_size = ntohs(range->max_proto.gre.key) - min + 1; in nf_nat_l4proto_unique_tuple()
534 range_size = 511 - min + 1; in nf_nat_l4proto_unique_tuple()
537 range_size = 1023 - min + 1; in nf_nat_l4proto_unique_tuple()
541 range_size = 65535 - 1024 + 1; in nf_nat_l4proto_unique_tuple()
548 range_size = max - min + 1; in nf_nat_l4proto_unique_tuple()
557 attempts = range_size; in nf_nat_l4proto_unique_tuple()
569 *keyptr = htons(min + off % range_size); in nf_nat_l4proto_unique_tuple()
574 if (attempts >= range_size || attempts < 16) in nf_nat_l4proto_unique_tuple()