Searched refs:ServerTlv (Results 1 – 10 of 10) sorted by relevance
/openthread-3.6.0/src/core/thread/ |
D | network_data_local.cpp | 192 ServerTlv *serverTlv; in AddService() 194 sizeof(ServerTlv) + aServerData.GetLength(); in AddService() 204 serviceTlv->SetSubTlvsLength(sizeof(ServerTlv) + aServerData.GetLength()); in AddService() 206 serverTlv = As<ServerTlv>(serviceTlv->GetSubTlvs()); in AddService() 254 As<ServerTlv>(cur)->SetServer16(rloc16); in UpdateRloc()
|
D | network_data_types.hpp | 70 class ServerTlv; 356 void SetFrom(const ServerTlv &aServerTlv); 395 void SetFrom(const ServiceTlv &aServiceTlv, const ServerTlv &aServerTlv);
|
D | network_data_service.hpp | 405 const ServerTlv *mServerSubTlv; 609 bool IsBackboneRouterPreferredTo(const ServerTlv &aServerTlv, 611 const ServerTlv &aOtherServerTlv,
|
D | network_data_service.cpp | 99 const ServerTlv *rvalServerTlv = nullptr; in GetBackboneRouterPrimary() 149 bool Manager::IsBackboneRouterPreferredTo(const ServerTlv &aServerTlv, in IsBackboneRouterPreferredTo() 151 const ServerTlv &aOtherServerTlv, in IsBackboneRouterPreferredTo() 345 aIterator.mServerSubTlv = NetworkDataTlv::Find<ServerTlv>( in IterateToNextServer()
|
D | network_data_leader_ftd.cpp | 451 const ServerTlv *server = As<ServerTlv>(subCur); in ValidateService() 533 bool Leader::ContainsMatchingServer(const ServiceTlv *aService, const ServerTlv &aServer) in ContainsMatchingServer() 542 const ServerTlv *server; in ContainsMatchingServer() 545 while ((server = subTlvIterator.Iterate<ServerTlv>(aServer.IsStable())) != nullptr) in ContainsMatchingServer() 740 const ServerTlv *server; in AddService() 758 server = NetworkDataTlv::Find<ServerTlv>(aService.GetSubTlvs(), aService.GetNext()); in AddService() 883 Error Leader::AddServer(const ServerTlv &aServer, ServiceTlv &aDstService, ChangedFlags &aChangedFl… in AddServer() 886 ServerTlv *dstServer; in AddServer() 896 dstServer = As<ServerTlv>(aDstService.GetNext()); in AddServer() 1101 ServerTlv *server; in RemoveRlocInService() [all …]
|
D | network_data_types.cpp | 226 void ServiceConfig::ServerConfig::SetFrom(const ServerTlv &aServerTlv) in SetFrom() 244 void ServiceConfig::SetFrom(const ServiceTlv &aServiceTlv, const ServerTlv &aServerTlv) in SetFrom()
|
D | network_data_publisher.cpp | 691 const ServerTlv *serverSubTlv; in CountAnycastEntries() 693 while ((serverSubTlv = subTlvIterator.Iterate<ServerTlv>()) != nullptr) in CountAnycastEntries() 719 const ServerTlv *serverSubTlv; in CountUnicastEntries() 721 while (((serverSubTlv = subTlvIterator.Iterate<ServerTlv>())) != nullptr) in CountUnicastEntries()
|
D | network_data_leader.hpp | 559 Error AddServer(const ServerTlv &aServer, ServiceTlv &aDstService, ChangedFlags &aChangedFlags); 606 static bool ContainsMatchingServer(const ServiceTlv *aService, const ServerTlv &aServer);
|
D | network_data_tlvs.hpp | 1469 class ServerTlv : public NetworkDataTlv class 1540 bool operator==(const ServerTlv &aOther) const in operator ==() 1555 …static uint16_t CalculateSize(uint8_t aServerDataLength) { return sizeof(ServerTlv) + aServerDataL… in CalculateSize()
|
D | network_data.cpp | 293 const ServerTlv *server = As<ServerTlv>(subCur); in Iterate() 532 As<ServerTlv>(cur)->SetServer16(Mle::ServiceAlocFromId(aService.GetServiceId())); in RemoveTemporaryDataIn()
|