/kernel/tests/net/test/ |
D | cstruct.py | 164 for index, value in enumerate(values): 165 if isinstance(value, str) and index in self._nested: 166 values[index] = self._nested[index](value) 211 def __setattr__(self, name, value): argument 214 self._values[self._FieldIndex(name)] = value 235 def _MaybePackStruct(value): argument 236 if hasattr(value, "__metaclass__"):# and value.__metaclass__ == Meta: 237 return value.Pack() 239 return value 246 def FieldDesc(index, name, value): argument [all …]
|
D | bpf_test.py | 50 nextKey = GetNextKey(map_fd, key).value 51 value = LookupMap(map_fd, nextKey) 52 print repr(nextKey) + " : " + repr(value.value) 169 key, value = 1, 1 172 UpdateMap(self.map_fd, key, value) 173 self.assertEquals(value, LookupMap(self.map_fd, key).value) 177 def CheckAllMapEntry(self, nonexistent_key, totalEntries, value): argument 186 key = result.value 188 self.assertEquals(value, LookupMap(self.map_fd, key).value) 194 value = 1024 [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 | 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 | 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 | resilient_rs_test.py | 129 for tunable, value in PROC_SETTINGS: 130 self.SetSysctl(self._PROC_NET_TUNABLE % (iface, tunable), 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.iteritems(): 371 open(sysctl, "w").write(value)
|
D | tcp_repair_test.py | 270 self.assertEquals(buf.value, 0) 275 self.assertEquals(buf.value, len(TEST_RECV_PAYLOAD)) 284 self.assertEquals(buf.value, 0) 291 self.assertEquals(buf.value, len(TEST_SEND_PAYLOAD)) 300 self.assertEquals(buf.value, len(TEST_SEND_PAYLOAD)) 307 self.assertEquals(buf.value, 0)
|
D | bpf.py | 193 def UpdateMap(map_fd, key, value, flags=0): argument 194 c_value = ctypes.c_uint32(value)
|
D | neighbour_test.py | 105 def assertNeighbourAttr(self, addr, name, value): argument 106 self.assertEquals(value, self.GetNdEntry(addr)[1][name])
|
D | csocket.py | 157 data = struct.pack("=I", data.value) 348 alen = alen.value
|
D | xfrm.py | 336 def _GetConstantName(self, value, prefix): argument 337 return super(Xfrm, self)._GetConstantName(__name__, value, prefix)
|
D | iproute.py | 252 def _GetConstantName(self, value, prefix): argument 253 return super(IPRoute, self)._GetConstantName(__name__, value, prefix)
|
D | multinetwork_test.py | 419 def _SetTCPMarkAcceptSysctl(self, value): argument 420 self.SetSysctl(TCP_MARK_ACCEPT_SYSCTL, value)
|
/kernel/build/ |
D | METADATA | 8 value: "https://source.android.com/setup/build/building-kernels" 12 value: "https://android.googlesource.com/kernel/build"
|
/kernel/configs/ |
D | README.md | 34 value. The platform owner may also have a choice between several config 101 configuration value, either that kernel configuration value must already be
|