Searched refs:NETDEVSIM_PATH (Results 1 – 3 of 3) sorted by relevance
24 NETDEVSIM_PATH=/sys/bus/netdevsim/38 if [ ! -d "$NETDEVSIM_PATH" ]; then43 if [ -d "${NETDEVSIM_PATH}/devices/netdevsim${DEV_ADDR}" ]; then434 echo "$DEV_ADDR 0" > ${NETDEVSIM_PATH}/new_device439 echo "$DEV_ADDR" > ${NETDEVSIM_PATH}/del_device444 echo 1 > ${NETDEVSIM_PATH}/devices/${DEV}/new_port449 echo 1 > ${NETDEVSIM_PATH}/devices/${DEV}/del_port458 if [ ! -d "${NETDEVSIM_PATH}/devices/${DEV}" ]; then465 if [ ! -d "${NETDEVSIM_PATH}/devices/${DEV}/net/" ]; then473 NETDEV=$(ls ${NETDEVSIM_PATH}/devices/${DEV}/net/)
33 NETDEVSIM_PATH=/sys/bus/netdevsim/311 echo "$DEV_ADDR 1" > ${NETDEVSIM_PATH}/new_device331 echo "$DEV_ADDR" > ${NETDEVSIM_PATH}/del_device
20 NETDEVSIM_PATH=/sys/bus/netdevsim/49 $NS_EXEC echo "$DEV_ADDR 1" > ${NETDEVSIM_PATH}/new_device51 local netdev=$($NS_EXEC ls ${NETDEVSIM_PATH}/devices/${DEV}/net/)59 $NS_EXEC echo "$DEV_ADDR" > ${NETDEVSIM_PATH}/del_device