Searched refs:NS_HANDLE0 (Results 1 – 3 of 3) sorted by relevance
40 NS_HANDLE0=162 NS_HANDLE0=$(ns_create $NS_TYPE)164 tst_res TINFO "$NS_HANDLE0"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_HANDLE1195 NS_HANDLE0=tst_net_ns0198 ip netns del $NS_HANDLE0 2>/dev/null201 ip netns add $NS_HANDLE0 || \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 || \[all …]
49 EXPECT_PASS $NS_EXEC $NS_HANDLE0 $NS_TYPE $tping -q -c2 -I veth0 $IP1 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