Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 8 of 8) 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)
230 mac=$(printf fe:fd:00:00:00:%02x $id)
344 $blockdevice=$ROOTFS $netconfig $consolemode ssl3=null,fd:3 $cmdline \
Dping6_test.py373 fd = s.fileno()
374 reply = posix.read(fd, 4096)
382 fd = s.fileno()
383 reply = posix.read(fd, 4096)
Dnet_test.py123 def SetNonBlocking(fd): argument
124 flags = fcntl.fcntl(fd, fcntl.F_GETFL, 0)
125 fcntl.fcntl(fd, fcntl.F_SETFL, flags | os.O_NONBLOCK)
Danycast_test.py43 def __init__(self, fd): argument
46 self._fd = fd
Dtcp_repair_test.py316 for fd,event in events:
317 if fd == sock.fileno():
Dsock_diag_test.py828 for fd, event in poll_events:
831 out.append((fd, "|".join(flags)))
Dxfrm_algorithm_test.py383 with TapTwister(fd=self.tuns[netid].fileno(), validator=AssertEncrypted):