Home
last modified time | relevance | path

Searched refs:kMaxLength (Results 1 – 14 of 14) sorted by relevance

/openthread-3.6.0/src/core/meshcop/
Dmeshcop.hpp69 …static constexpr uint8_t kMaxLength = OT_JOINER_MAX_PSKD_LENGTH; ///< Max PSKd string length (excl… member in ot::MeshCoP::JoinerPskd
112 uint8_t GetLength(void) const { return static_cast<uint8_t>(StringLength(m8, kMaxLength + 1)); } in GetLength()
147 …static constexpr uint8_t kMaxLength = OT_JOINER_MAX_DISCERNER_LENGTH; ///< Max length of a Discern… member in ot::MeshCoP::JoinerDiscerner
194 bool IsValid(void) const { return (0 < mLength) && (mLength <= kMaxLength); } in IsValid()
245 …static constexpr uint8_t kMaxLength = OT_STEERING_DATA_MAX_LENGTH; ///< Maximum Steering Data leng… member in ot::MeshCoP::SteeringData
266 void Init(uint8_t aLength = kMaxLength);
Dmeshcop.cpp89 uint16_t pskdLength = StringLength(aPskdString, kMaxLength + 1); in IsPskdValid()
91 VerifyOrExit(pskdLength >= kMinLength && pskdLength <= kMaxLength); in IsPskdValid()
192 OT_ASSERT(aLength <= kMaxLength); in Init()
221 OT_ASSERT((mLength > 0) && (mLength <= kMaxLength)); in UpdateBloomFilter()
Dmeshcop_tlvs.hpp633 …static constexpr uint16_t kMaxLength = (kEntrySize * Radio::kNumChannelPages); ///< Max value leng… member
635 …uint8_t mData[kMaxLength]; ///< Array to store TLV value (encoded as one or more Channel Mask TLV …
/openthread-3.6.0/src/core/net/
Dip6_headers.cpp61 static constexpr uint32_t kMaxLength = kMaxDatagramLength; in IsValid() local
63 static constexpr uint32_t kMaxLength = kMaxAssembledDatagramLength; in IsValid()
66 return IsVersion6() && ((sizeof(Header) + GetPayloadLength()) <= kMaxLength); in IsValid()
Dnd6.cpp103 return (GetSize() >= sizeof(*this)) && (mPrefixLength <= Prefix::kMaxLength) && in IsValid()
138 return (GetSize() >= kMinSize) && (mPrefixLength <= Prefix::kMaxLength) && in IsValid()
Dip6_headers.hpp596 static constexpr uint8_t kMaxLength = 5; member in ot::Ip6::PadOption
598 uint8_t mPads[kMaxLength];
Dip6_address.hpp98 …static constexpr uint8_t kMaxLength = kMaxSize * kBitsPerByte; ///< Max length of a prefix in bits. member in ot::Ip6::Prefix
186 bool IsValid(void) const { return (mLength <= kMaxLength); } in IsValid()
Dip6_address.cpp191 SuccessOrExit(StringParseUint8(cur, mLength, kMaxLength)); in FromString()
/openthread-3.6.0/tests/unit/
Dtest_heap_string.cpp169 static constexpr uint16_t kMaxLength = 100; in VerifyData() local
170 uint8_t buffer[kMaxLength]; in VerifyData()
Dtest_meshcop.cpp74 for (uint8_t len = 1; len <= MeshCoP::SteeringData::kMaxLength; len++) in TestSteeringData()
Dtest_ip_address.cpp467 for (uint8_t prefixLength = 1; prefixLength <= Ip6::Prefix::kMaxLength; prefixLength++) in TestIp6Prefix()
/openthread-3.6.0/src/core/coap/
Dcoap_secure.cpp101 static_assert(static_cast<uint16_t>(MeshCoP::JoinerPskd::kMaxLength) <= in SetPsk()
/openthread-3.6.0/src/core/thread/
Ddiscover_scanner.cpp368 uint8_t dataLength = MeshCoP::SteeringData::kMaxLength; in HandleDiscoveryResponse()
/openthread-3.6.0/src/core/radio/
Dble_secure.cpp146 static_assert(static_cast<uint16_t>(MeshCoP::JoinerPskd::kMaxLength) <= in SetPsk()