Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 64) sorted by relevance

123

/kernel/tests/net/test/
Diproute.py291 name = self._GetConstantName(nla_type, "RTAX_")
293 name = self._GetConstantName(nla_type, "IFLA_INFO_")
295 name = self._GetConstantName(nla_type, "IFLA_VTI_")
297 name = self._GetConstantName(nla_type, "IFA_")
299 name = self._GetConstantName(nla_type, "IFLA_")
301 name = self._GetConstantName(nla_type, "FRA_")
303 name = self._GetConstantName(nla_type, "RTA_")
305 name = self._GetConstantName(nla_type, "NDA_")
308 name = nla_type
310 if name in ["FRA_PRIORITY", "FRA_FWMARK", "FRA_TABLE", "FRA_FWMASK",
[all …]
Dsock_diag.py124 name = self._GetConstantName(__name__, nla_type, prefix)
127 name = nla_type
129 if name in ["INET_DIAG_SHUTDOWN", "INET_DIAG_TOS", "INET_DIAG_TCLASS",
132 elif name == "INET_DIAG_CONG":
134 elif name == "INET_DIAG_MEMINFO":
136 elif name == "INET_DIAG_INFO":
139 elif name == "INET_DIAG_SKMEMINFO":
141 elif name == "INET_DIAG_MARK":
143 elif name == "INET_DIAG_REQ_BYTECODE":
145 elif name in ["INET_DIAG_LOCALS", "INET_DIAG_PEERS"]:
[all …]
Dxfrm_algorithm_test.py147 return AlgoEnforcedOrEnabled(crypt, auth, None, auth.name, authCase[1])
153 return AlgoEnforcedOrEnabled(crypt, auth, None, crypt.name, cryptCase[1])
158 return AlgoEnforcedOrEnabled(None, None, aead, aead.name, aeadCase[1])
186 param_string += "%s_%d_" % (crypt.name, crypt.key_len)
190 param_string += "%s_%d_%d_" % (auth.name, auth.key_len,
195 param_string += "%s_%d_%d_" % (aead.name, aead.key_len,
235 auth_left = (xfrm.XfrmAlgoAuth((auth.name, auth.key_len, auth.trunc_len)),
237 auth_right = (xfrm.XfrmAlgoAuth((auth.name, auth.key_len, auth.trunc_len)),
239 crypt_left = (xfrm.XfrmAlgo((crypt.name, crypt.key_len)),
241 crypt_right = (xfrm.XfrmAlgo((crypt.name, crypt.key_len)),
[all …]
Dcstruct.py92 def Struct(name, fmt, fieldnames, substructs={}): argument
110 _name = name
211 def __getattr__(self, name): argument
212 return self._values[self._FieldIndex(name)]
214 def __setattr__(self, name, value): argument
217 self._values[self._FieldIndex(name)] = value
219 def offset(self, name): argument
220 if "." in name:
222 return self._offsets[name]
249 def FieldDesc(index, name, value): argument
[all …]
Dxfrm.py373 name = self._GetConstantName(nla_type, "XFRMA_")
375 if name in ["XFRMA_ALG_CRYPT", "XFRMA_ALG_AUTH"]:
377 elif name == "XFRMA_ALG_AUTH_TRUNC":
379 elif name == "XFRMA_ENCAP":
381 elif name == "XFRMA_MARK":
383 elif name == "XFRMA_OUTPUT_MARK":
385 elif name == "XFRMA_TMPL":
387 elif name == "XFRMA_IF_ID":
392 return name, data
Dgenetlink.py98 name = self._GetConstantName(__name__, nla_type, "CTRL_ATTR_")
100 if name == "CTRL_ATTR_FAMILY_ID":
102 elif name == "CTRL_ATTR_FAMILY_NAME":
104 elif name in ["CTRL_ATTR_VERSION", "CTRL_ATTR_HDRSIZE", "CTRL_ATTR_MAXATTR"]:
106 elif name == "CTRL_ATTR_OPS":
111 return name, data
113 def GetFamily(self, name): argument
115 data = self._NlAttrStr(CTRL_ATTR_FAMILY_NAME, name)
Dtcp_metrics.py67 name = self._GetConstantName(__name__, nla_type, "TCP_METRICS_ATTR_")
69 if name in ["TCP_METRICS_ATTR_ADDR_IPV4", "TCP_METRICS_ATTR_SADDR_IPV4"]:
71 elif name in ["TCP_METRICS_ATTR_ADDR_IPV6", "TCP_METRICS_ATTR_SADDR_IPV6"]:
73 elif name in ["TCP_METRICS_ATTR_AGE"]:
75 elif name in ["TCP_METRICS_ATTR_TW_TSVAL", "TCP_METRICS_ATTR_TW_TS_STAMP"]:
77 elif name == "TCP_METRICS_ATTR_FOPEN_MSS":
79 elif name == "TCP_METRICS_ATTR_FOPEN_COOKIE":
84 return name, data
Dpf_key.py149 for name in sorted(dir(thismodule), key=len):
150 if (name.startswith(prefix) and
151 name.isupper() and getattr(thismodule, name) == value):
152 return name
158 name = _GetConstantName(value, prefix)
160 int(name)
163 return name
Dbuild_rootfs.sh67 name=$OPTARG
80 if [[ -z "${name}" ]]; then
81 name=net_test.rootfs.${arch}.${suite}.`date +%Y%m%d`
140 truncate -s 1G $name
141 mke2fs -F -t ext3 -L ROOT $name
144 sudo mount -o loop -t ext3 $name $mount
158 echo "Debian $suite for $arch filesystem generated at '$name'."
Dnetlink.py91 for name in dir(thismodule):
92 if name.startswith("INET_DIAG_BC"):
94 if (name.startswith(prefix) and
95 not name.startswith(prefix + "F_") and
96 name.isupper() and getattr(thismodule, name) == value):
97 return name
Dping6_test.py92 for name in layers:
93 sums[name] = GetAndClearChecksum(packet.getlayer(name))
98 for name in layers:
99 layer = packet.getlayer(name)
100 if layer and GetChecksum(layer) != sums[name]:
313 def CheckSockStatFile(self, name, srcaddr, srcport, dstaddr, dstport, state, argument
320 for actual in self.ReadProcNetSocket(name):
Dneighbour_test.py149 def assertNeighbourAttr(self, addr, name, value): argument
150 self.assertEqual(value, self.GetNdEntry(addr)[1][name])
158 for name in attrs:
159 self.assertEqual(attrs[name], actual_attrs[name])
Dall_tests.py56 for name in test_modules:
57 importlib.import_module(name)
58 if hasattr(sys.modules[name], 'InjectTests'):
59 sys.modules[name].InjectTests()
Dpf_key_test.py77 self.assertTrue(attrs4["XFRMA_ALG_CRYPT"].name.startswith(aes_name))
78 self.assertTrue(attrs6["XFRMA_ALG_CRYPT"].name.startswith(aes_name))
79 self.assertTrue(attrs4["XFRMA_ALG_AUTH"].name.startswith(sha256_name))
80 self.assertTrue(attrs6["XFRMA_ALG_AUTH"].name.startswith(sha256_name))
Dutil.py33 param_test_names = [name for name in dir(cls) if name.startswith("ParamTest")]
Dparameterization_test.py64 actual = [name for name in dir(self) if name.startswith("testDummyFunc")]
DAndroid.bp12 name: "kernel_net_tests_defaults",
27 name: "kernel_net_tests",
33 name: "vts_kernel_net_tests",
Dmultinetwork_base.py364 name = "/proc/sys/net/ipv6/conf/%s/%s" % (iface, sysctl)
365 cls.SetSysctl(name, value)
Dsock_diag_test.py829 flags = [name for (flag, name) in self.POLL_FLAGS
/kernel/prebuilts/common-modules/virtual-device/5.4/arm64/
DAndroid.bp16 name: "virt_device_prebuilts_initramfs-5.4-arm64",
21 name: "virt_device_prebuilts_kernel_modules-5.4-arm64",
/kernel/prebuilts/common-modules/virtual-device/5.10/x86-64/
DAndroid.bp16 name: "virt_device_prebuilts_initramfs-5.10-x86_64",
21 name: "virt_device_prebuilts_kernel_modules-5.10-x86_64",
/kernel/prebuilts/common-modules/virtual-device/5.10/arm64/
DAndroid.bp16 name: "virt_device_prebuilts_initramfs-5.10-arm64",
21 name: "virt_device_prebuilts_kernel_modules-5.10-arm64",
/kernel/prebuilts/common-modules/virtual-device/5.4/x86-64/
DAndroid.bp16 name: "virt_device_prebuilts_initramfs-5.4-x86_64",
21 name: "virt_device_prebuilts_kernel_modules-5.4-x86_64",
/kernel/tests/
DAndroid.bp20 name: "kernel_tests_license",
30 name: "kernel_tests_defaults",
/kernel/configs/tools/
DAndroid.bp11 name: "kconfig_xml_fixup",

123