Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dmultinetwork_test.py97 def CheckPingPacket(self, version, netid, routing_mode, dstaddr, packet): argument
98 s = self.BuildSocket(version, net_test.PingSocket, netid, routing_mode)
113 def CheckTCPSYNPacket(self, version, netid, routing_mode, dstaddr): argument
114 s = self.BuildSocket(version, net_test.TCPSocket, netid, routing_mode)
129 def CheckUDPPacket(self, version, netid, routing_mode, dstaddr): argument
130 s = self.BuildSocket(version, net_test.UDPSocket, netid, routing_mode)
143 if routing_mode != "ucast_oif":
149 def CheckRawGrePacket(self, version, netid, routing_mode, dstaddr): argument
150 s = self.BuildSocket(version, net_test.RawGRESocket, netid, routing_mode)
168 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.py446 def BuildSocket(self, version, constructor, netid, routing_mode): argument
450 if routing_mode not in [None, "uid"]:
451 self.SelectInterface(s, netid, routing_mode)
452 elif routing_mode == "uid":