Searched refs:min_port (Results 1 – 2 of 2) sorted by relevance
176 local min_port181 min_port=${port_list[0]}182 max_port=${port_list[1]:-$min_port}184 echo $min_port $max_port190 local min_port=$1194 if [[ $min_port -gt 0 && $min_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() argument147 *min_port = tmp_min_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()286 vip.dport = htons(min_port++); in main()