Home
last modified time | relevance | path

Searched refs:ServerTlv (Results 1 – 10 of 10) sorted by relevance

/openthread-3.6.0/src/core/thread/
Dnetwork_data_local.cpp192 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()
Dnetwork_data_types.hpp70 class ServerTlv;
356 void SetFrom(const ServerTlv &aServerTlv);
395 void SetFrom(const ServiceTlv &aServiceTlv, const ServerTlv &aServerTlv);
Dnetwork_data_service.hpp405 const ServerTlv *mServerSubTlv;
609 bool IsBackboneRouterPreferredTo(const ServerTlv &aServerTlv,
611 const ServerTlv &aOtherServerTlv,
Dnetwork_data_service.cpp99 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()
Dnetwork_data_leader_ftd.cpp451 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 …]
Dnetwork_data_types.cpp226 void ServiceConfig::ServerConfig::SetFrom(const ServerTlv &aServerTlv) in SetFrom()
244 void ServiceConfig::SetFrom(const ServiceTlv &aServiceTlv, const ServerTlv &aServerTlv) in SetFrom()
Dnetwork_data_publisher.cpp691 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()
Dnetwork_data_leader.hpp559 Error AddServer(const ServerTlv &aServer, ServiceTlv &aDstService, ChangedFlags &aChangedFlags);
606 static bool ContainsMatchingServer(const ServiceTlv *aService, const ServerTlv &aServer);
Dnetwork_data_tlvs.hpp1469 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()
Dnetwork_data.cpp293 const ServerTlv *server = As<ServerTlv>(subCur); in Iterate()
532 As<ServerTlv>(cur)->SetServer16(Mle::ServiceAlocFromId(aService.GetServiceId())); in RemoveTemporaryDataIn()