Home
last modified time | relevance | path

Searched refs:NetNS (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dlink_netns.py8 from lib.py import NetNS, NetNSEnter
17 with NetNS() as ns1, NetNS() as ns2:
41 with NetNS() as ns1, NetNS() as ns2:
112 with NetNS() as ns1, NetNS() as ns2, NetNS() as ns3:
153 with NetNS() as ns1, NetNS() as ns2, NetNS() as ns3, NetNS() as ns4:
H A Drtnetlink.py9 from lib.py import CmdExitFailure, NetNS, NetNSEnter, RtnlAddrFamily, RtnlRouteFamily
36 with NetNS() as ns:
79 with NetNS() as ns:
114 with NetNS() as ns:
186 with NetNS() as ns:
260 with NetNS() as ns_h, NetNS() as ns_r:
303 with NetNS() as ns:
H A Dcork_fragsize.py17 NetNS,
83 def dummy_netdev(ns: NetNS, mtu: int, ipv6: bool) -> None: argument
144 NetNS() as ns,
169 NetNS() as ns,
/linux/tools/testing/selftests/net/lib/py/
H A D__init__.py13 from .netns import NetNS, NetNSEnter, UserNetNS
H A Dnetns.py16 class NetNS:
39 return f"NetNS({self.name})"
11 class NetNS: global() class
/linux/tools/testing/selftests/drivers/net/lib/py/
H A D__init__.py21 from net.lib.py import NetNS, NetNSEnter, NetdevSimDev, UserNetNS
35 __all__ = ["NetNS", "NetNSEnter", "NetdevSimDev", "UserNetNS",
H A Denv.py12 from lib.py import NetNS, NetdevSimDev, UserNetNS
200 self._netns = NetNS()
505 self.netns = UserNetNS() if self._userns else NetNS()
/linux/tools/testing/selftests/drivers/net/hw/lib/py/
H A D__init__.py21 from net.lib.py import NetNS, NetNSEnter, NetdevSimDev, UserNetNS
37 __all__ = ["NetNS", "NetNSEnter", "NetdevSimDev", "UserNetNS",