Home
last modified time | relevance | path

Searched refs:option (Results 1 – 25 of 55) sorted by relevance

123

/openthread-latest/src/core/net/
Ddhcp6_client.cpp307 ElapsedTime option; in AppendElapsedTime() local
309 option.Init(); in AppendElapsedTime()
310option.SetElapsedTime(static_cast<uint16_t>(Time::MsecToSec(TimerMilli::GetNow() - mStartTime))); in AppendElapsedTime()
311 return aMessage.Append(option); in AppendElapsedTime()
316 ClientIdentifier option; in AppendClientIdentifier() local
321 option.Init(); in AppendClientIdentifier()
322 option.SetDuidType(kDuidLinkLayerAddress); in AppendClientIdentifier()
323 option.SetDuidHardwareType(kHardwareTypeEui64); in AppendClientIdentifier()
324 option.SetDuidLinkLayerAddress(eui64); in AppendClientIdentifier()
326 return aMessage.Append(option); in AppendClientIdentifier()
[all …]
Ddhcp6_server.cpp236 Option option; in FindOption() local
238 SuccessOrExit(aMessage.Read(aOffset, option)); in FindOption()
240 if (option.GetCode() == aCode) in FindOption()
245 aOffset += sizeof(option) + option.GetLength(); in FindOption()
267 ElapsedTime option; in ProcessElapsedTime() local
269 SuccessOrExit(error = aMessage.Read(aOffset, option)); in ProcessElapsedTime()
270 VerifyOrExit(option.GetLength() == sizeof(option) - sizeof(Option), error = kErrorParse); in ProcessElapsedTime()
306 IaAddress option; in ProcessIaAddress() local
308 SuccessOrExit(error = aMessage.Read(aOffset, option)); in ProcessIaAddress()
309 VerifyOrExit(option.GetLength() == sizeof(option) - sizeof(Option), error = kErrorParse); in ProcessIaAddress()
[all …]
Dip6_mpl.cpp96 MplOption option; in ProcessOption() local
100 SuccessOrExit(error = aMessage.Read(aOffsetRange, &option, MplOption::kMinSize)); in ProcessOption()
102 switch (option.GetSeedIdLength()) in ProcessOption()
107 option.SetSeedId(aAddress.GetIid().GetLocator()); in ProcessOption()
111 SuccessOrExit(error = aMessage.Read(aOffsetRange, option)); in ProcessOption()
120 error = UpdateSeedSet(option.GetSeedId(), option.GetSequence()); in ProcessOption()
125 AddBufferedMessage(aMessage, option.GetSeedId(), option.GetSequence()); in ProcessOption()
Dip6.cpp324 Option option; in RemoveMplOption() local
338 for (; !offsetRange.IsEmpty(); offsetRange.AdvanceOffset(option.GetSize())) in RemoveMplOption()
340 SuccessOrExit(error = option.ParseFrom(aMessage, offsetRange)); in RemoveMplOption()
342 if (option.IsPadding()) in RemoveMplOption()
347 if (option.GetType() == MplOption::kType) in RemoveMplOption()
356 mplOffsetRange.ShrinkLength(option.GetSize()); in RemoveMplOption()
358 VerifyOrExit(option.GetSize() <= sizeof(MplOption), error = kErrorParse); in RemoveMplOption()
533 Option option; in HandleOptions() local
540 for (; !offsetRange.IsEmpty(); offsetRange.AdvanceOffset(option.GetSize())) in HandleOptions()
542 SuccessOrExit(error = option.ParseFrom(aMessage, offsetRange)); in HandleOptions()
[all …]
Dnd6.cpp220 Option *option = nullptr; in AppendOption() local
224 option = reinterpret_cast<Option *>(&mArray[oldLength]); in AppendOption()
227 return option; in AppendOption()
/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Ddepends.py120 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 …]
Dlist-identifiers.sh48 iteration of list-identifiers.sh, of which only the --internal option remains in
/openthread-latest/src/posix/platform/
DCMakeLists.txt33 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)
177 option(OT_TARGET_OPENWRT "enable openthread posix for OpenWRT" OFF)
/openthread-latest/third_party/mbedtls/repo/docs/
Duse-psa-crypto.md1 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 …]
D3.0-migration-guide.md90 ### 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/etc/cmake/
Doptions.cmake29 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)
260 option(OT_DOC "build OpenThread documentation")
306 option(OT_FULL_LOGS "enable full logs")
348 option(OT_BUILTIN_MBEDTLS_MANAGEMENT "enable builtin mbedtls management" ON)
[all …]
/openthread-latest/src/posix/
Dmain.c153 static const struct option kOptions[] = {
209 int option = getopt_long(aArgCount, aArgVector, "B:d:hI:nps:v", kOptions, &index); in ParseArg() local
211 if (option == -1) in ParseArg()
216 switch (option) in ParseArg()
Dclient.cpp217 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/tests/scripts/thread-cert/
Dcoap.py139 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"))
Dipv6.py710 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/examples/platforms/simulation/
DCMakeLists.txt33 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)
/openthread-latest/
DCMakeLists.txt38 option(OT_BUILD_EXECUTABLES "Build executables" ON)
39 option(OT_COVERAGE "enable coverage" OFF)
41 option(OT_MBEDTLS_THREADING "enable mbedtls threading" OFF)
82option(OT_COMPILE_WARNING_AS_ERROR "whether to include -Werror -pedantic-errors with gcc-compatibl…
/openthread-latest/third_party/mbedtls/repo/library/
DCMakeLists.txt1 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/third_party/mbedtls/repo/
DCMakeLists.txt61 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/
DCMakeLists.txt1 option(INSTALL_MBEDTLS_HEADERS "Install Mbed TLS headers." ON)
/openthread-latest/src/ncp/
DCMakeLists.txt51 option(OT_NCP_INFRA_IF "enable NCP Infra If support")
63 option(OT_NCP_SPI "enable NCP SPI support")
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_mps.function353 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/third_party/mbedtls/repo/doxygen/
Dmbedtls.doxyfile38 # Clang >=15, the -Wdocumentation option emits a warning for empty
/openthread-latest/doc/
DDoxyfile.in101 # option can be useful when feeding doxygen a huge amount of source files, where
349 # If you use Microsoft's C++/CLI language, you should set this option to YES to
364 # getter and setter methods for a property. Setting this option to YES will make
368 # should set this option to NO.
495 # section is generated. This option has no effect if EXTRACT_ALL is enabled.
502 # to NO these classes will be included in the various overviews. This option has
533 # and Mac users are advised to set this option to NO.
589 # Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief
591 # Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting
607 # Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
[all …]
/openthread-latest/src/core/thread/
Dlowpan.cpp475 Ip6::Option option; in CompressExtensionHeader() local
479 for (; !offsetRange.IsEmpty(); offsetRange.AdvanceOffset(option.GetSize())) in CompressExtensionHeader()
481 SuccessOrExit(error = option.ParseFrom(aMessage, offsetRange)); in CompressExtensionHeader()
486 if (hasOption && option.IsPadding()) in CompressExtensionHeader()
488 padLength = option.GetSize(); in CompressExtensionHeader()

123