Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 10 of 10) sorted by relevance

/kernel/tests/net/test/
Dtun_twister.py73 def __init__(self, fd=None, validator=None): argument
85 self._fd = fd
186 def __init__(self, fd=None, validator=None, drop_multicast=True): argument
197 super(TapTwister, self).__init__(fd=fd, validator=validator)
Drun_net_test.sh7 fd = sys.stdout.fileno()
8 flags = fcntl.fcntl(fd, fcntl.F_GETFL)
10 fcntl.fcntl(fd, fcntl.F_SETFL, flags)
258 mac=$(printf fe:fd:00:00:00:%02x $id)
378 $blockdevice=$ROOTFS $netconfig $consolemode ssl3=null,fd:3 $cmdline \
Danycast_test.py44 def __init__(self, fd): argument
47 self._fd = fd
Dbpf_test.py636 fd = BpfProgGetFdById(
638 assert fd is None
643 fd = BpfProgGetFdById(
645 assert fd is not None
647 assert fd >= self.prog_fd + 1
648 os.close(fd)
649 fd = None
Dnet_test.py183 def SetNonBlocking(fd): argument
184 flags = fcntl.fcntl(fd, fcntl.F_GETFL, 0)
185 fcntl.fcntl(fd, fcntl.F_SETFL, flags | os.O_NONBLOCK)
Dtcp_repair_test.py316 for fd,event in events:
317 if fd == sock.fileno():
Dping6_test.py380 fd = s.fileno()
381 reply = posix.read(fd, 4096)
390 fd = s.fileno()
391 reply = posix.read(fd, 4096)
Dxfrm_algorithm_test.py395 with TapTwister(fd=self.tuns[netid].fileno(), validator=AssertEncrypted):
Dsock_diag_test.py810 for fd, event in poll_events:
813 out.append((fd, "|".join(flags)))
/kernel/tests/net/test/rootfs/
Dbullseye-server.sh37 if [ ! -d /dev/fd ]; then
38 ln -s /proc/self/fd /dev/fd