/openthread-latest/src/core/net/ |
D | dhcp6_client.cpp | 299 ElapsedTime option; in AppendElapsedTime() local 301 option.Init(); in AppendElapsedTime() 302 … option.SetElapsedTime(static_cast<uint16_t>(Time::MsecToSec(TimerMilli::GetNow() - mStartTime))); in AppendElapsedTime() 303 return aMessage.Append(option); in AppendElapsedTime() 308 ClientIdentifier option; in AppendClientIdentifier() local 313 option.Init(); in AppendClientIdentifier() 314 option.SetDuidType(kDuidLinkLayerAddress); in AppendClientIdentifier() 315 option.SetDuidHardwareType(kHardwareTypeEui64); in AppendClientIdentifier() 316 option.SetDuidLinkLayerAddress(eui64); in AppendClientIdentifier() 318 return aMessage.Append(option); in AppendClientIdentifier() [all …]
|
D | dhcp6_server.cpp | 228 Option option; in FindOption() local 230 SuccessOrExit(aMessage.Read(aOffset, option)); in FindOption() 232 if (option.GetCode() == aCode) in FindOption() 237 aOffset += sizeof(option) + option.GetLength(); in FindOption() 259 ElapsedTime option; in ProcessElapsedTime() local 261 SuccessOrExit(error = aMessage.Read(aOffset, option)); in ProcessElapsedTime() 262 VerifyOrExit(option.GetLength() == sizeof(option) - sizeof(Option), error = kErrorParse); in ProcessElapsedTime() 298 IaAddress option; in ProcessIaAddress() local 300 SuccessOrExit(error = aMessage.Read(aOffset, option)); in ProcessIaAddress() 301 VerifyOrExit(option.GetLength() == sizeof(option) - sizeof(Option), error = kErrorParse); in ProcessIaAddress() [all …]
|
D | nd6.cpp | 221 Option *option = nullptr; in AppendOption() local 225 option = reinterpret_cast<Option *>(&mArray[oldLength]); in AppendOption() 228 return option; in AppendOption() 250 Option option; in AppendLinkLayerOption() local 255 option.SetType(aType); in AppendLinkLayerOption() 256 option.SetSize(size); in AppendLinkLayerOption() 258 SuccessOrExit(error = Append(option)); in AppendLinkLayerOption() 265 for (; size < option.GetSize(); size++) in AppendLinkLayerOption()
|
D | ip6_mpl.cpp | 89 MplOption option; in ProcessOption() local 93 SuccessOrExit(error = aMessage.Read(aOffsetRange, &option, MplOption::kMinSize)); in ProcessOption() 95 switch (option.GetSeedIdLength()) in ProcessOption() 100 option.SetSeedId(aAddress.GetIid().GetLocator()); in ProcessOption() 104 SuccessOrExit(error = aMessage.Read(aOffsetRange, option)); in ProcessOption() 113 error = UpdateSeedSet(option.GetSeedId(), option.GetSequence()); in ProcessOption() 118 AddBufferedMessage(aMessage, option.GetSeedId(), option.GetSequence()); in ProcessOption()
|
D | ip6.cpp | 304 Option option; in RemoveMplOption() local 318 for (; !offsetRange.IsEmpty(); offsetRange.AdvanceOffset(option.GetSize())) in RemoveMplOption() 320 SuccessOrExit(error = option.ParseFrom(aMessage, offsetRange)); in RemoveMplOption() 322 if (option.IsPadding()) in RemoveMplOption() 327 if (option.GetType() == MplOption::kType) in RemoveMplOption() 336 mplOffsetRange.ShrinkLength(option.GetSize()); in RemoveMplOption() 338 VerifyOrExit(option.GetSize() <= sizeof(MplOption), error = kErrorParse); in RemoveMplOption() 513 Option option; in HandleOptions() local 520 for (; !offsetRange.IsEmpty(); offsetRange.AdvanceOffset(option.GetSize())) in HandleOptions() 522 SuccessOrExit(error = option.ParseFrom(aMessage, offsetRange)); in HandleOptions() [all …]
|
/openthread-latest/third_party/mbedtls/repo/tests/scripts/ |
D | depends.py | 120 def option_exists(conf, option): argument 121 return option in conf.settings 123 def set_config_option_value(conf, option, colors, value: Union[bool, str]): argument 127 if not option_exists(conf, option): 128 log_line('Symbol {} was not found in {}'.format(option, conf.filename), color=colors.red) 132 log_command(['config.py', 'unset', option]) 133 conf.unset(option) 135 log_command(['config.py', 'set', option]) 136 conf.set(option) 138 log_command(['config.py', 'set', option, value]) [all …]
|
D | list-identifiers.sh | 48 iteration of list-identifiers.sh, of which only the --internal option remains in
|
/openthread-latest/src/posix/platform/ |
D | CMakeLists.txt | 33 option(OT_DAEMON "Enable daemon mode" OFF) 55 option(OT_POSIX_INSTALL_EXTERNAL_ROUTES "Install External Routes as IPv6 routes" ON) 66 option(OT_POSIX_VIRTUAL_TIME "enable virtual time" OFF) 73 option(OT_POSIX_MAX_POWER_TABLE "enable max power table" OFF) 80 option(OT_POSIX_SECURE_SETTINGS "enable secure settings" OFF) 87 option(OT_POSIX_RCP_HDLC_BUS "enable RCP HDLC bus" OFF) 94 option(OT_POSIX_RCP_SPI_BUS "enable RCP SPI bus" OFF) 101 option(OT_POSIX_RCP_VENDOR_BUS "enable RCP vendor bus" OFF) 178 option(OT_TARGET_OPENWRT "enable openthread posix for OpenWRT" OFF)
|
/openthread-latest/third_party/mbedtls/repo/docs/ |
D | use-psa-crypto.md | 1 This document describes the compile-time configuration option 4 This option: 14 **Application code:** when this option is enabled, you need to call 19 **Why enable this option:** to fully take advantage of PSA drivers in PK, 20 X.509 and TLS. For example, enabling this option is what allows use of drivers 22 this option disabled, some code in PK, X.509, TLS or the crypto library might 26 **Relationship with other options:** This option depends on 44 depending on this option being set or not are: 52 **Historical note:** This option was introduced at a time when PSA Crypto was 148 the documentation of that option). [all …]
|
D | 3.0-migration-guide.md | 90 ### Remove `MBEDTLS_CHECK_PARAMS` option 93 affects users who enabled that option. 95 The option `MBEDTLS_CHECK_PARAMS` (disabled by default) enabled certain kinds 116 basis, but their presence will no longer be dependent on a compile-time option. 123 ### Remove the `MBEDTLS_TEST_NULL_ENTROPY` configuration option 125 This does not affect users who use the default `mbedtls_config.h`, as this option was 128 If you were using the `MBEDTLS_TEST_NULL_ENTROPY` option and your platform 201 The option `MBEDTLS_ECP_FIXED_POINT_OPTIM` now increases code size and it does 207 of this option for details. 216 you will need to add `#define MBEDTLS_SHA224_C` option to your config. [all …]
|
/openthread-latest/examples/platforms/simulation/ |
D | CMakeLists.txt | 33 option(OT_SIMULATION_VIRTUAL_TIME "enable virtual time") 38 option(OT_SIMULATION_VIRTUAL_TIME_UART "enable virtual time for UART") 43 option(OT_SIMULATION_MAX_NETWORK_SIZE "set maximum network size (default: 33)") 48 option(OT_SIMULATION_INFRA_IF "enable simulation infra if" ON) 55 option(OT_SIMULATION_DNSSD "enable simulation dnssd" ON)
|
/openthread-latest/src/posix/ |
D | main.c | 145 static const struct option kOptions[] = { 201 int option = getopt_long(aArgCount, aArgVector, "B:d:hI:nps:v", kOptions, &index); in ParseArg() local 203 if (option == -1) in ParseArg() 208 switch (option) in ParseArg()
|
D | client.cpp | 217 const struct option kOptions[] = { 245 …for (int index, option; (option = getopt_long(aArgCount, aArgVector, "+I:h", kOptions, &index)) !=… in ParseArg() local 247 switch (option) in ParseArg()
|
/openthread-latest/etc/cmake/ |
D | options.cmake | 29 option(OT_APP_CLI "enable CLI app" ON) 30 option(OT_APP_NCP "enable NCP app" ON) 31 option(OT_APP_RCP "enable RCP app" ON) 33 option(OT_FTD "enable FTD" ON) 34 option(OT_MTD "enable MTD" ON) 35 option(OT_RCP "enable RCP" ON) 37 option(OT_LINKER_MAP "generate .map files for example apps" ON) 263 option(OT_DOC "build OpenThread documentation") 309 option(OT_FULL_LOGS "enable full logs") 352 option(OT_BUILTIN_MBEDTLS_MANAGEMENT "enable builtin mbedtls management" ON) [all …]
|
/openthread-latest/tests/scripts/thread-cert/ |
D | coap.py | 139 option = CoapOption(_type, value) 140 options.append(option) 383 for option in options: 384 if option.type == CoapOptionsTypes.URI_PATH: 385 uri_path_options.append(option.value.decode("utf-8"))
|
D | ipv6.py | 710 for option in self.options: 711 payload_length += len(option) 726 for option in self.options: 727 data += option.to_bytes() 988 option = HopByHopOption( 993 options.append(option)
|
/openthread-latest/src/ncp/ |
D | CMakeLists.txt | 52 option(OT_NCP_INFRA_IF "enable NCP Infra If support") 59 option(OT_NCP_DNSSD "enable NCP DNSSD") 71 option(OT_NCP_SPI "enable NCP SPI support")
|
/openthread-latest/third_party/mbedtls/repo/library/ |
D | CMakeLists.txt | 1 option(USE_STATIC_MBEDTLS_LIBRARY "Build Mbed TLS static library." ON) 2 option(USE_SHARED_MBEDTLS_LIBRARY "Build Mbed TLS shared library." OFF) 3 option(LINK_WITH_PTHREAD "Explicitly link Mbed TLS library to pthread." OFF) 4 option(LINK_WITH_TRUSTED_STORAGE "Explicitly link Mbed TLS library to trusted_storage." OFF) 208 option(MSVC_STATIC_RUNTIME "Build the libraries with /MT compiler flag" OFF)
|
/openthread-latest/tests/ |
D | CMakeLists.txt | 29 option(OT_BUILD_GTEST "enable gtest") 38 option(OT_FUZZ_TARGETS "enable fuzz targets" OFF)
|
/openthread-latest/ |
D | CMakeLists.txt | 38 option(OT_BUILD_EXECUTABLES "Build executables" ON) 39 option(OT_COVERAGE "enable coverage" OFF) 41 option(OT_MBEDTLS_THREADING "enable mbedtls threading" OFF) 83 …option(OT_COMPILE_WARNING_AS_ERROR "whether to include -Werror -pedantic-errors with gcc-compatibl…
|
/openthread-latest/third_party/mbedtls/repo/ |
D | CMakeLists.txt | 61 option(ENABLE_PROGRAMS "Build Mbed TLS programs." ON) 63 option(UNSAFE_BUILD "Allow unsafe builds. These builds ARE NOT SECURE." OFF) 64 option(MBEDTLS_FATAL_WARNINGS "Compiler warnings treated as errors" ON) 69 option(GEN_FILES "Generate the auto-generated files as needed" OFF) # off in development 71 option(GEN_FILES "Generate the auto-generated files as needed" OFF) 74 option(DISABLE_PACKAGE_CONFIG_AND_INSTALL "Disable package configuration, target export and install… 83 option(ENABLE_TESTING "Build Mbed TLS tests." OFF) 85 option(ENABLE_TESTING "Build Mbed TLS tests." ON)
|
/openthread-latest/third_party/mbedtls/repo/include/ |
D | CMakeLists.txt | 1 option(INSTALL_MBEDTLS_HEADERS "Install Mbed TLS headers." ON)
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_mps.function | 353 void mbedtls_mps_reader_pausing(int option) 369 * `option` parameter and documented below. 395 switch (option) { 412 switch (option) { 480 void mbedtls_mps_reader_pausing_multiple_feeds(int option) 523 switch (option) { 558 switch (option) { 587 void mbedtls_mps_reader_reclaim_data_left(int option) 605 switch (option) { 685 void mbedtls_mps_reader_multiple_pausing(int option) [all …]
|
/openthread-latest/tools/cp-caps/ |
D | README.md | 87 The option `-d` or `--diag-commands` tests all diag commands. 136 The option `-c` or `--csl` tests whether the RCP supports the CSL transmitter. 145 The option `-p` or `--data-poll` tests whether the RCP supports data poll. 155 The option `-l` or `--link-metrics` tests whether the RCP supports link metrics. 165 The option `-t` or `--throughput` tests the Thread network 1-hop throughput of the DUT. 174 The option `-f` or `--frame-format` tests whether the RCP supports sending and receiving 802.15.4 f…
|
/openthread-latest/third_party/mbedtls/repo/doxygen/ |
D | mbedtls.doxyfile | 38 # Clang >=15, the -Wdocumentation option emits a warning for empty
|