Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 6 of 6) sorted by relevance

/kernel/tests/net/test/
Dmultinetwork_test.py221 for mode in modes:
234 self.SelectInterface(s, netid, mode)
250 self.SelectInterface(s, netid, mode)
257 connected_str, version, mode, desc, self.GetInterfaceName(netid))
264 if use_connect and mode in ["mark", "uid", "ucast_oif"]:
274 self.SelectInterface(s, None, mode)
456 def CheckTCPConnection(self, mode, listensocket, netid, version, argument
491 if mode == self.MODE_INCOMING_MARK:
495 elif mode != self.MODE_EXPLICIT_MARK:
523 for mode in modes:
[all …]
Dxfrm.py244 def AddSaInfo(self, selector, xfrm_id, saddr, lifetimes, reqid, family, mode, argument
251 reqid, family, mode, replay_window, flags))
256 def AddMinimalSaInfo(self, src, dst, spi, proto, mode, reqid, argument
269 reqid, family, mode, 4, 0, nlattrs)
Dmultinetwork_base.py433 def SelectInterface(self, s, netid, mode): argument
434 if mode == "uid":
436 elif mode == "mark":
438 elif mode == "oif":
441 elif mode == "ucast_oif":
444 raise ValueError("Unknown interface selection mode %s" % mode)
Dsrcaddr_selection_test.py75 def GetSourceIP(self, netid, mode="mark"): argument
76 s = self.BuildSocket(6, net_test.UDPSocket, netid, mode)
Dping6_test.py619 for mode in ["oif", "ucast_oif", None]:
625 if mode:
626 self.SelectInterface(s, netid, mode)
631 if mode == "oif":
DREADME29 net_test compiles the kernel to a user-mode linux binary, which runs as a