Searched defs:fcntl (Results 1 - 2 of 2) sorted by relevance
/system/extras/tests/net_test/ |
H A D | net_test.py | 17 import fcntl namespace 96 flags = fcntl.fcntl(fd, fcntl.F_GETFL, 0) 97 fcntl.fcntl(fd, fcntl.F_SETFL, flags | os.O_NONBLOCK) 146 ifr = fcntl.ioctl(s, scapy.SIOCGIFINDEX, ifr) 157 fcntl.ioctl(s, SIOCSIFHWADDR, ifr) 163 ifr = fcntl [all...] |
H A D | multinetwork_base.py | 20 import fcntl namespace 214 fcntl.ioctl(f, TUNSETIFF, ifr)
|
Completed in 135 milliseconds