Searched refs:routing_mode (Results 1 – 3 of 3) sorted by relevance
/kernel/tests/net/test/ |
D | multinetwork_test.py | 57 def CheckPingPacket(self, version, netid, routing_mode, packet): argument 58 s = self.BuildSocket(version, net_test.PingSocket, netid, routing_mode) 76 def CheckTCPSYNPacket(self, version, netid, routing_mode): argument 77 s = self.BuildSocket(version, net_test.TCPSocket, netid, routing_mode) 93 def CheckUDPPacket(self, version, netid, routing_mode): argument 94 s = self.BuildSocket(version, net_test.UDPSocket, netid, routing_mode) 108 if routing_mode != "ucast_oif": 114 def CheckRawGrePacket(self, version, netid, routing_mode): argument 115 s = self.BuildSocket(version, net_test.RawGRESocket, netid, routing_mode) 134 def CheckOutgoingPackets(self, routing_mode): argument [all …]
|
D | neighbour_test.py | 198 routing_mode = random.choice(["mark", "oif", "uid"]) 199 s = self.BuildSocket(6, net_test.UDPSocket, self.netid, routing_mode) 280 routing_mode = random.choice(["mark", "oif", "uid"]) 281 s = self.BuildSocket(6, net_test.UDPSocket, self.netid, routing_mode)
|
D | multinetwork_base.py | 498 def BuildSocket(self, version, constructor, netid, routing_mode): argument 502 if routing_mode not in [None, "uid"]: 503 self.SelectInterface(s, netid, routing_mode) 504 elif routing_mode == "uid":
|