Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/containers/netns/
Dnetns_helper.sh33 NS_EXEC=""
186 NS_EXEC="ns_exec"
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
223 NS_EXEC="ip netns exec"
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 || \
248 if [ -z "$NS_EXEC" ]; then
259 echo 0 | $NS_EXEC $NS_HANDLE0 $NS_TYPE \
262 echo 0 | $NS_EXEC $NS_HANDLE1 $NS_TYPE \
[all …]
Dnetns_comm.sh58 $NS_EXEC $NS_HANDLE0 $NS_TYPE $tping -q -c2 -I veth0 $IP1 1>/dev/null
67 $NS_EXEC $NS_HANDLE1 $NS_TYPE $tping -q -c2 -I veth1 $IP0 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