Home
last modified time | relevance | path

Searched refs:hostInfo (Results 1 – 3 of 3) sorted by relevance

/openthread-3.7.0/src/core/net/
Dsrp_advertising_proxy.cpp935 Dnssd::Host hostInfo; in RegisterHost() local
955 hostInfo.Clear(); in RegisterHost()
956 hostInfo.mHostName = hostName; in RegisterHost()
957 hostInfo.mAddresses = hostAddresses.AsCArray(); in RegisterHost()
958 hostInfo.mAddressesLength = hostAddresses.GetLength(); in RegisterHost()
959 hostInfo.mTtl = aHost.GetTtl(); in RegisterHost()
960 hostInfo.mInfraIfIndex = Get<BorderRouter::InfraIf>().GetIfIndex(); in RegisterHost()
962 Get<Dnssd>().RegisterHost(hostInfo, aHost.mAdvId, HandleRegistered); in RegisterHost()
973 Dnssd::Host hostInfo; in UnregisterHost() local
984 hostInfo.Clear(); in UnregisterHost()
[all …]
/openthread-3.7.0/src/cli/
Dcli_srp_client.cpp295 const otSrpClientHostInfo *hostInfo = otSrpClientGetHostInfo(GetInstancePtr()); in Process() local
297 if (hostInfo->mAutoAddress) in Process()
303 for (uint8_t index = 0; index < hostInfo->mNumAddresses; index++) in Process()
305 OutputIp6AddressLine(hostInfo->mAddresses[index]); in Process()
/openthread-3.7.0/src/ncp/
Dncp_base_mtd.cpp3771 const otSrpClientHostInfo *hostInfo = otSrpClientGetHostInfo(mInstance); in HandlePropertyGet() local
3773 for (uint8_t index = 0; index < hostInfo->mNumAddresses; index++) in HandlePropertyGet()
3775 SuccessOrExit(error = mEncoder.WriteIp6Address(hostInfo->mAddresses[index])); in HandlePropertyGet()