Searched refs:max_port (Results 1 – 2 of 2) sorted by relevance
177 local max_port182 max_port=${port_list[1]:-$min_port}184 echo $min_port $max_port191 local max_port=$2195 if [[ $max_port -gt 0 && $max_port -lt 65536 ]]; then196 if [[ $min_port -le $max_port ]]; then202 err 5 "Invalid port(s): $min_port-$max_port"
114 static int parse_ports(const char *port_str, int *min_port, int *max_port) in parse_ports() argument148 *max_port = tmp_max_port; in parse_ports()159 int min_port = 0, max_port = 0, vip2tnl_map_fd; in main() local195 if (parse_ports(optarg, &min_port, &max_port)) in main()285 while (min_port <= max_port) { in main()