Home
last modified time | relevance | path

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

/openthread-latest/src/core/net/
Dsrp_advertising_proxy.cpp929 Dnssd::Host hostInfo; in RegisterHost() local
949 hostInfo.Clear(); in RegisterHost()
950 hostInfo.mHostName = hostName; in RegisterHost()
951 hostInfo.mAddresses = hostAddresses.AsCArray(); in RegisterHost()
952 hostInfo.mAddressesLength = hostAddresses.GetLength(); in RegisterHost()
953 hostInfo.mTtl = aHost.GetTtl(); in RegisterHost()
954 hostInfo.mInfraIfIndex = Get<BorderRouter::InfraIf>().GetIfIndex(); in RegisterHost()
956 Get<Dnssd>().RegisterHost(hostInfo, aHost.mAdvId, HandleRegistered); in RegisterHost()
967 Dnssd::Host hostInfo; in UnregisterHost() local
978 hostInfo.Clear(); in UnregisterHost()
[all …]
/openthread-latest/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-latest/src/ncp/
Dncp_base_mtd.cpp3863 const otSrpClientHostInfo *hostInfo = otSrpClientGetHostInfo(mInstance); in HandlePropertyGet() local
3865 for (uint8_t index = 0; index < hostInfo->mNumAddresses; index++) in HandlePropertyGet()
3867 SuccessOrExit(error = mEncoder.WriteIp6Address(hostInfo->mAddresses[index])); in HandlePropertyGet()