Home
last modified time | relevance | path

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

12

/openthread-latest/src/core/net/
Dnetif.cpp53 const otNetifMulticastAddress Netif::kRealmLocalAllMplForwardersMulticastAddress = {
58 const otNetifMulticastAddress Netif::kRealmLocalAllNodesMulticastAddress = {
60 &Netif::kRealmLocalAllMplForwardersMulticastAddress};
63 const otNetifMulticastAddress Netif::kLinkLocalAllNodesMulticastAddress = {
65 &Netif::kRealmLocalAllNodesMulticastAddress};
68 const otNetifMulticastAddress Netif::kRealmLocalAllRoutersMulticastAddress = {
70 &Netif::kLinkLocalAllNodesMulticastAddress};
73 const otNetifMulticastAddress Netif::kLinkLocalAllRoutersMulticastAddress = {
75 &Netif::kRealmLocalAllRoutersMulticastAddress};
80 Netif::Netif(Instance &aInstance) in Netif() function in ot::Ip6::Netif
[all …]
Dnetif.hpp72 class Netif : public InstanceLocator, private NonCopyable class
262 friend class Netif;
272 friend class Netif;
282 explicit Iterator(const Netif &aNetif, Address::TypeFilter aFilter = Address::kTypeAny);
288 Builder(const Netif &aNetif, Address::TypeFilter aFilter) in Builder()
298 const Netif &mNetif;
307 Iterator(const Netif &aNetif, IteratorType) in Iterator()
315 const Netif &mNetif;
348 explicit Netif(Instance &aInstance);
652 DefineCoreType(otNetifAddress, Ip6::Netif::UnicastAddress);
[all …]
Ddhcp6_client.hpp97 Ip6::Netif::UnicastAddress mNetifAddress;
107 static bool MatchNetifAddressWithPrefix(const Ip6::Netif::UnicastAddress &aNetifAddress,
Ddhcp6_server.hpp119 Ip6::Netif::UnicastAddress &GetAloc(void) { return mAloc; } in GetAloc()
162 Ip6::Netif::UnicastAddress mAloc;
Dnd_agent.hpp71 Ip6::Netif::UnicastAddress mAloc;
Dip6_address.cpp687 return AsCoreType(&Netif::kLinkLocalAllNodesMulticastAddress.mAddress); in GetLinkLocalAllNodesMulticast()
692 return AsCoreType(&Netif::kLinkLocalAllRoutersMulticastAddress.mAddress); in GetLinkLocalAllRoutersMulticast()
697 return AsCoreType(&Netif::kRealmLocalAllNodesMulticastAddress.mAddress); in GetRealmLocalAllNodesMulticast()
702 return AsCoreType(&Netif::kRealmLocalAllRoutersMulticastAddress.mAddress); in GetRealmLocalAllRoutersMulticast()
707 return AsCoreType(&Netif::kRealmLocalAllMplForwardersMulticastAddress.mAddress); in GetRealmLocalAllMplForwarders()
Dsrp_client.hpp75 friend class ot::Ip6::Netif;
1007 …void HandleUnicastAddressEvent(Ip6::Netif::AddressEvent aEvent, const Ip6::Netif::UnicastA…
1009 …bool ShouldHostAutoAddressRegister(const Ip6::Netif::UnicastAddress &aUnicastAddress) cons…
Dsrp_client.cpp616 for (Ip6::Netif::UnicastAddress &unicastAddress : Get<ThreadNetif>().GetUnicastAddresses()) in EnableAutoHostAddress()
644 void Client::HandleUnicastAddressEvent(Ip6::Netif::AddressEvent aEvent, const Ip6::Netif::UnicastAd… in HandleUnicastAddressEvent()
657 VerifyOrExit(aAddress.GetOrigin() == Ip6::Netif::kOriginSlaac); in HandleUnicastAddressEvent()
668 …mTxJitter.Request((aEvent == Ip6::Netif::kAddressAdded) ? TxJitter::kOnSlaacAddrAdd : TxJitter::kO… in HandleUnicastAddressEvent()
684 Ip6::Netif::UnicastAddress &mlEid = Get<Mle::Mle>().GetMeshLocalEidUnicastAddress(); in ShouldUpdateHostAutoAddresses()
699 … for (const Ip6::Netif::UnicastAddress &unicastAddress : Get<ThreadNetif>().GetUnicastAddresses()) in ShouldUpdateHostAutoAddresses()
743 bool Client::ShouldHostAutoAddressRegister(const Ip6::Netif::UnicastAddress &aUnicastAddress) const in ShouldHostAutoAddressRegister()
1513 for (Ip6::Netif::UnicastAddress &unicastAddress : Get<ThreadNetif>().GetUnicastAddresses()) in AppendHostDescriptionInstruction()
1529 Ip6::Netif::UnicastAddress &mlEid = Get<Mle::Mle>().GetMeshLocalEidUnicastAddress(); in AppendHostDescriptionInstruction()
Dip6.cpp1275 const Netif::UnicastAddress *bestAddr = nullptr; in SelectSourceAddress()
1278 for (const Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in SelectSourceAddress()
1367 for (const Netif::UnicastAddress &unicastAddr : Get<ThreadNetif>().GetUnicastAddresses()) in IsOnLink()
1417 VerifyOrExit(!Get<Netif>().HasUnicastAddress(aHeader.GetSource())); in UpdateBorderRoutingCounters()
1436 VerifyOrExit(!Get<Netif>().HasUnicastAddress(aHeader.GetDestination())); in UpdateBorderRoutingCounters()
Ddhcp6_client.cpp55 bool Client::MatchNetifAddressWithPrefix(const Ip6::Netif::UnicastAddress &aNetifAddress, const Ip6… in MatchNetifAddressWithPrefix()
567 idAssociation.mNetifAddress.mAddressOrigin = Ip6::Netif::kOriginDhcp6; in ProcessIaAddress()
/openthread-latest/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-latest/src/core/utils/
Dhistory_tracker.hpp80 friend class ot::Ip6::Netif;
397 …void RecordAddressEvent(Ip6::Netif::AddressEvent aEvent, const Ip6::Netif::UnicastAddress &aUnicas…
398 void RecordAddressEvent(Ip6::Netif::AddressEvent aEvent,
399 const Ip6::Netif::MulticastAddress &aMulticastAddress,
400 Ip6::Netif::AddressOrigin aAddressOrigin);
Dslaac_address.hpp135 Error GenerateIid(Ip6::Netif::UnicastAddress &aAddress, uint8_t &aDadCounter) const;
168 class SlaacAddress : public Ip6::Netif::UnicastAddress
214 const Ip6::Netif::UnicastAddress &aAddr);
Dhistory_tracker.cpp242 void HistoryTracker::RecordAddressEvent(Ip6::Netif::AddressEvent aEvent, in RecordAddressEvent()
243 const Ip6::Netif::UnicastAddress &aUnicastAddress) in RecordAddressEvent()
252 entry->mEvent = (aEvent == Ip6::Netif::kAddressAdded) ? kAddressAdded : kAddressRemoved; in RecordAddressEvent()
262 void HistoryTracker::RecordAddressEvent(Ip6::Netif::AddressEvent aEvent, in RecordAddressEvent()
263 const Ip6::Netif::MulticastAddress &aMulticastAddress, in RecordAddressEvent()
264 Ip6::Netif::AddressOrigin aAddressOrigin) in RecordAddressEvent()
272 entry->mEvent = (aEvent == Ip6::Netif::kAddressAdded) ? kAddressAdded : kAddressRemoved; in RecordAddressEvent()
Dslaac_address.cpp159 const Ip6::Netif::UnicastAddress &aAddr) in DoesConfigMatchNetifAddr()
290 for (const Ip6::Netif::UnicastAddress &netifAddr : Get<ThreadNetif>().GetUnicastAddresses()) in AddAddresses()
406 Error Slaac::GenerateIid(Ip6::Netif::UnicastAddress &aAddress, uint8_t &aDadCounter) const in GenerateIid()
/openthread-latest/src/core/thread/
Dmlr_manager.cpp87 for (Ip6::Netif::ExternalMulticastAddress &addr : in UpdateLocalSubscriptions()
107 …for (const Ip6::Netif::ExternalMulticastAddress &addr : Get<ThreadNetif>().IterateExternalMulticas… in IsAddressMlrRegisteredByNetif()
225 for (Ip6::Netif::ExternalMulticastAddress &addr : in SendMlr()
510 for (Ip6::Netif::ExternalMulticastAddress &addr : in SetMulticastAddressMlrState()
545 for (Ip6::Netif::ExternalMulticastAddress &addr : in FinishMlr()
659 …for (const Ip6::Netif::ExternalMulticastAddress &addr : Get<ThreadNetif>().IterateExternalMulticas… in LogMulticastAddresses()
727 for (Ip6::Netif::ExternalMulticastAddress &addr : in CheckInvariants()
Dthread_netif.hpp53 class ThreadNetif : public Ip6::Netif
Dmle.hpp536 Ip6::Netif::UnicastAddress &GetMeshLocalEidUnicastAddress(void) { return mMeshLocalEid; } in GetMeshLocalEidUnicastAddress()
676 bool IsMulticastAddressMeshLocalPrefixBased(const Ip6::Netif::MulticastAddress &aAddress) const in IsMulticastAddressMeshLocalPrefixBased()
1238 class ServiceAloc : public Ip6::Netif::UnicastAddress
1516 Ip6::Netif::UnicastAddress mLinkLocalAddress;
1517 Ip6::Netif::UnicastAddress mMeshLocalEid;
1518 Ip6::Netif::UnicastAddress mMeshLocalRloc;
1519 Ip6::Netif::MulticastAddress mLinkLocalAllThreadNodes;
1520 Ip6::Netif::MulticastAddress mRealmLocalAllThreadNodes;
Dthread_netif.cpp41 : Netif(aInstance) in ThreadNetif()
Ddua_manager.hpp241 Ip6::Netif::UnicastAddress mDomainUnicastAddress;
Dmle_router.hpp712 Ip6::Netif::UnicastAddress mLeaderAloc;
/openthread-latest/src/core/backbone_router/
Dbbr_local.hpp294 Ip6::Netif::UnicastAddress mBbrPrimaryAloc;
/openthread-latest/src/core/meshcop/
Dborder_agent.hpp336 Ip6::Netif::UnicastAddress mCommissionerAloc;
Dcommissioner.hpp467 Ip6::Netif::UnicastAddress mCommissionerAloc;
/openthread-latest/src/core/instance/
Dinstance.hpp805 template <> inline Ip6::Netif &Instance::Get(void) { return mThreadNetif; } in Get()

12