Home
last modified time | relevance | path

Searched refs:Option (Results 1 – 13 of 13) sorted by relevance

/openthread-2.7.6/src/core/net/
Ddhcp6.hpp194 class Option class
256 class ClientIdentifier : public Option
266 SetLength(sizeof(*this) - sizeof(Option)); in Init()
327 class ServerIdentifier : public Option
337 SetLength(sizeof(*this) - sizeof(Option)); in Init()
402 class IaNa : public Option
415 SetLength(sizeof(*this) - sizeof(Option)); in Init()
477 class IaAddress : public Option
490 SetLength(sizeof(*this) - sizeof(Option)); in Init()
560 class ElapsedTime : public Option
[all …]
Ddhcp6_client.cpp352 length = sizeof(IaNa) + sizeof(IaAddress) * count - sizeof(Option); in AppendIaNa()
462 Option option; in FindOption()
486 ((option.GetLength() == (sizeof(option) - sizeof(Option))) && in ProcessServerIdentifier()
504 …(option.GetLength() == (sizeof(option) - sizeof(Option))) && (option.GetDuidType() == kDuidLinkLay… in ProcessClientIdentifier()
521 length = option.GetLength() - (sizeof(option) - sizeof(Option)); in ProcessIaNa()
553 …VerifyOrExit((option.GetLength() >= sizeof(option) - sizeof(Option)) && (option.GetStatusCode() ==… in ProcessStatusCode()
566 VerifyOrExit(option.GetLength() == sizeof(option) - sizeof(Option), error = kErrorParse); in ProcessIaAddress()
Ddhcp6_server.cpp245 Option option; in FindOption()
265 VerifyOrExit((aClientId.GetLength() == sizeof(aClientId) - sizeof(Option)) && in ProcessClientIdentifier()
279 VerifyOrExit(option.GetLength() == sizeof(option) - sizeof(Option), error = kErrorParse); in ProcessElapsedTime()
293 length = aIaNa.GetLength() + sizeof(Option) - sizeof(IaNa); in ProcessIaNa()
318 VerifyOrExit(option.GetLength() == sizeof(option) - sizeof(Option), error = kErrorParse); in ProcessIaAddress()
414 length += sizeof(IaNa) + sizeof(StatusCode) - sizeof(Option); in AppendIaNa()
Ddns_types.hpp2378 class Option class
2421 uint32_t GetSize(void) const { return sizeof(Option) + GetOptionLength(); } in GetSize()
2438 class LeaseOption : public Option
Dsrp_client.cpp1413 Dns::Option & option = leaseOption; in ProcessOptRecord()
1420 if ((option.GetOptionCode() == Dns::Option::kUpdateLease) && in ProcessOptRecord()
/openthread-2.7.6/src/core/border_router/
Drouter_advertisement.cpp45 const Option *Option::GetNextOption(const Option *aCurOption, const uint8_t *aBuffer, uint16_t aBuf… in GetNextOption()
61 VerifyOrExit(nextOption + sizeof(Option) <= bufferEnd, nextOption = nullptr); in GetNextOption()
62 VerifyOrExit(reinterpret_cast<const Option *>(nextOption)->GetSize() > 0, nextOption = nullptr); in GetNextOption()
63 VerifyOrExit(nextOption + reinterpret_cast<const Option *>(nextOption)->GetSize() <= bufferEnd, in GetNextOption()
67 return reinterpret_cast<const Option *>(nextOption); in GetNextOption()
71 : Option(Type::kPrefixInfo, sizeof(*this) / kLengthUnit) in PrefixInfoOption()
122 : Option(Type::kRouteInfo, 0) in RouteInfoOption()
Drouter_advertisement.hpp73 class Option class
91 explicit Option(Type aType, uint8_t aLength = 0) in Option() function in ot::BorderRouter::RouterAdv::Option
150 …static const Option *GetNextOption(const Option *aCurOption, const uint8_t *aBuffer, uint16_t aBuf…
174 class PrefixInfoOption : public Option
299 class RouteInfoOption : public Option
Drouting_manager.cpp980 using RouterAdv::Option; in HandleRouterAdvertisement()
988 const Option * option; in HandleRouterAdvertisement()
1002 while ((option = Option::GetNextOption(option, optionsBegin, optionsLength)) != nullptr) in HandleRouterAdvertisement()
1006 case Option::Type::kPrefixInfo: in HandleRouterAdvertisement()
1017 case Option::Type::kRouteInfo: in HandleRouterAdvertisement()
/openthread-2.7.6/src/core/api/
Dcoap_api.cpp171 …return static_cast<Coap::Option::Iterator *>(aIterator)->Init(*static_cast<const Coap::Message *>(… in otCoapOptionIteratorInit()
176 Coap::Option::Iterator &iterator = *static_cast<Coap::Option::Iterator *>(aIterator); in otCoapOptionIteratorGetFirstOptionMatching()
184 Coap::Option::Iterator &iterator = *static_cast<Coap::Option::Iterator *>(aIterator); in otCoapOptionIteratorGetFirstOption()
192 Coap::Option::Iterator &iterator = *static_cast<Coap::Option::Iterator *>(aIterator); in otCoapOptionIteratorGetNextOptionMatching()
200 Coap::Option::Iterator &iterator = *static_cast<Coap::Option::Iterator *>(aIterator); in otCoapOptionIteratorGetNextOption()
208 return static_cast<Coap::Option::Iterator *>(aIterator)->ReadOptionValue(*aValue); in otCoapOptionIteratorGetOptionUintValue()
213 return static_cast<Coap::Option::Iterator *>(aIterator)->ReadOptionValue(aValue); in otCoapOptionIteratorGetOptionValue()
/openthread-2.7.6/src/core/coap/
Dcoap_message.cpp249 Option::Iterator iterator; in ReadUriPathOptions()
299 Option::Iterator iterator; in ReadBlockOptionValues()
357 Option::Iterator iterator; in ParseHeader()
539 Error Option::Iterator::Init(const Message &aMessage) in Init()
561 Error Option::Iterator::Advance(void) in Advance()
611 Error Option::Iterator::ReadOptionValue(void *aValue) const in ReadOptionValue()
622 Error Option::Iterator::ReadOptionValue(uint64_t &aUintValue) const in ReadOptionValue()
644 Error Option::Iterator::Read(uint16_t aLength, void *aBuffer) in Read()
659 Error Option::Iterator::ReadExtendedOptionField(uint16_t &aValue) in ReadExtendedOptionField()
689 Error Option::Iterator::InitOrAdvance(const Message *aMessage, uint16_t aNumber) in InitOrAdvance()
Dcoap_message.hpp71 class Option;
166 friend class Option;
1041 class Option : public otCoapOption class
1146 …const Option *GetOption(void) const { return IsDone() ? nullptr : static_cast<const Option *>(&mOp… in GetOption()
Dcoap.cpp253 Option::Iterator iterator; in SendMessage()
582 Option::Iterator iterator; in PrepareNextBlockRequest()
827 Option::Iterator iterator; in ProcessBlock2Request()
1052 Option::Iterator iterator; in ProcessReceivedResponse()
1124 Option::Iterator iterator; in ProcessReceivedResponse()
1254 Option::Iterator iterator; in ProcessReceivedRequest()
/openthread-2.7.6/third_party/mbedtls/repo/
DChangeLog2888 * Option to set the Curve preference order (disabled by default)