Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dforwarding_test.py99 listensocket = net_test.IPv6TCPSocket()
100 self.SetSocketMark(listensocket, netid)
101 listenport = net_test.BindRandomPort(version, listensocket)
113 accepted, peer = listensocket.accept()
144 listensocket.close()
Dmultinetwork_test.py416 cls.listensocket = net_test.IPv6TCPSocket()
417 cls.listenport = net_test.BindRandomPort(6, cls.listensocket)
422 def CheckTCPConnection(self, mode, listensocket, netid, version, argument
436 s, _ = listensocket.accept()
462 self.assertEquals(0, self.GetSocketMark(listensocket))
491 listensocket = self.listensocket
492 listenport = listensocket.getsockname()[1]
499 self.BindToDevice(listensocket, bound_dev)
502 self.SetSocketMark(listensocket, mark)
505 os.fchown(listensocket.fileno(), uid, -1)
[all …]