Home
last modified time | relevance | path

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

/third_party/ltp/testcases/lib/
Dtst_net.sh411 local min_net_id=0
429 min_net_id="$(echo $OPTARG | cut -d, -f1)"
432 min_net_id="$OPTARG"
459 ! tst_is_int "$min_net_id" || ! tst_is_int "$max_net_id" || \
460 [ $min_net_id -lt 0 -o $min_net_id -gt $default_max ] || \
462 …tst_brk TBROK "tst_ipaddr_un: NET_ID must be int in range <0,$default_max> ($min_net_id,$max_net_i…
466 [ $min_net_id -gt $max_net_id ] && \
467 tst_brk TBROK "tst_ipaddr_un: max NET_ID ($max_net_id) must be >= min NET_ID ($min_net_id)"
489 net_id=$((net_id % (max_net_id - min_net_id + 1) + min_net_id))