Home
last modified time | relevance | path

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

/tools/testing/selftests/filesystems/
Ddevpts_pts.c103 int master = -1, slave = -1, fret = -1; in do_tiocgptpeer() local
123 slave = ioctl(master, TIOCGPTPEER, O_RDWR | O_NOCTTY | O_CLOEXEC); in do_tiocgptpeer()
125 if (slave < 0) { in do_tiocgptpeer()
145 ret = login_pty(slave); in do_tiocgptpeer()
181 if (slave >= 0) in do_tiocgptpeer()
182 close(slave); in do_tiocgptpeer()
/tools/testing/selftests/net/forwarding/
Dlib.sh480 for slave in "$@"; do
481 ip link set dev $slave down
482 ip link set dev $slave master $if_name
483 ip link set dev $slave up