Home
last modified time | relevance | path

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

/system/extras/tests/net_test/
Dmultinetwork_test.py94 def CheckPingPacket(self, version, netid, routing_mode, dstaddr, packet): argument
95 s = self.BuildSocket(version, net_test.PingSocket, netid, routing_mode)
110 def CheckTCPSYNPacket(self, version, netid, routing_mode, dstaddr): argument
111 s = self.BuildSocket(version, net_test.TCPSocket, netid, routing_mode)
126 def CheckUDPPacket(self, version, netid, routing_mode, dstaddr): argument
127 s = self.BuildSocket(version, net_test.UDPSocket, netid, routing_mode)
140 if routing_mode != "ucast_oif":
146 def CheckRawGrePacket(self, version, netid, routing_mode, dstaddr): argument
147 s = self.BuildSocket(version, net_test.RawGRESocket, netid, routing_mode)
165 def CheckOutgoingPackets(self, routing_mode): argument
[all …]
Dneighbour_test.py197 routing_mode = random.choice(["mark", "oif", "uid"])
198 s = self.BuildSocket(6, net_test.UDPSocket, self.netid, routing_mode)
279 routing_mode = random.choice(["mark", "oif", "uid"])
280 s = self.BuildSocket(6, net_test.UDPSocket, self.netid, routing_mode)
Dmultinetwork_base.py449 def BuildSocket(self, version, constructor, netid, routing_mode): argument
452 if routing_mode not in [None, "uid"]:
453 self.SelectInterface(s, netid, routing_mode)
454 elif routing_mode == "uid":