Searched refs:aSection (Results 1 – 5 of 5) sorted by relevance
/openthread-latest/src/core/net/ |
D | mdns.hpp | 808 uint16_t GetFor(Section aSection) const { return mCounts[aSection]; } in GetFor() 809 void Increment(Section aSection) { mCounts[aSection]++; } in Increment() argument 898 void MarkAsAppended(TxMessage &aTxMessage, Section aSection); 975 typedef void (*NameAppender)(Entry &aEntry, TxMessage &aTxMessage, Section aSection); 987 void AppendKeyRecordTo(TxMessage &aTxMessage, Section aSection, NameAppender aNameAppender); 989 Section aSection, 1067 void AppendAddressRecordsTo(TxMessage &aTxMessage, Section aSection); 1068 void AppendKeyRecordTo(TxMessage &aTxMessage, Section aSection); 1069 void AppendNsecRecordTo(TxMessage &aTxMessage, Section aSection); 1070 void AppendNameTo(TxMessage &aTxMessage, Section aSection); [all …]
|
D | mdns.cpp | 414 void Core::UpdateCacheFlushFlagIn(ResourceRecord &aResourceRecord, Section aSection, bool aIsLegacy… in UpdateCacheFlushFlagIn() argument 420 if (aSection != kAuthoritySection && !aIsLegacyUnicast) in UpdateCacheFlushFlagIn() 850 void Core::RecordInfo::MarkAsAppended(TxMessage &aTxMessage, Section aSection) in MarkAsAppended() argument 852 mAppendSection = aSection; in MarkAsAppended() 861 if ((aSection == kAnswerSection) || (aSection == kAdditionalDataSection)) in MarkAsAppended() 1380 void Core::Entry::AppendKeyRecordTo(TxMessage &aTxMessage, Section aSection, NameAppender aNameAppe… in AppendKeyRecordTo() argument 1387 mKeyRecord.MarkAsAppended(aTxMessage, aSection); in AppendKeyRecordTo() 1389 message = &aTxMessage.SelectMessageFor(aSection); in AppendKeyRecordTo() 1394 aNameAppender(*this, aTxMessage, aSection); in AppendKeyRecordTo() 1399 UpdateCacheFlushFlagIn(record, aSection, isLegacyUnicast); in AppendKeyRecordTo() [all …]
|
D | dns_client.hpp | 291 void SelectSection(Section aSection, uint16_t &aOffset, uint16_t &aNumRecord) const; 292 Error CheckForHostNameAlias(Section aSection, Name &aHostName) const; 293 Error FindHostAddress(Section aSection, 299 …Error FindARecord(Section aSection, const Name &aHostName, uint16_t aIndex, ARecord &aARecord) con… 304 Error ReadServiceInfo(Section aSection, const Name &aName, ServiceInfo &aServiceInfo) const; 305 Error ReadTxtRecord(Section aSection, const Name &aName, ServiceInfo &aServiceInfo) const;
|
D | dns_client.cpp | 131 void Client::Response::SelectSection(Section aSection, uint16_t &aOffset, uint16_t &aNumRecord) con… in SelectSection() argument 133 switch (aSection) in SelectSection() 154 Error Client::Response::CheckForHostNameAlias(Section aSection, Name &aHostName) const in CheckForHostNameAlias() argument 172 SelectSection(aSection, offset, numRecords); in CheckForHostNameAlias() 200 Error Client::Response::FindHostAddress(Section aSection, in FindHostAddress() argument 212 SuccessOrExit(error = CheckForHostNameAlias(aSection, name)); in FindHostAddress() 214 SelectSection(aSection, offset, numRecords); in FindHostAddress() 225 Error Client::Response::FindARecord(Section aSection, const Name &aHostName, uint16_t aIndex, AReco… in FindARecord() argument 232 SuccessOrExit(error = CheckForHostNameAlias(aSection, name)); in FindARecord() 234 SelectSection(aSection, offset, numRecords); in FindARecord() [all …]
|
/openthread-latest/tests/unit/ |
D | test_mdns.cpp | 602 const DnsRecords &RecordsFor(Section aSection) const in RecordsFor() 606 switch (aSection) in RecordsFor() 775 void Validate(const Core::Host &aHost, Section aSection, GoodBye aIsGoodBye = kNotGoodBye) const in Validate() 790 … VerifyOrQuit(RecordsFor(aSection).ContainsAaaa(fullName, AsCoreType(&aHost.mAddresses[index]), in Validate() 794 if (!aIsGoodBye && (aSection == kInAnswerSection)) in Validate() 801 Section aSection, in Validate() 821 … RecordsFor(aSection).ContainsSrv(serviceName, aService, cacheFlushSet, ttlCheck, aService.mTtl)); in Validate() 829 … RecordsFor(aSection).ContainsTxt(serviceName, aService, cacheFlushSet, ttlCheck, aService.mTtl)); in Validate() 836 … VerifyOrQuit(RecordsFor(aSection).ContainsPtr(serviceType, serviceName, ttlCheck, aService.mTtl)); in Validate() 841 VerifyOrQuit(RecordsFor(aSection).ContainsServicesPtr(serviceType)); in Validate() [all …]
|