Home
last modified time | relevance | path

Searched refs:mInfraIfIndex (Results 1 – 16 of 16) sorted by relevance

/openthread-latest/include/openthread/platform/
Ddnssd.h111 uint32_t mInfraIfIndex; ///< The infrastructure network interface index. member
126 uint32_t mInfraIfIndex; ///< The infrastructure network interface index. member
143 uint32_t mInfraIfIndex; ///< The infrastructure network interface index. member
433 uint32_t mInfraIfIndex; ///< The infrastructure network interface index. member
453 uint32_t mInfraIfIndex; ///< The infrastructure network interface index. member
470 uint32_t mInfraIfIndex; ///< The infrastructure network interface index. member
490 uint32_t mInfraIfIndex; ///< The infrastructure network interface index. member
505 uint32_t mInfraIfIndex; ///< The infrastructure network interface index. member
525 uint32_t mInfraIfIndex; ///< The infrastructure network interface index. member
548 … uint32_t mInfraIfIndex; ///< The infrastructure network interface index. member
[all …]
Dmdns_socket.h67 uint32_t mInfraIfIndex; ///< Interface index. member
/openthread-latest/src/posix/platform/
Dinfra_if.hpp197 const char *GetNetifName(void) const { return (mInfraIfIndex != 0) ? mInfraIfName : nullptr; } in GetNetifName()
205 uint32_t GetNetifIndex(void) const { return mInfraIfIndex; } in GetNetifIndex()
232 uint32_t mInfraIfIndex = 0; member in ot::Posix::InfraNetif
Dinfra_if.cpp232 VerifyOrExit(aInfraIfIndex == mInfraIfIndex, error = OT_ERROR_DROP); in SendIcmp6Nd()
242 dest.sin6_scope_id = mInfraIfIndex; in SendIcmp6Nd()
262 packetInfo->ipi6_ifindex = mInfraIfIndex; in SendIcmp6Nd()
292 return mInfraIfIndex ? ((GetFlags() & IFF_RUNNING) && HasLinkLocalAddress()) : false; in IsRunning()
301 OT_ASSERT(mInfraIfIndex != 0); in GetFlags()
451 mInfraIfIndex = ifIndex; in SetInfraNetif()
465 SuccessOrDie(otBorderRoutingInit(gInstance, mInfraIfIndex, otSysInfraIfIsRunning())); in SetUp()
513 mInfraIfIndex = 0; in Deinit()
570 … SuccessOrDie(otPlatInfraIfStateChanged(gInstance, mInfraIfIndex, otSysInfraIfIsRunning())); in ReceiveNetLinkMessage()
649 VerifyOrExit(ifIndex == mInfraIfIndex, error = OT_ERROR_DROP); in ReceiveIcmp6Message()
[all …]
Dmdns_socket.cpp82 mInfraIfIndex = 0; in Init()
215 mInfraIfIndex = aInfraIfIndex; in Enable()
249 VerifyOrExit(aInfraIfIndex == mInfraIfIndex); in SendMulticast()
286 VerifyOrExit(aAddress->mInfraIfIndex == mInfraIfIndex); in SendUnicast()
477 addrInfo.mInfraIfIndex = mInfraIfIndex; in ReceiveMessage()
Dmdns_socket.hpp137 uint32_t mInfraIfIndex; member in ot::Posix::MdnsSocket
/openthread-latest/src/cli/
Dcli_mdns.cpp56 mInfraIfIndex = infraIfIndex; in Process()
646 browser.mInfraIfIndex = mInfraIfIndex; in Process()
684 OutputLine(kIndentSize, "if-index: %lu", ToUlong(aResult.mInfraIfIndex)); in HandleBrowseResult()
702 resolver.mInfraIfIndex = mInfraIfIndex; in Process()
738 OutputLine(kIndentSize, "if-index: %lu", ToUlong(aResult.mInfraIfIndex)); in HandleSrvResult()
756 resolver.mInfraIfIndex = mInfraIfIndex; in Process()
790 OutputLine(kIndentSize, "if-index: %lu", ToUlong(aResult.mInfraIfIndex)); in HandleTxtResult()
806 resolver.mInfraIfIndex = mInfraIfIndex; in Process()
842 OutputLine(kIndentSize, "if-index: %lu", ToUlong(aResult.mInfraIfIndex)); in HandleAddressResult()
859 resolver.mInfraIfIndex = mInfraIfIndex; in Process()
Dcli_mdns.hpp65 , mInfraIfIndex(0) in Mdns()
134 uint32_t mInfraIfIndex; member in ot::Cli::Mdns
/openthread-latest/tests/unit/
Dtest_dnssd_discovery_proxy.cpp635 Log(" if-index : %u", aResult.mInfraIfIndex); in InvokeBrowserCallback()
650 Log(" if-index : %u", aResult.mInfraIfIndex); in InvokeSrvResolverCallback()
662 Log(" if-index : %u", aResult.mInfraIfIndex); in InvokeTxtResolverCallback()
671 Log(" if-index : %u", aResult.mInfraIfIndex); in InvokeIp6AddrResolverCallback()
686 Log(" if-index : %u", aResult.mInfraIfIndex); in InvokeIp4AddrResolverCallback()
711 VerifyOrQuit(aBrowser->mInfraIfIndex == kInfraIfIndex); in otPlatDnssdStartBrowser()
728 VerifyOrQuit(aBrowser->mInfraIfIndex == kInfraIfIndex); in otPlatDnssdStopBrowser()
740 VerifyOrQuit(aResolver->mInfraIfIndex == kInfraIfIndex); in otPlatDnssdStartSrvResolver()
757 VerifyOrQuit(aResolver->mInfraIfIndex == kInfraIfIndex); in otPlatDnssdStopSrvResolver()
769 VerifyOrQuit(aResolver->mInfraIfIndex == kInfraIfIndex); in otPlatDnssdStartTxtResolver()
[all …]
Dtest_mdns.cpp1124 senderAddrInfo.mInfraIfIndex = 0; in SendQuery()
1158 senderAddrInfo.mInfraIfIndex = 0; in SendQueryForTwo()
1200 senderAddrInfo.mInfraIfIndex = 0; in SendPtrResponse()
1250 senderAddrInfo.mInfraIfIndex = 0; in SendSrvResponse()
1295 senderAddrInfo.mInfraIfIndex = 0; in SendTxtResponse()
1353 senderAddrInfo.mInfraIfIndex = 0; in SendHostAddrResponse()
1391 senderAddrInfo.mInfraIfIndex = 0; in SendResponseWithEmptyKey()
1439 senderAddrInfo.mInfraIfIndex = 0; in SendPtrQueryWithKnownAnswers()
1486 senderAddrInfo.mInfraIfIndex = 0; in SendEmtryPtrQueryWithKnownAnswers()
1590 senderAddrInfo.mInfraIfIndex = 0; in otPlatMdnsSendMulticast()
[all …]
Dtest_srp_adv_proxy.cpp170 Log(" Infra-if index : %u", aService->mInfraIfIndex); in otPlatDnssdRegisterService()
173 VerifyOrQuit(aService->mInfraIfIndex == kInfraIfIndex); in otPlatDnssdRegisterService()
217 Log(" Infra-if index : %u", aService->mInfraIfIndex); in otPlatDnssdUnregisterService()
220 VerifyOrQuit(aService->mInfraIfIndex == kInfraIfIndex); in otPlatDnssdUnregisterService()
267 Log(" Infra-if index : %u", aHost->mInfraIfIndex); in otPlatDnssdRegisterHost()
270 VerifyOrQuit(aHost->mInfraIfIndex == kInfraIfIndex); in otPlatDnssdRegisterHost()
294 Log(" Infra-if index : %u", aHost->mInfraIfIndex); in otPlatDnssdUnregisterHost()
297 VerifyOrQuit(aHost->mInfraIfIndex == kInfraIfIndex); in otPlatDnssdUnregisterHost()
324 VerifyOrQuit(aKey->mInfraIfIndex == kInfraIfIndex); in otPlatDnssdRegisterKey()
366 VerifyOrQuit(aKey->mInfraIfIndex == kInfraIfIndex); in otPlatDnssdUnregisterKey()
/openthread-latest/src/core/net/
Dsrp_advertising_proxy.cpp960 hostInfo.mInfraIfIndex = Get<BorderRouter::InfraIf>().GetIfIndex(); in RegisterHost()
986 hostInfo.mInfraIfIndex = Get<BorderRouter::InfraIf>().GetIfIndex(); in UnregisterHost()
1034 serviceInfo.mInfraIfIndex = Get<BorderRouter::InfraIf>().GetIfIndex(); in RegisterService()
1065 serviceInfo.mInfraIfIndex = Get<BorderRouter::InfraIf>().GetIfIndex(); in UnregisterService()
1121 keyInfo.mInfraIfIndex = Get<BorderRouter::InfraIf>().GetIfIndex(); in RegisterKey()
1161 keyInfo.mInfraIfIndex = Get<BorderRouter::InfraIf>().GetIfIndex(); in UnregisterKey()
Ddnssd_server.cpp1704 browser.mInfraIfIndex = Get<BorderRouter::InfraIf>().GetIfIndex(); in StartOrStopBrowser()
1735 resolver.mInfraIfIndex = Get<BorderRouter::InfraIf>().GetIfIndex(); in StartOrStopSrvResolver()
1766 resolver.mInfraIfIndex = Get<BorderRouter::InfraIf>().GetIfIndex(); in StartOrStopTxtResolver()
1790 resolver.mInfraIfIndex = Get<BorderRouter::InfraIf>().GetIfIndex(); in StartOrStopIp6Resolver()
1814 resolver.mInfraIfIndex = Get<BorderRouter::InfraIf>().GetIfIndex(); in StartOrStopIp4Resolver()
1898 VerifyOrExit(aResult.mInfraIfIndex == Get<BorderRouter::InfraIf>().GetIfIndex()); in HandleBrowseResult()
1926 VerifyOrExit(aResult.mInfraIfIndex == Get<BorderRouter::InfraIf>().GetIfIndex()); in HandleSrvResult()
1946 VerifyOrExit(aResult.mInfraIfIndex == Get<BorderRouter::InfraIf>().GetIfIndex()); in HandleTxtResult()
1966 VerifyOrExit(aResult.mInfraIfIndex == Get<BorderRouter::InfraIf>().GetIfIndex()); in HandleIp6AddressResult()
2005 VerifyOrExit(aResult.mInfraIfIndex == Get<BorderRouter::InfraIf>().GetIfIndex()); in HandleIp4AddressResult()
Dmdns.cpp76 , mInfraIfIndex(0) in Core()
97 mInfraIfIndex = aInfraIfIndex; in SetEnabled()
101 LogInfo("Enabling on infra-if-index %lu", ToUlong(mInfraIfIndex)); in SetEnabled()
1343 aKey.mInfraIfIndex = Get<Core>().mInfraIfIndex; in CopyKeyInfoTo()
1700 aHost.mInfraIfIndex = Get<Core>().mInfraIfIndex; in CopyInfoTo()
2620 aService.mInfraIfIndex = Get<Core>().mInfraIfIndex; in CopyInfoTo()
3193 otPlatMdnsSendMulticast(&GetInstance(), mMsgPtr.Release(), Get<Core>().mInfraIfIndex); in Send()
5320 aBrowser.mInfraIfIndex = Get<Core>().mInfraIfIndex; in CopyInfoTo()
5351 aResult.mInfraIfIndex = aBrowseCache.Get<Core>().mInfraIfIndex; in ConvertTo()
5613 aResult.mInfraIfIndex = Get<Core>().mInfraIfIndex; in ConvertTo()
[all …]
Dmdns.hpp2018 uint32_t mInfraIfIndex; member in ot::Dns::Multicast::Core
/openthread-latest/examples/platforms/simulation/
Dmdns_socket.c424 addrInfo.mInfraIfIndex = sInfraIfIndex; in platformMdnsSocketProcess()
450 addrInfo.mInfraIfIndex = sInfraIfIndex; in platformMdnsSocketProcess()