Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/api/
Dip6_api.cpp170 otMessage *otIp6NewMessage(otInstance *aInstance, const otMessageSettings *aSettings) in otIp6NewMessage() argument
174 return instance.Get<Ip6::Ip6>().NewMessage(0, Message::Settings(aSettings)); in otIp6NewMessage()
180 const otMessageSettings *aSettings) in otIp6NewMessageFromBuffer() argument
185 if (aSettings != nullptr) in otIp6NewMessageFromBuffer()
187 … message = instance.Get<Ip6::Ip6>().NewMessage(aData, aDataLength, Message::Settings(aSettings)); in otIp6NewMessageFromBuffer()
Dudp_api.cpp45 otMessage *otUdpNewMessage(otInstance *aInstance, const otMessageSettings *aSettings) in otUdpNewMessage() argument
49 return instance.Get<Ip6::Udp>().NewMessage(0, Message::Settings(aSettings)); in otUdpNewMessage()
Dcoap_api.cpp46 otMessage *otCoapNewMessage(otInstance *aInstance, const otMessageSettings *aSettings) in otCoapNewMessage() argument
50 return instance.GetApplicationCoap().NewMessage(Message::Settings(aSettings)); in otCoapNewMessage()
/openthread-2.7.6/src/core/common/
Dmessage.cpp93 …*MessagePool::New(Message::Type aType, uint16_t aReserveHeader, const Message::Settings &aSettings) in New() argument
95 Message *message = New(aType, aReserveHeader, aSettings.GetPriority()); in New()
99 message->SetLinkSecurityEnabled(aSettings.IsLinkSecurityEnabled()); in New()
198 Message::Settings::Settings(const otMessageSettings *aSettings) in Settings() argument
199 : mLinkSecurityEnabled((aSettings != nullptr) ? aSettings->mLinkSecurityEnabled : true) in Settings()
200 …, mPriority((aSettings != nullptr) ? static_cast<Priority>(aSettings->mPriority) : kPriorityNormal) in Settings()
Dmessage.hpp411 explicit Settings(const otMessageSettings *aSettings);
1636 const Message::Settings &aSettings = Message::Settings::GetDefault());
/openthread-2.7.6/src/core/net/
Dip6.hpp140 …Message *NewMessage(uint16_t aReserved, const Message::Settings &aSettings = Message::Settings::Ge…
153 …essage *NewMessage(const uint8_t *aData, uint16_t aDataLength, const Message::Settings &aSettings);
Dudp6.cpp80 Message *Udp::Socket::NewMessage(uint16_t aReserved, const Message::Settings &aSettings) in NewMessage() argument
82 return Get<Udp>().NewMessage(aReserved, aSettings); in NewMessage()
439 Message *Udp::NewMessage(uint16_t aReserved, const Message::Settings &aSettings) in NewMessage() argument
441 return Get<Ip6>().NewMessage(sizeof(Header) + aReserved, aSettings); in NewMessage()
Dudp6.hpp160 …Message *NewMessage(uint16_t aReserved, const Message::Settings &aSettings = Message::Settings::Ge…
532 …Message *NewMessage(uint16_t aReserved, const Message::Settings &aSettings = Message::Settings::Ge…
Dip6.cpp81 Message *Ip6::NewMessage(uint16_t aReserved, const Message::Settings &aSettings) in NewMessage() argument
84 … sizeof(Header) + sizeof(HopByHopHeader) + sizeof(OptionMpl) + aReserved, aSettings); in NewMessage()
87 …ge *Ip6::NewMessage(const uint8_t *aData, uint16_t aDataLength, const Message::Settings &aSettings) in NewMessage() argument
89 Message *message = Get<MessagePool>().New(Message::kTypeIp6, 0, aSettings); in NewMessage()
/openthread-2.7.6/include/openthread/
Dip6.h397 otMessage *otIp6NewMessage(otInstance *aInstance, const otMessageSettings *aSettings);
419 const otMessageSettings *aSettings);
Dudp.h158 otMessage *otUdpNewMessage(otInstance *aInstance, const otMessageSettings *aSettings);
Dcoap.h853 otMessage *otCoapNewMessage(otInstance *aInstance, const otMessageSettings *aSettings);
/openthread-2.7.6/src/core/coap/
Dcoap.hpp444 Message *NewMessage(const Message::Settings &aSettings = Message::Settings::GetDefault());
Dcoap.cpp130 Message *CoapBase::NewMessage(const Message::Settings &aSettings) in NewMessage() argument
134 …VerifyOrExit((message = static_cast<Message *>(Get<Ip6::Udp>().NewMessage(0, aSettings))) != nullp… in NewMessage()