Home
last modified time | relevance | path

Searched refs:max_host_id (Results 1 – 1 of 1) sorted by relevance

/third_party/ltp/testcases/lib/
Dtst_net.sh413 local counter host_id host_range is_counter max_host_id min_host_id net_id prefix= tmp type
422 max_host_id="$(echo $OPTARG | cut -d, -f2)"
440 max_host_id="$OPTARG"
451 if [ -z "$max_host_id" ]; then
452 [ "$is_counter" ] && max_host_id=$((default_max - 1)) || max_host_id=$default_max
455 ! tst_is_int "$min_host_id" || ! tst_is_int "$max_host_id" || \
457 [ $max_host_id -lt 0 -o $max_host_id -gt $default_max ] && \
458 …rk TBROK "tst_ipaddr_un: HOST_ID must be int in range <0,$default_max> ($min_host_id,$max_host_id)"
464 [ $min_host_id -gt $max_host_id ] && \
465 tst_brk TBROK "tst_ipaddr_un: max HOST_ID ($max_host_id) must be >= min HOST_ID ($min_host_id)"
[all …]