Searched defs:fcntl (Results 1 - 2 of 2) sorted by relevance

/system/extras/tests/net_test/
H A Dnet_test.py17 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 Dmultinetwork_base.py20 import fcntl namespace
214 fcntl.ioctl(f, TUNSETIFF, ifr)

Completed in 77 milliseconds