Home
last modified time | relevance | path

Searched refs:NS_HANDLE1 (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/containers/netns/
Dnetns_helper.sh41 NS_HANDLE1=
168 NS_HANDLE1=$(ns_create $NS_TYPE)
170 tst_res TINFO "$NS_HANDLE1"
177 $NS_EXEC $NS_HANDLE0 $NS_TYPE ns_ifmove veth1 $NS_HANDLE1
196 NS_HANDLE1=tst_net_ns1
199 ip netns del $NS_HANDLE1 2>/dev/null
203 ip netns add $NS_HANDLE1 || \
209 $NS_EXEC $NS_HANDLE0 ip link set veth1 netns $NS_HANDLE1 || \
229 echo 0 | $NS_EXEC $NS_HANDLE1 $NS_TYPE \
237 $NS_EXEC $NS_HANDLE1 $NS_TYPE ifconfig veth1 $IFCONF_IN6_ARG $IP1/$NETMASK ||
[all …]
Dnetns_comm.sh51 EXPECT_PASS $NS_EXEC $NS_HANDLE1 $NS_TYPE $tping -q -c2 -I veth1 $IP0 1>/dev/null