Searched refs:range_size (Results 1 – 3 of 3) sorted by relevance
36 unsigned int range_size, min, i; in tcp_unique_tuple() local54 range_size = 511 - min + 1; in tcp_unique_tuple()57 range_size = 1023 - min + 1; in tcp_unique_tuple()61 range_size = 65535 - 1024 + 1; in tcp_unique_tuple()65 range_size = ntohs(range->max.tcp.port) - min + 1; in tcp_unique_tuple()68 for (i = 0; i < range_size; i++, port++) { in tcp_unique_tuple()69 *portptr = htons(min + port % range_size); in tcp_unique_tuple()
37 unsigned int range_size, min, i; in udp_unique_tuple() local54 range_size = 511 - min + 1; in udp_unique_tuple()57 range_size = 1023 - min + 1; in udp_unique_tuple()61 range_size = 65535 - 1024 + 1; in udp_unique_tuple()65 range_size = ntohs(range->max.udp.port) - min + 1; in udp_unique_tuple()68 for (i = 0; i < range_size; i++, port++) { in udp_unique_tuple()69 *portptr = htons(min + port % range_size); in udp_unique_tuple()
29 unsigned int range_size; in icmp_unique_tuple() local32 range_size = ntohs(range->max.icmp.id) - ntohs(range->min.icmp.id) + 1; in icmp_unique_tuple()35 range_size = 0xFFFF; in icmp_unique_tuple()37 for (i = 0; i < range_size; i++, id++) { in icmp_unique_tuple()39 (id % range_size)); in icmp_unique_tuple()