Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dmultinetwork_base.py365 def GetSysctl(cls, sysctl): argument
366 with open(sysctl, "r") as sysctl_file:
370 def SetSysctl(cls, sysctl, value): argument
374 if sysctl not in cls.saved_sysctls:
375 cls.saved_sysctls[sysctl] = cls.GetSysctl(sysctl)
376 with open(sysctl, "w") as sysctl_file:
380 def SetIPv6SysctlOnAllIfaces(cls, sysctl, value): argument
383 name = "/proc/sys/net/ipv6/conf/%s/%s" % (iface, sysctl)
388 for sysctl, value in cls.saved_sysctls.items():
390 with open(sysctl, "w") as sysctl_file:
Dsrcaddr_selection_test.py59 def SetIPv6Sysctl(self, ifname, sysctl, value): argument
60 self.SetSysctl("/proc/sys/net/ipv6/conf/%s/%s" % (ifname, sysctl), value)
/kernel/tests/net/test/rootfs/
Dstage2.sh59 cat >/etc/sysctl.d/80-nsjail.conf <<EOF