Home
last modified time | relevance | path

Searched refs:routing_mode (Results 1 – 3 of 3) sorted by relevance

/kernel/tests/net/test/
Dmultinetwork_test.py57 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 …]
Dneighbour_test.py198 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)
Dmultinetwork_base.py498 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":