Home
last modified time | relevance | path

Searched refs:value (Results 1 – 16 of 16) sorted by relevance

/kernel/tests/net/test/
Dbpf_test.py119 next_key = GetNextKey(map_fd, key).value
120 value = LookupMap(map_fd, next_key)
121 print(repr(next_key) + " : " + repr(value.value)) # pylint: disable=superfluous-parens
240 key, value = 1, 1
243 UpdateMap(self.map_fd, key, value)
244 self.assertEqual(value, LookupMap(self.map_fd, key).value)
248 def CheckAllMapEntry(self, nonexistent_key, total_entries, value): argument
257 key = result.value
259 self.assertEqual(value, LookupMap(self.map_fd, key).value)
265 value = 1024
[all …]
Dcstruct.py167 for index, value in enumerate(values):
168 if isinstance(value, str) and index in self._nested:
169 values[index] = self._nested[index](value)
214 def __setattr__(self, name, value): argument
217 self._values[self._FieldIndex(name)] = value
238 def _MaybePackStruct(value): argument
239 if hasattr(value, "__metaclass__"):# and value.__metaclass__ == Meta:
240 return value.Pack()
242 return value
249 def FieldDesc(index, name, value): argument
[all …]
Dsrcaddr_selection_test.py59 def SetIPv6Sysctl(self, ifname, sysctl, value): argument
60 self.SetSysctl("/proc/sys/net/ipv6/conf/%s/%s" % (ifname, sysctl), value)
62 def SetDAD(self, ifname, value): argument
63 self.SetSysctl("/proc/sys/net/ipv6/conf/%s/accept_dad" % ifname, value)
64 self.SetSysctl("/proc/sys/net/ipv6/conf/%s/dad_transmits" % ifname, value)
66 def SetOptimisticDAD(self, ifname, value): argument
67 self.SetSysctl("/proc/sys/net/ipv6/conf/%s/optimistic_dad" % ifname, value)
69 def SetUseTempaddrs(self, ifname, value): argument
70 self.SetSysctl("/proc/sys/net/ipv6/conf/%s/use_tempaddr" % ifname, value)
72 def SetUseOptimistic(self, ifname, value): argument
[all …]
Dnetlink.py82 def _NlAttrStr(self, nla_type, value): argument
83 value = value + "\x00"
84 return self._NlAttr(nla_type, value.encode("UTF-8"))
86 def _NlAttrU32(self, nla_type, value): argument
87 return self._NlAttr(nla_type, struct.pack("=I", value))
89 def _GetConstantName(self, module, value, prefix): argument
96 name.isupper() and getattr(thismodule, name) == value):
98 return value
Dmultinetwork_base.py315 def SetMarkReflectSysctls(cls, value): argument
317 cls.SetSysctl(IPV4_MARK_REFLECT_SYSCTL, value)
318 cls.SetSysctl(IPV6_MARK_REFLECT_SYSCTL, value)
352 def SetSysctl(cls, sysctl, value): argument
358 open(sysctl, "w").write(str(value) + "\n")
361 def SetIPv6SysctlOnAllIfaces(cls, sysctl, value): argument
365 cls.SetSysctl(name, value)
369 for sysctl, value in cls.saved_sysctls.items():
371 open(sysctl, "w").write(value)
Dtcp_repair_test.py270 self.assertEqual(buf.value, 0)
275 self.assertEqual(buf.value, len(TEST_RECV_PAYLOAD))
284 self.assertEqual(buf.value, 0)
291 self.assertEqual(buf.value, len(TEST_SEND_PAYLOAD))
300 self.assertEqual(buf.value, len(TEST_SEND_PAYLOAD))
307 self.assertEqual(buf.value, 0)
Dpf_key.py142 def _GetConstantName(value, prefix): argument
151 name.isupper() and getattr(thismodule, name) == value):
153 return value
156 def _GetMultiConstantName(value, prefixes): argument
158 name = _GetConstantName(value, prefix)
Dneighbour_test.py111 def SetUnicastSolicit(self, proto, iface, value): argument
113 "/proc/sys/net/%s/neigh/%s/ucast_solicit" % (proto, iface), value)
149 def assertNeighbourAttr(self, addr, name, value): argument
150 self.assertEqual(value, self.GetNdEntry(addr)[1][name])
Dresilient_rs_test.py129 for tunable, value in PROC_SETTINGS:
130 self.SetSysctl(self._PROC_NET_TUNABLE % (iface, tunable), value)
Dbpf.py216 def UpdateMap(map_fd, key, value, flags=0): argument
217 c_value = ctypes.c_uint32(value)
Dcsocket.py157 data = struct.pack("=I", data.value)
348 alen = alen.value
Dxfrm.py344 def _GetConstantName(self, value, prefix): argument
345 return super(Xfrm, self)._GetConstantName(__name__, value, prefix)
Diproute.py256 def _GetConstantName(self, value, prefix): argument
257 return super(IPRoute, self)._GetConstantName(__name__, value, prefix)
Dmultinetwork_test.py442 def _SetTCPMarkAcceptSysctl(self, value): argument
443 self.SetSysctl(TCP_MARK_ACCEPT_SYSCTL, value)
/kernel/prebuilts/5.10/x86_64/
Dmodules.builtin.modinfo1value�overlay.parmtype=redirect_max:ushort�overlay.parm=check_copy_up:Obsolete; does nothing�incre…
2 positive value - skip if FWH space locked read-only
3 …negative value - skip always�intel_rng.parmtype=no_fwh_detect:int�amd_rng.author=The Linux Kernel …
11value�scsi_mod.parmtype=default_dev_flags:ullong�scsi_mod.parm=dev_flags:Given scsi_dev_flags=vend…
/kernel/configs/
DREADME.md34 value. The platform owner may also have a choice between several config
105 configuration value, either that kernel configuration value must already be