Home
last modified time | relevance | path

Searched refs:NS_HANDLE0 (Results 1 – 3 of 3) sorted by relevance

/third_party/ltp/testcases/kernel/containers/netns/
Dnetns_helper.sh40 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_HANDLE1
195 NS_HANDLE0=tst_net_ns0
198 ip netns del $NS_HANDLE0 2>/dev/null
201 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 …]
Dnetns_comm.sh49 EXPECT_PASS $NS_EXEC $NS_HANDLE0 $NS_TYPE $tping -q -c2 -I veth0 $IP1 1>/dev/null
59 $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
Dnetns_breakns.sh46 EXPECT_FAIL $NS_EXEC $NS_HANDLE0 $NS_TYPE ip address add $IP1/$NETMASK dev veth1
49 EXPECT_FAIL $NS_EXEC $NS_HANDLE0 $NS_TYPE ifconfig veth1 $IFCONF_IN6_ARG $IP1/$NETMASK