Lines Matching refs:max_host_id
396 local counter host_id host_range is_counter max_host_id min_host_id net_id prefix tmp type
405 max_host_id="$(echo $OPTARG | cut -d, -f2)"
423 max_host_id="$OPTARG"
434 if [ -z "$max_host_id" ]; then
435 [ "$is_counter" ] && max_host_id=$((default_max - 1)) || max_host_id=$default_max
438 ! tst_is_int "$min_host_id" || ! tst_is_int "$max_host_id" || \
440 [ $max_host_id -lt 0 -o $max_host_id -gt $default_max ] && \
441 …rk TBROK "tst_ipaddr_un: HOST_ID must be int in range <0,$default_max> ($min_host_id,$max_host_id)"
447 [ $min_host_id -gt $max_host_id ] && \
448 tst_brk TBROK "tst_ipaddr_un: max HOST_ID ($max_host_id) must be >= min HOST_ID ($min_host_id)"
453 host_range=$((max_host_id - min_host_id + 1))