/kernel/tests/net/test/ |
D | bpf_test.py | 119 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 …]
|
D | cstruct.py | 167 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 …]
|
D | srcaddr_selection_test.py | 59 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 …]
|
D | netlink.py | 82 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
|
D | multinetwork_base.py | 315 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)
|
D | tcp_repair_test.py | 270 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)
|
D | pf_key.py | 142 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)
|
D | neighbour_test.py | 111 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])
|
D | resilient_rs_test.py | 129 for tunable, value in PROC_SETTINGS: 130 self.SetSysctl(self._PROC_NET_TUNABLE % (iface, tunable), value)
|
D | bpf.py | 216 def UpdateMap(map_fd, key, value, flags=0): argument 217 c_value = ctypes.c_uint32(value)
|
D | csocket.py | 157 data = struct.pack("=I", data.value) 348 alen = alen.value
|
D | xfrm.py | 344 def _GetConstantName(self, value, prefix): argument 345 return super(Xfrm, self)._GetConstantName(__name__, value, prefix)
|
D | iproute.py | 256 def _GetConstantName(self, value, prefix): argument 257 return super(IPRoute, self)._GetConstantName(__name__, value, prefix)
|
D | multinetwork_test.py | 442 def _SetTCPMarkAcceptSysctl(self, value): argument 443 self.SetSysctl(TCP_MARK_ACCEPT_SYSCTL, value)
|
/kernel/prebuilts/5.10/x86_64/ |
D | modules.builtin.modinfo | 1 …valueoverlay.parmtype=redirect_max:ushortoverlay.parm=check_copy_up:Obsolete; does nothingincre… 2 positive value - skip if FWH space locked read-only 3 …negative value - skip alwaysintel_rng.parmtype=no_fwh_detect:intamd_rng.author=The Linux Kernel … 11 …valuescsi_mod.parmtype=default_dev_flags:ullongscsi_mod.parm=dev_flags:Given scsi_dev_flags=vend…
|
/kernel/configs/ |
D | README.md | 34 value. The platform owner may also have a choice between several config 105 configuration value, either that kernel configuration value must already be
|