Lines Matching refs:iface
95 local disabled iface ret
125 # net.ipv6.conf.$iface.disable_ipv6=1.
132 local iface="$1"
134 local check="cat /proc/sys/net/ipv6/conf/$iface/disable_ipv6"
143 tst_res_ TINFO "IPv6 disabled on $type on $iface"
154 local iface
156 for iface in $(tst_get_ifaces); do
157 tst_net_detect_ipv6_iface $iface || return
160 for iface in $(tst_get_ifaces rhost); do
161 tst_net_detect_ipv6_iface $iface rhost || return
574 local iface="$(tst_iface $type $link_num)"
576 tst_res_ TINFO "initialize '$type' '$iface' interface"
577 tst_net_detect_ipv6_iface $iface $type
584 ip link set $iface down || return $?
585 ip route flush dev $iface || return $?
586 ip addr flush dev $iface || return $?
588 sysctl -qw net.ipv6.conf.$iface.accept_dad=0 || return $?
590 ip link set $iface up
598 tst_rhost_run -c "ip link set $iface down" || return $?
599 tst_rhost_run -c "ip route flush dev $iface" || return $?
600 tst_rhost_run -c "ip addr flush dev $iface" || return $?
602 tst_rhost_run -c "sysctl -qw net.ipv6.conf.$iface.accept_dad=0" || return $?
604 tst_rhost_run -c "ip link set $iface up"
635 local iface=$(tst_iface $type $link_num)
637 tst_net_detect_ipv6_iface $iface $type
650 $lsafe ip addr $action $addr dev $iface $dad
655 tst_rhost_run $rsafe -c "ip addr $action $addr dev $iface $dad"