Lines Matching refs:addr
388 local addr=
396 lhost) addr=$(cat $addr_path) ;;
397 rhost) addr=$(tst_rhost_run -s -c "cat $addr_path")
400 [ -z "$list" ] && list="$addr" || list="$list $addr"
586 ip addr flush dev $iface || return $?
600 tst_rhost_run -c "ip addr flush dev $iface" || return $?
619 local addr dad lsafe mask quiet rsafe
624 a) addr="$OPTARG" ;;
645 [ -n "$addr" ] || addr="$(tst_ipaddr $type)"
646 echo $addr | grep -q / || addr="$addr/$mask"
649 [ "$quiet" ] || tst_res_ TINFO "$action local addr $addr"
650 $lsafe ip addr $action $addr dev $iface $dad
654 [ "$quiet" ] || tst_res_ TINFO "$action remote addr $addr"
655 tst_rhost_run $rsafe -c "ip addr $action $addr dev $iface $dad"
700 ip addr sh $iface_loc | grep -q tentative
703 tst_rhost_run -c "ip addr sh $iface_rmt | grep -q tentative"