Home
last modified time | relevance | path

Searched refs:GetPort (Results 1 – 24 of 24) sorted by relevance

/openthread-latest/src/core/net/
Dsocket.hpp281 uint16_t GetPort(void) const { return mPort; } in GetPort() function in ot::Ip6::SockAddr
301 return (GetPort() == aOther.GetPort()) && (GetAddress() == aOther.GetAddress()); in operator ==()
Dsocket.cpp62 aWriter.Append("[%s]:%u", GetAddress().ToString().AsCString(), GetPort()); in ToString()
Dsrp_server.hpp281 uint16_t GetPort(void) const { return mPort; } in GetPort() function in ot::Srp::Server::Service
728 uint16_t GetPort(void) const { return (mState == kStateRunning) ? mPort : 0; } in GetPort() function in ot::Srp::Server
Dsrp_advertising_proxy.cpp701 VerifyOrExit(aFirstService.GetPort() == aSecondService.GetPort()); in EntriesMatch()
1024 serviceInfo.mPort = aService.GetPort(); in RegisterService()
Ddns_client.cpp87 if (GetServerSockAddr().GetPort() == 0) in SetFrom()
89 GetServerSockAddr().SetPort(aDefaultConfig.GetServerSockAddr().GetPort()); in SetFrom()
289 aServiceInfo.mPort = srvRecord.GetPort(); in ReadServiceInfo()
1190 messageInfo.SetPeerPort(aInfo.mConfig.GetServerSockAddr().GetPort()); in SendQuery()
Dsrp_client.cpp149 …LogInfo("subtypes:[%s] port:%d weight:%d prio:%d txts:%d", string.AsCString(), GetPort(), GetWeigh… in SetState()
957 info.SetServerPort(GetServerAddress().GetPort()); in ChangeHostAndServiceStates()
1456 srv.SetPort(aService.GetPort()); in AppendServiceInstruction()
2426 (unicastInfo.mSockAddr.GetPort() == savedInfo.GetServerPort())) in SelectUnicastEntry()
Dsrp_server.cpp598 mPort = info.GetPort(); in InitPort()
649 if (dnsSocket.GetSockName().GetPort() == mPort) in PrepareSocket()
682 if (dnsSocket.GetSockName().GetPort() == mPort) in GetSocket()
1160 service->mPort = srvRecord.GetPort(); in ProcessServiceDescriptionInstructions()
Dudp6.cpp487 if (socket.GetSockName().GetPort() == aPort) in IsPortInUse()
Dsrp_client.hpp224 uint16_t GetPort(void) const { return mPort; } in GetPort() function in ot::Srp::Client::Service
Ddns_types.hpp1868 uint16_t GetPort(void) const { return BigEndian::HostSwap16(mPort); } in GetPort() function in ot::Dns::SrvRecord
Ddnssd_server.cpp519 aService.GetPort()); in AppendSrvRecord()
Dmdns.cpp5667 if (!mRecord.IsPresent() || (mPort != srv.GetPort())) in ProcessResponseRecord()
5669 mPort = srv.GetPort(); in ProcessResponseRecord()
/openthread-latest/src/core/api/
Dsrp_server_api.cpp54 …ServerGetPort(otInstance *aInstance) { return AsCoreType(aInstance).Get<Srp::Server>().GetPort(); } in otSrpServerGetPort()
209 …ServerServiceGetPort(const otSrpServerService *aService) { return AsCoreType(aService).GetPort(); } in otSrpServerServiceGetPort()
/openthread-latest/src/core/thread/
Dnetwork_data_publisher.cpp577 mInfo.GetAddress(), mInfo.GetPort(), mInfo.GetVersion())); in Add()
582 mInfo.GetAddress(), mInfo.GetPort(), mInfo.GetVersion())); in Add()
608 mInfo.GetAddress(), mInfo.GetPort(), mInfo.GetVersion())); in Remove()
Dnetwork_data_service.hpp350 uint16_t GetPort(void) const { return BigEndian::HostSwap16(mPort); } in GetPort() function in ot::NetworkData::Service::Manager::DnsSrpUnicast::AddrData
Dnetwork_data_publisher.hpp404 uint16_t GetPort(void) const { return mPortOrSeqNumber; } in GetPort() function in ot::NetworkData::Publisher::DnsSrpServiceEntry::Info
Dnetwork_data_service.cpp295 aInfo.mSockAddr.SetPort(addrData->GetPort()); in ParseFrom()
/openthread-latest/tests/unit/
Dtest_srp_adv_proxy.cpp190 VerifyOrQuit(service.GetPort() == aService->mPort); in otPlatDnssdRegisterService()
2083 VerifyOrQuit(service.GetPort() == service2.GetPort()); in TestSrpAdvProxyReplacedEntries()
2088 VerifyOrQuit(service.GetPort() == service1.GetPort()); in TestSrpAdvProxyReplacedEntries()
Dtest_dns.cpp1379 VerifyOrQuit(srvRecord.GetPort() == kSrvPort); in TestHeaderAndResourceRecords()
1385 srvRecord.GetPort(), srvRecord.GetWeight(), srvRecord.GetPriority(), name); in TestHeaderAndResourceRecords()
1433 srvRecord.GetPort(), srvRecord.GetWeight(), srvRecord.GetPriority()); in TestHeaderAndResourceRecords()
1497 srvRecord.GetPort(), srvRecord.GetWeight(), srvRecord.GetPriority()); in TestHeaderAndResourceRecords()
Dtest_dso.cpp382 Log(" otPlatDsoConnect(%s, aPeer:0x%04x)", conn.GetName(), peerSockAddr.GetPort()); in otPlatDsoConnect()
482 Log(" AcceptConnection(peer:0x%04x)", aPeerSockAddr.GetPort()); in AcceptConnection()
Dtest_mdns.cpp320 mData.mSrv.mPort = srv.GetPort(); in ParseFrom()
/openthread-latest/src/core/meshcop/
Dsecure_transport.hpp639 uint16_t GetUdpPort(void) const { return mSocket.GetSockName().GetPort(); } in GetUdpPort()
/openthread-latest/src/core/common/
Dsettings.hpp688 uint16_t GetPort(void) const { return LittleEndian::HostSwap16(mPort); } in GetPort() function in ot::SettingsBase::SrpServerInfo
Dsettings.cpp99 LogInfo("%s SrpServerInfo {port:%u}", ActionToString(aAction), GetPort()); in Log()