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.sh478 local counter host_id host_range is_counter max_host_id min_host_id net_id prefix= tmp type
487 max_host_id="$(echo $OPTARG | cut -d, -f2)"
505 max_host_id="$OPTARG"
516 if [ -z "$max_host_id" ]; then
517 [ "$is_counter" ] && max_host_id=$((default_max - 1)) || max_host_id=$default_max
520 ! tst_is_int "$min_host_id" || ! tst_is_int "$max_host_id" || \
522 [ $max_host_id -lt 0 -o $max_host_id -gt $default_max ] && \
523 …k_ TBROK "tst_ipaddr_un: HOST_ID must be int in range <0,$default_max> ($min_host_id,$max_host_id)"
529 [ $min_host_id -gt $max_host_id ] && \
530 tst_brk_ TBROK "tst_ipaddr_un: max HOST_ID ($max_host_id) must be >= min HOST_ID ($min_host_id)"
[all …]