Lines Matching refs:TxMessage
305 EntryContext context(GetInstance(), TxMessage::kMulticastResponse); in HandleEntryTimer()
677 case TxMessage::kMulticastResponse: in ShouldAppendTo()
701 case TxMessage::kUnicastResponse: in ShouldAppendTo()
702 case TxMessage::kLegacyUnicastResponse: in ShouldAppendTo()
744 void Core::RecordInfo::UpdateStateAfterAnswer(const TxMessage &aResponse) in UpdateStateAfterAnswer()
753 case TxMessage::kMulticastResponse: in UpdateStateAfterAnswer()
778 case TxMessage::kUnicastResponse: in UpdateStateAfterAnswer()
779 case TxMessage::kLegacyUnicastResponse: in UpdateStateAfterAnswer()
850 void Core::RecordInfo::MarkAsAppended(TxMessage &aTxMessage, Section aSection) in MarkAsAppended()
856 case TxMessage::kMulticastResponse: in MarkAsAppended()
857 case TxMessage::kMulticastProbe: in MarkAsAppended()
869 case TxMessage::kUnicastResponse: in MarkAsAppended()
870 case TxMessage::kLegacyUnicastResponse: in MarkAsAppended()
874 case TxMessage::kMulticastQuery: in MarkAsAppended()
1137 void Core::Entry::UpdateRecordsState(const TxMessage &aResponse) in UpdateRecordsState()
1145 case TxMessage::kMulticastResponse: in UpdateRecordsState()
1148 case TxMessage::kUnicastResponse: in UpdateRecordsState()
1362 void Core::Entry::AppendQuestionTo(TxMessage &aTxMessage) const in AppendQuestionTo()
1380 void Core::Entry::AppendKeyRecordTo(TxMessage &aTxMessage, Section aSection, NameAppender aNameAppe… in AppendKeyRecordTo()
1384 bool isLegacyUnicast = (aTxMessage.GetType() == TxMessage::kLegacyUnicastResponse); in AppendKeyRecordTo()
1410 void Core::Entry::AppendNsecRecordTo(TxMessage &aTxMessage, in AppendNsecRecordTo()
1419 …bool isLegacyUnicast = (aTxMessage.GetType() == TxMessage::kLegacyUnicastRespons… in AppendNsecRecordTo()
1645 void Core::HostEntry::PrepareProbe(TxMessage &aProbe) in PrepareProbe()
1673 TxMessage &response = aContext.mResponseMessage; in PrepareResponse()
1689 TxMessage &response = aContext.mResponseMessage; in PrepareResponseRecords()
1709 void Core::HostEntry::UpdateRecordsState(const TxMessage &aResponse) in UpdateRecordsState()
1744 void Core::HostEntry::AppendAddressRecordsTo(TxMessage &aTxMessage, Section aSection) in AppendAddressRecordsTo()
1747 bool isLegacyUnicast = (aTxMessage.GetType() == TxMessage::kLegacyUnicastResponse); in AppendAddressRecordsTo()
1773 void Core::HostEntry::AppendKeyRecordTo(TxMessage &aTxMessage, Section aSection) in AppendKeyRecordTo()
1778 void Core::HostEntry::AppendNsecRecordTo(TxMessage &aTxMessage, Section aSection) in AppendNsecRecordTo()
1798 void Core::HostEntry::AppendEntryName(Entry &aEntry, TxMessage &aTxMessage, Section aSection) in AppendEntryName()
1803 void Core::HostEntry::AppendNameTo(TxMessage &aTxMessage, Section aSection) in AppendNameTo()
2198 void Core::ServiceEntry::PrepareProbe(TxMessage &aProbe) in PrepareProbe()
2242 TxMessage &response = aContext.mResponseMessage; in PrepareResponse()
2260 TxMessage &response = aContext.mResponseMessage; in PrepareResponseRecords()
2359 void Core::ServiceEntry::UpdateRecordsState(const TxMessage &aResponse) in UpdateRecordsState()
2541 void Core::ServiceEntry::AppendSrvRecordTo(TxMessage &aTxMessage, Section aSection) in AppendSrvRecordTo()
2546 bool isLegacyUnicast = (aTxMessage.GetType() == TxMessage::kLegacyUnicastResponse); in AppendSrvRecordTo()
2576 void Core::ServiceEntry::AppendTxtRecordTo(TxMessage &aTxMessage, Section aSection) in AppendTxtRecordTo()
2580 bool isLegacyUnicast = (aTxMessage.GetType() == TxMessage::kLegacyUnicastResponse); in AppendTxtRecordTo()
2602 void Core::ServiceEntry::AppendPtrRecordTo(TxMessage &aTxMessage, Section aSection, SubType *aSubTy… in AppendPtrRecordTo()
2611 bool isLegacyUnicast = (aTxMessage.GetType() == TxMessage::kLegacyUnicastResponse); in AppendPtrRecordTo()
2641 void Core::ServiceEntry::AppendKeyRecordTo(TxMessage &aTxMessage, Section aSection) in AppendKeyRecordTo()
2646 void Core::ServiceEntry::AppendNsecRecordTo(TxMessage &aTxMessage, Section aSection) in AppendNsecRecordTo()
2671 void Core::ServiceEntry::AppendEntryName(Entry &aEntry, TxMessage &aTxMessage, Section aSection) in AppendEntryName()
2676 void Core::ServiceEntry::AppendServiceNameTo(TxMessage &aTxMessage, Section aSection, bool aPerform… in AppendServiceNameTo()
2699 void Core::ServiceEntry::AppendServiceTypeTo(TxMessage &aTxMessage, Section aSection) in AppendServiceTypeTo()
2704 void Core::ServiceEntry::AppendSubServiceTypeTo(TxMessage &aTxMessage, Section aSection) in AppendSubServiceTypeTo()
2717 void Core::ServiceEntry::AppendSubServiceNameTo(TxMessage &aTxMessage, Section aSection, SubType &a… in AppendSubServiceNameTo()
2730 void Core::ServiceEntry::AppendHostNameTo(TxMessage &aTxMessage, Section aSection) in AppendHostNameTo()
2898 TxMessage &response = aContext.mResponseMessage; in PrepareResponse()
2944 void Core::ServiceType::AppendPtrRecordTo(TxMessage &aResponse, uint16_t aServiceTypeOffset) in AppendPtrRecordTo()
2956 if (aResponse.GetType() == TxMessage::kLegacyUnicastResponse) in AppendPtrRecordTo()
2985 Core::TxMessage::TxMessage(Instance &aInstance, Type aType, uint16_t aQueryId) in TxMessage() function in ot::Dns::Multicast::Core::TxMessage
2991 Core::TxMessage::TxMessage(Instance &aInstance, Type aType, const AddressInfo &aUnicastDest, uint16… in TxMessage() function in ot::Dns::Multicast::Core::TxMessage
2992 : TxMessage(aInstance, aType, aQueryId) in TxMessage()
2997 void Core::TxMessage::Init(Type aType, uint16_t aMessageId) in Init()
3039 Message &Core::TxMessage::SelectMessageFor(Section aSection) in SelectMessageFor()
3085 Core::AppendOutcome Core::TxMessage::AppendLabel(Section aSection, const char *aLabel, uint16_t &aC… in AppendLabel()
3090 Core::AppendOutcome Core::TxMessage::AppendMultipleLabels(Section aSection, in AppendMultipleLabels()
3097 Core::AppendOutcome Core::TxMessage::AppendLabels(Section aSection, in AppendLabels()
3140 void Core::TxMessage::AppendServiceType(Section aSection, const char *aServiceType, uint16_t &aComp… in AppendServiceType()
3182 void Core::TxMessage::AppendDomainName(Section aSection) in AppendDomainName()
3199 void Core::TxMessage::AppendServicesDnssdName(Section aSection) in AppendServicesDnssdName()
3217 void Core::TxMessage::AddQuestionFrom(const Message &aMessage) in AddQuestionFrom()
3227 void Core::TxMessage::SaveOffset(uint16_t &aCompressOffset, const Message &aMessage, Section aSecti… in SaveOffset()
3254 bool Core::TxMessage::IsOverSizeLimit(void) const in IsOverSizeLimit()
3266 void Core::TxMessage::SaveCurrentState(void) in SaveCurrentState()
3273 void Core::TxMessage::RestoreToSavedState(void) in RestoreToSavedState()
3285 void Core::TxMessage::CheckSizeLimitToPrepareAgain(bool &aPrepareAgain) in CheckSizeLimitToPrepareAgain()
3322 void Core::TxMessage::Send(void) in Send()
3361 void Core::TxMessage::Reinit(void) in Reinit()
3427 bool Core::TxMessage::ShouldClearAppendStateOnReinit(const Entry &aEntry) const in ShouldClearAppendStateOnReinit()
3458 Core::EntryContext::EntryContext(Instance &aInstance, TxMessage::Type aResponseType) in EntryContext()
3459 : mProbeMessage(aInstance, TxMessage::kMulticastProbe) in EntryContext()
3466 TxMessage::Type aResponseType, in EntryContext()
3469 : mProbeMessage(aInstance, TxMessage::kMulticastProbe) in EntryContext()
4015 …TxMessage::Type responseType = mIsLegacyUnicast ? TxMessage::kLegacyUnicastResponse : TxMessage::k… in SendUnicastResponse()
4683 : mQueryMessage(aInstance, TxMessage::kMulticastQuery) in CacheContext()
5116 TxMessage &query = aContext.mQueryMessage; in PrepareQuery()
5321 void Core::BrowseCache::PreparePtrQuestion(TxMessage &aQuery, TimeMilli aNow) in PreparePtrQuestion()
5387 void Core::BrowseCache::AppendServiceTypeOrSubTypeTo(TxMessage &aTxMessage, Section aSection) in AppendServiceTypeOrSubTypeTo()
5406 void Core::BrowseCache::AppendKnownAnswer(TxMessage &aTxMessage, const PtrEntry &aPtrEntry, TimeMil… in AppendKnownAnswer()
5547 void Core::ServiceCache::PrepareQueryQuestion(TxMessage &aQuery, uint16_t aRrType) in PrepareQueryQuestion()
5561 void Core::ServiceCache::AppendServiceNameTo(TxMessage &aTxMessage, Section aSection) in AppendServiceNameTo()
5712 void Core::SrvCache::PrepareSrvQuestion(TxMessage &aQuery) in PrepareSrvQuestion()
5882 void Core::TxtCache::PrepareTxtQuestion(TxMessage &aQuery) in PrepareTxtQuestion()
6015 void Core::AddrCache::PrepareQueryQuestion(TxMessage &aQuery, uint16_t aRrType) in PrepareQueryQuestion()
6028 void Core::AddrCache::AppendNameTo(TxMessage &aTxMessage, Section aSection) in AppendNameTo()
6364 void Core::Ip6AddrCache::PrepareAaaaQuestion(TxMessage &aQuery) in PrepareAaaaQuestion()
6400 void Core::Ip4AddrCache::PrepareAQuestion(TxMessage &aQuery) { PrepareQueryQuestion(aQuery, Resourc… in PrepareAQuestion()