Home
last modified time | relevance | path

Searched refs:aTxtList (Results 1 – 6 of 6) sorted by relevance

/external/ot-br-posix/src/mdns/
Dmdns.cpp55 const TxtList & aTxtList, in PublishService() argument
60 … PublishServiceImpl(aHostName, aName, aType, aSubTypeList, aPort, aTxtList, std::move(aCallback)); in PublishService()
84 otbrError Publisher::EncodeTxtData(const TxtList &aTxtList, std::vector<uint8_t> &aTxtData) in EncodeTxtData() argument
88 for (const auto &txtEntry : aTxtList) in EncodeTxtData()
106 otbrError Publisher::DecodeTxtData(Publisher::TxtList &aTxtList, const uint8_t *aTxtData, uint16_t … in DecodeTxtData() argument
129aTxtList.emplace_back(reinterpret_cast<const char *>(&aTxtData[keyStart]), keyEnd - keyStart, in DecodeTxtData()
232 Publisher::TxtList Publisher::SortTxtList(TxtList aTxtList) in SortTxtList() argument
234 std::sort(aTxtList.begin(), aTxtList.end(), in SortTxtList()
236 return aTxtList; in SortTxtList()
285 const TxtList & aTxtList, in HandleDuplicateServiceRegistration() argument
[all …]
Dmdns.hpp208 const TxtList & aTxtList,
363 static otbrError EncodeTxtData(const TxtList &aTxtList, std::vector<uint8_t> &aTxtData);
381 static otbrError DecodeTxtData(TxtList &aTxtList, const uint8_t *aTxtData, uint16_t aTxtLength);
429 TxtList aTxtList, in ServiceRegistration() argument
438 , mTxtList(SortTxtList(std::move(aTxtList))) in ServiceRegistration()
453 const TxtList & aTxtList) const;
488 static TxtList SortTxtList(TxtList aTxtList);
497 const TxtList & aTxtList,
526 const TxtList & aTxtList,
Dmdns_avahi.hpp93 const TxtList & aTxtList,
116 const TxtList & aTxtList, in AvahiServiceRegistration() argument
125 aTxtList, in AvahiServiceRegistration()
296 static otbrError TxtListToAvahiStringList(const TxtList & aTxtList,
Dmdns_mdnssd.hpp90 const TxtList & aTxtList,
112 const TxtList & aTxtList, in DnssdServiceRegistration() argument
121 aTxtList, in DnssdServiceRegistration()
Dmdns_avahi.cpp642 const TxtList & aTxtList, in PublishServiceImpl() argument
648 TxtList sortedTxtList = SortTxtList(aTxtList); in PublishServiceImpl()
669 … SuccessOrExit(error = TxtListToAvahiStringList(aTxtList, txtBuffer, sizeof(txtBuffer), txtHead)); in PublishServiceImpl()
782 otbrError PublisherAvahi::TxtListToAvahiStringList(const TxtList & aTxtList, in TxtListToAvahiStringList() argument
793 for (const auto &txtEntry : aTxtList) in TxtListToAvahiStringList()
Dmdns_mdnssd.cpp481 const TxtList & aTxtList, in PublishServiceImpl() argument
488 TxtList sortedTxtList = SortTxtList(aTxtList); in PublishServiceImpl()
504 SuccessOrExit(ret = EncodeTxtData(aTxtList, txt)); in PublishServiceImpl()