Home
last modified time | relevance | path

Searched refs:aPrimaryTlvType (Results 1 – 3 of 3) sorted by relevance

/openthread-latest/src/core/net/
Ddns_dso.cpp754 Error Dso::Connection::ReadPrimaryTlv(const Message &aMessage, Tlv::Type &aPrimaryTlvType) const in ReadPrimaryTlv()
766 aPrimaryTlvType = Tlv::kReservedType; in ReadPrimaryTlv()
770 aPrimaryTlvType = tlv.GetType(); in ReadPrimaryTlv()
779 Tlv::Type aPrimaryTlvType) in ProcessRequestOrUnidirectionalMessage() argument
792 switch (aPrimaryTlvType) in ProcessRequestOrUnidirectionalMessage()
812 error = mCallbacks.mProcessUnidirectionalMessage(*this, aMessage, aPrimaryTlvType); in ProcessRequestOrUnidirectionalMessage()
820 error = mCallbacks.mProcessRequestMessage(*this, messageId, aMessage, aPrimaryTlvType); in ProcessRequestOrUnidirectionalMessage()
838 Tlv::Type aPrimaryTlvType) in ProcessResponseMessage() argument
855 …if ((aHeader.GetResponseCode() == Dns::Header::kResponseSuccess) && (aPrimaryTlvType != Tlv::kRese… in ProcessResponseMessage()
857 VerifyOrExit(aPrimaryTlvType == requestPrimaryTlvType); in ProcessResponseMessage()
[all …]
Ddns_dso.hpp288 Tlv::Type aPrimaryTlvType);
309 Tlv::Type aPrimaryTlvType);
675 bool Contains(MessageId aMessageId, Tlv::Type &aPrimaryTlvType) const;
676 Error Add(MessageId aMessageId, Tlv::Type aPrimaryTlvType, TimeMilli aResponseTimeout);
753 Error ReadPrimaryTlv(const Message &aMessage, Tlv::Type &aPrimaryTlvType) const;
756 Tlv::Type aPrimaryTlvType);
757 …essResponseMessage(const Dns::Header &aHeader, const Message &aMessage, Tlv::Type aPrimaryTlvType);
/openthread-latest/tests/unit/
Dtest_dso.cpp216 …rocessRequestMessage(MessageId aMessageId, const Message &aMessage, Dso::Tlv::Type aPrimaryTlvType) in ProcessRequestMessage() argument
220 Log(" ProcessRequestMessage(primaryTlv:0x%04x) on %s", aPrimaryTlvType, mName); in ProcessRequestMessage()
223 VerifyOrExit(aPrimaryTlvType == TestTlv::kType, error = kErrorNotFound); in ProcessRequestMessage()
231 Error ProcessUnidirectionalMessage(const Message &aMessage, Dso::Tlv::Type aPrimaryTlvType) in ProcessUnidirectionalMessage() argument
233 Log(" ProcessUnidirectionalMessage(primaryTlv:0x%04x) on %s", aPrimaryTlvType, mName); in ProcessUnidirectionalMessage()
236 if (aPrimaryTlvType == TestTlv::kType) in ProcessUnidirectionalMessage()
288 Dso::Tlv::Type aPrimaryTlvType) in ProcessRequestMessage() argument
290 …tatic_cast<Connection &>(aConnection).ProcessRequestMessage(aMessageId, aMessage, aPrimaryTlvType); in ProcessRequestMessage()
295 Dso::Tlv::Type aPrimaryTlvType) in ProcessUnidirectionalMessage() argument
297 …urn static_cast<Connection &>(aConnection).ProcessUnidirectionalMessage(aMessage, aPrimaryTlvType); in ProcessUnidirectionalMessage()