Lines Matching refs:link_num
315 local link_num="${2:-0}"
317 link_num=$(( $link_num + 1 ))
319 echo "$hwaddrs" | awk '{ print $'"$link_num"' }'
331 local link_num="${2:-0}"
332 link_num="$(( $link_num + 1 ))"
333 echo "$(tst_get_ifaces $type)" | awk '{ print $'"$link_num"' }'
419 local link_num="${2:-0}"
420 local iface="$(tst_iface $type $link_num)"
447 local link_num="${2:-0}"
457 local iface=$(tst_iface $type $link_num)
479 local link_num="${2:-0}"
481 tst_init_iface $type $link_num || return $?
485 TST_IPV6= tst_add_ipaddr $type $link_num || ret=$?
486 TST_IPV6=6 tst_add_ipaddr $type $link_num || ret=$?