Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/containers/netns/
Dnetns_helper.sh53 NS_HANDLE0=""
188 NS_HANDLE0=$(ns_create $NS_TYPE)
190 tst_resm TINFO "$NS_HANDLE0"
200 $NS_EXEC $NS_HANDLE0 $NS_TYPE ip link add veth0 type veth peer name veth1 || \
203 $NS_EXEC $NS_HANDLE0 $NS_TYPE ns_ifmove veth1 $NS_HANDLE1
225 NS_HANDLE0=tst_net_ns0
228 ip netns del $NS_HANDLE0 2>/dev/null
231 ip netns add $NS_HANDLE0 || \
236 $NS_EXEC $NS_HANDLE0 ip link add veth0 type veth peer name veth1 || \
239 $NS_EXEC $NS_HANDLE0 ip link set veth1 netns $NS_HANDLE1 || \
[all …]
Dnetns_comm.sh58 $NS_EXEC $NS_HANDLE0 $NS_TYPE $tping -q -c2 -I veth0 $IP1 1>/dev/null
82 $NS_EXEC $NS_HANDLE0 $NS_TYPE ip link set dev lo up || \
86 $NS_EXEC $NS_HANDLE0 $NS_TYPE ifconfig lo up || \
90 $NS_EXEC $NS_HANDLE0 $NS_TYPE $tping -q -c2 -I lo $IP_LO 1>/dev/null
Dnetns_breakns.sh55 $NS_EXEC $NS_HANDLE0 $NS_TYPE ip address add $IP1/$NETMASK dev veth1 2>/dev/null
65 $NS_EXEC $NS_HANDLE0 $NS_TYPE ifconfig veth1 $IFCONF_IN6_ARG $IP1/$NETMASK 2>/dev/null