Home
last modified time | relevance | path

Searched refs:Netif (Results 1 – 25 of 26) sorted by relevance

12

/openthread-3.5.0/src/core/net/
Dnetif.cpp59 const otNetifMulticastAddress Netif::kRealmLocalAllMplForwardersMulticastAddress = {
64 const otNetifMulticastAddress Netif::kRealmLocalAllNodesMulticastAddress = {
66 &Netif::kRealmLocalAllMplForwardersMulticastAddress};
69 const otNetifMulticastAddress Netif::kLinkLocalAllNodesMulticastAddress = {
71 &Netif::kRealmLocalAllNodesMulticastAddress};
74 const otNetifMulticastAddress Netif::kRealmLocalAllRoutersMulticastAddress = {
76 &Netif::kLinkLocalAllNodesMulticastAddress};
79 const otNetifMulticastAddress Netif::kLinkLocalAllRoutersMulticastAddress = {
81 &Netif::kRealmLocalAllRoutersMulticastAddress};
86 Netif::Netif(Instance &aInstance) in Netif() function in ot::Ip6::Netif
[all …]
Dnetif.hpp74 class Netif : public InstanceLocator, private NonCopyable class
271 friend class Netif;
282 friend class Netif;
293 explicit Iterator(const Netif &aNetif, Address::TypeFilter aFilter = Address::kTypeAny);
299 Builder(const Netif &aNetif, Address::TypeFilter aFilter) in Builder()
309 const Netif &mNetif;
318 Iterator(const Netif &aNetif, IteratorType) in Iterator()
326 const Netif &mNetif;
362 explicit Netif(Instance &aInstance);
684 DefineCoreType(otNetifAddress, Ip6::Netif::UnicastAddress);
[all …]
Ddhcp6_client.hpp102 Ip6::Netif::UnicastAddress mNetifAddress;
112 static bool MatchNetifAddressWithPrefix(const Ip6::Netif::UnicastAddress &aNetifAddress,
Dnd_agent.hpp79 Ip6::Netif::UnicastAddress mAloc;
Ddhcp6_server.hpp133 Ip6::Netif::UnicastAddress &GetAloc(void) { return mAloc; } in GetAloc()
179 Ip6::Netif::UnicastAddress mAloc;
Dip6_address.cpp694 return AsCoreType(&Netif::kLinkLocalAllNodesMulticastAddress.mAddress); in GetLinkLocalAllNodesMulticast()
699 return AsCoreType(&Netif::kLinkLocalAllRoutersMulticastAddress.mAddress); in GetLinkLocalAllRoutersMulticast()
704 return AsCoreType(&Netif::kRealmLocalAllNodesMulticastAddress.mAddress); in GetRealmLocalAllNodesMulticast()
709 return AsCoreType(&Netif::kRealmLocalAllRoutersMulticastAddress.mAddress); in GetRealmLocalAllRoutersMulticast()
714 return AsCoreType(&Netif::kRealmLocalAllMplForwardersMulticastAddress.mAddress); in GetRealmLocalAllMplForwarders()
Dip6.cpp1325 const Netif::UnicastAddress *bestAddr = nullptr; in SelectSourceAddress()
1328 for (const Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in SelectSourceAddress()
1433 for (const Netif::UnicastAddress &unicastAddr : Get<ThreadNetif>().GetUnicastAddresses()) in IsOnLink()
1479 VerifyOrExit(!Get<Netif>().HasUnicastAddress(aHeader.GetSource())); in UpdateBorderRoutingCounters()
1493 VerifyOrExit(!Get<Netif>().HasUnicastAddress(aHeader.GetDestination())); in UpdateBorderRoutingCounters()
Ddhcp6_client.cpp63 bool Client::MatchNetifAddressWithPrefix(const Ip6::Netif::UnicastAddress &aNetifAddress, const Ip6… in MatchNetifAddressWithPrefix()
580 idAssociation.mNetifAddress.mAddressOrigin = Ip6::Netif::kOriginDhcp6; in ProcessIaAddress()
/openthread-3.5.0/tests/unit/
Dtest_netif.cpp44 class TestNetif : public Ip6::Netif
48 : Ip6::Netif(aInstance) in TestNetif()
54 void SubscribeAllNodesMulticast(void) { Ip6::Netif::SubscribeAllNodesMulticast(); } in SubscribeAllNodesMulticast()
55 void UnsubscribeAllNodesMulticast(void) { Ip6::Netif::UnsubscribeAllNodesMulticast(); } in UnsubscribeAllNodesMulticast()
59 void VerifyMulticastAddressList(const Ip6::Netif &aNetif, Ip6::Address aAddresses[], uint8_t aLengt… in VerifyMulticastAddressList()
68 for (const Ip6::Netif::MulticastAddress &addr : aNetif.GetMulticastAddresses()) in VerifyMulticastAddressList()
97 Ip6::Netif::MulticastAddress netifAddress; in TestNetifMulticastAddresses()
/openthread-3.5.0/src/core/utils/
Dslaac_address.hpp141 Error GenerateIid(Ip6::Netif::UnicastAddress &aAddress,
166 const Ip6::Netif::UnicastAddress &aAddr);
170 Ip6::Netif::UnicastAddress mAddresses[OPENTHREAD_CONFIG_IP6_SLAAC_NUM_ADDRESSES];
Dslaac_address.cpp139 const Ip6::Netif::UnicastAddress &aAddr) in DoesConfigMatchNetifAddr()
157 for (Ip6::Netif::UnicastAddress &slaacAddr : mAddresses) in Update()
215 … for (const Ip6::Netif::UnicastAddress &netifAddr : Get<ThreadNetif>().GetUnicastAddresses()) in Update()
228 for (Ip6::Netif::UnicastAddress &slaacAddr : mAddresses) in Update()
258 Error Slaac::GenerateIid(Ip6::Netif::UnicastAddress &aAddress, in GenerateIid()
Dhistory_tracker.hpp81 friend class ot::Ip6::Netif;
410 …void RecordAddressEvent(Ip6::Netif::AddressEvent aEvent, const Ip6::Netif::UnicastAddress &aUnicas…
411 void RecordAddressEvent(Ip6::Netif::AddressEvent aEvent,
412 const Ip6::Netif::MulticastAddress &aMulticastAddress,
413 Ip6::Netif::AddressOrigin aAddressOrigin);
Dhistory_tracker.cpp250 void HistoryTracker::RecordAddressEvent(Ip6::Netif::AddressEvent aEvent, in RecordAddressEvent()
251 const Ip6::Netif::UnicastAddress &aUnicastAddress) in RecordAddressEvent()
260 entry->mEvent = (aEvent == Ip6::Netif::kAddressAdded) ? kAddressAdded : kAddressRemoved; in RecordAddressEvent()
270 void HistoryTracker::RecordAddressEvent(Ip6::Netif::AddressEvent aEvent, in RecordAddressEvent()
271 const Ip6::Netif::MulticastAddress &aMulticastAddress, in RecordAddressEvent()
272 Ip6::Netif::AddressOrigin aAddressOrigin) in RecordAddressEvent()
280 entry->mEvent = (aEvent == Ip6::Netif::kAddressAdded) ? kAddressAdded : kAddressRemoved; in RecordAddressEvent()
/openthread-3.5.0/src/core/thread/
Dthread_netif.hpp53 class ThreadNetif : public Ip6::Netif
Dmlr_manager.cpp95 for (Ip6::Netif::ExternalMulticastAddress &addr : in UpdateLocalSubscriptions()
115 …for (const Ip6::Netif::ExternalMulticastAddress &addr : Get<ThreadNetif>().IterateExternalMulticas… in IsAddressMlrRegisteredByNetif()
227 for (Ip6::Netif::ExternalMulticastAddress &addr : in SendMulticastListenerRegistration()
520 for (Ip6::Netif::ExternalMulticastAddress &addr : in SetMulticastAddressMlrState()
552 for (Ip6::Netif::ExternalMulticastAddress &addr : in FinishMulticastListenerRegistration()
661 …for (const Ip6::Netif::ExternalMulticastAddress &addr : Get<ThreadNetif>().IterateExternalMulticas… in LogMulticastAddresses()
762 for (Ip6::Netif::ExternalMulticastAddress &addr : in CheckInvariants()
Dmle.hpp1137 class ServiceAloc : public Ip6::Netif::UnicastAddress
1398 Ip6::Netif::UnicastAddress mLinkLocal64;
1399 Ip6::Netif::UnicastAddress mMeshLocal64;
1400 Ip6::Netif::UnicastAddress mMeshLocal16;
1401 Ip6::Netif::MulticastAddress mLinkLocalAllThreadNodes;
1402 Ip6::Netif::MulticastAddress mRealmLocalAllThreadNodes;
1403 Ip6::Netif::UnicastAddress mLeaderAloc;
Dthread_netif.cpp51 : Netif(aInstance) in ThreadNetif()
Ddua_manager.hpp255 Ip6::Netif::UnicastAddress mDomainUnicastAddress;
Dnetwork_diagnostic.cpp143 for (const Ip6::Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in AppendIp6AddressList()
166 for (const Ip6::Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in AppendIp6AddressList()
Daddress_resolver.cpp777 for (const Ip6::Netif::UnicastAddress &address : Get<ThreadNetif>().GetUnicastAddresses()) in HandleTmf()
Dmle.cpp1099 for (const Ip6::Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in HasUnregisteredAddress()
4648 for (const Ip6::Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in AppendAddressRegistrationTlv()
4688 …for (const Ip6::Netif::MulticastAddress &addr : Get<ThreadNetif>().IterateExternalMulticastAddress… in AppendAddressRegistrationTlv()
/openthread-3.5.0/src/core/backbone_router/
Dbbr_local.hpp297 Ip6::Netif::UnicastAddress mBackboneRouterPrimaryAloc;
/openthread-3.5.0/src/core/meshcop/
Dborder_agent.hpp210 Ip6::Netif::UnicastAddress mCommissionerAloc;
Dcommissioner.hpp623 Ip6::Netif::UnicastAddress mCommissionerAloc;
/openthread-3.5.0/src/core/common/
Dinstance.hpp716 template <> inline Ip6::Netif &Instance::Get(void) { return mThreadNetif; } in Get()

12