Searched refs:NS_EXEC (Results 1 – 3 of 3) sorted by relevance
20 NS_EXEC=160 NS_EXEC="ns_exec"174 $NS_EXEC $NS_HANDLE0 $NS_TYPE ip link add veth0 type veth peer name veth1 || \177 $NS_EXEC $NS_HANDLE0 $NS_TYPE ns_ifmove veth1 $NS_HANDLE1193 NS_EXEC="ip netns exec"206 $NS_EXEC $NS_HANDLE0 ip link add veth0 type veth peer name veth1 || \209 $NS_EXEC $NS_HANDLE0 ip link set veth1 netns $NS_HANDLE1 || \217 [ "$NS_EXEC" ] || tst_brk TBROK "netns_setup() function must be called first"226 echo 0 | $NS_EXEC $NS_HANDLE0 $NS_TYPE \229 echo 0 | $NS_EXEC $NS_HANDLE1 $NS_TYPE \[all …]
49 EXPECT_PASS $NS_EXEC $NS_HANDLE0 $NS_TYPE $tping -q -c2 -I veth0 $IP1 1>/dev/null51 EXPECT_PASS $NS_EXEC $NS_HANDLE1 $NS_TYPE $tping -q -c2 -I veth1 $IP0 1>/dev/null59 $NS_EXEC $NS_HANDLE0 $NS_TYPE ip link set dev lo up || \63 $NS_EXEC $NS_HANDLE0 $NS_TYPE ifconfig lo up || \67 EXPECT_PASS $NS_EXEC $NS_HANDLE0 $NS_TYPE $tping -q -c2 -I lo $ip_lo 1>/dev/null
46 EXPECT_FAIL $NS_EXEC $NS_HANDLE0 $NS_TYPE ip address add $IP1/$NETMASK dev veth149 EXPECT_FAIL $NS_EXEC $NS_HANDLE0 $NS_TYPE ifconfig veth1 $IFCONF_IN6_ARG $IP1/$NETMASK