Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/net/
Dnetif.cpp48 explicit AddressInfo(const Netif::UnicastAddress &aAddress) in AddressInfo()
56 explicit AddressInfo(const Netif::MulticastAddress &aAddress) in AddressInfo()
82 const otNetifMulticastAddress Netif::kRealmLocalAllMplForwardersMulticastAddress = {
87 const otNetifMulticastAddress Netif::kRealmLocalAllNodesMulticastAddress = {
89 &Netif::kRealmLocalAllMplForwardersMulticastAddress};
92 const otNetifMulticastAddress Netif::kLinkLocalAllNodesMulticastAddress = {
94 &Netif::kRealmLocalAllNodesMulticastAddress};
97 const otNetifMulticastAddress Netif::kRealmLocalAllRoutersMulticastAddress = {
99 &Netif::kLinkLocalAllNodesMulticastAddress};
102 const otNetifMulticastAddress Netif::kLinkLocalAllRoutersMulticastAddress = {
[all …]
Dnetif.hpp71 class Netif : public InstanceLocator, private NonCopyable class
239 friend class Netif;
250 friend class Netif;
261 explicit Iterator(const Netif &aNetif, Address::TypeFilter aFilter = Address::kTypeAny);
267 Builder(const Netif &aNetif, Address::TypeFilter aFilter) in Builder()
277 const Netif & mNetif;
286 Iterator(const Netif &aNetif, IteratorType) in Iterator()
294 const Netif & mNetif;
333 explicit Netif(Instance &aInstance);
Dip6.hpp224 …Error HandleDatagram(Message &aMessage, Netif *aNetif, const void *aLinkMessageInfo, bool aFromNcp…
290 const Netif::UnicastAddress *SelectSourceAddress(MessageInfo &aMessageInfo);
331 Netif * aNetif,
339 …Error HandleFragment(Message &aMessage, Netif *aNetif, MessageInfo &aMessageInfo, bool aFromNcpHos…
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.cpp668 return static_cast<const Address &>(Netif::kLinkLocalAllNodesMulticastAddress.mAddress); in GetLinkLocalAllNodesMulticast()
673 return static_cast<const Address &>(Netif::kLinkLocalAllRoutersMulticastAddress.mAddress); in GetLinkLocalAllRoutersMulticast()
678 return static_cast<const Address &>(Netif::kRealmLocalAllNodesMulticastAddress.mAddress); in GetRealmLocalAllNodesMulticast()
683 return static_cast<const Address &>(Netif::kRealmLocalAllRoutersMulticastAddress.mAddress); in GetRealmLocalAllRoutersMulticast()
688 … return static_cast<const Address &>(Netif::kRealmLocalAllMplForwardersMulticastAddress.mAddress); in GetRealmLocalAllMplForwarders()
Dip6.cpp224 const Netif::UnicastAddress *source; in AddTunneledMplOption()
472 const Netif::UnicastAddress *source = SelectSourceAddress(aMessageInfo); in SendDatagram()
686 Error Ip6::HandleFragment(Message &aMessage, Netif *aNetif, MessageInfo &aMessageInfo, bool aFromNc… in HandleFragment()
870 Error Ip6::HandleFragment(Message &aMessage, Netif *aNetif, MessageInfo &aMessageInfo, bool aFromNc… in HandleFragment()
891 Netif * aNetif, in HandleExtensionHeaders()
1117 Error Ip6::HandleDatagram(Message &aMessage, Netif *aNetif, const void *aLinkMessageInfo, bool aFro… in HandleDatagram()
1147 Netif *netif; in HandleDatagram()
1376 const Netif::UnicastAddress *Ip6::SelectSourceAddress(MessageInfo &aMessageInfo) in SelectSourceAddress()
1381 const Netif::UnicastAddress *rvalAddr = nullptr; in SelectSourceAddress()
1384 for (const Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in SelectSourceAddress()
[all …]
Ddhcp6_client.cpp60 bool Client::MatchNetifAddressWithPrefix(const Ip6::Netif::UnicastAddress &aNetifAddress, const Ip6… in MatchNetifAddressWithPrefix()
/openthread-2.7.6/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-2.7.6/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.cpp136 const Ip6::Netif::UnicastAddress & aAddr) in DoesConfigMatchNetifAddr()
154 for (Ip6::Netif::UnicastAddress &slaacAddr : mAddresses) in Update()
211 … for (const Ip6::Netif::UnicastAddress &netifAddr : Get<ThreadNetif>().GetUnicastAddresses()) in Update()
224 for (Ip6::Netif::UnicastAddress &slaacAddr : mAddresses) in Update()
254 Error Slaac::GenerateIid(Ip6::Netif::UnicastAddress &aAddress, in GenerateIid()
/openthread-2.7.6/src/core/thread/
Dmlr_manager.cpp96 for (Ip6::Netif::ExternalMulticastAddress &addr : in UpdateLocalSubscriptions()
116 …for (const Ip6::Netif::ExternalMulticastAddress &addr : Get<ThreadNetif>().IterateExternalMulticas… in IsAddressMlrRegisteredByNetif()
240 for (Ip6::Netif::ExternalMulticastAddress &addr : in SendMulticastListenerRegistration()
544 for (Ip6::Netif::ExternalMulticastAddress &addr : in SetMulticastAddressMlrState()
576 for (Ip6::Netif::ExternalMulticastAddress &addr : in FinishMulticastListenerRegistration()
686 …for (const Ip6::Netif::ExternalMulticastAddress &addr : Get<ThreadNetif>().IterateExternalMulticas… in LogMulticastAddresses()
787 for (Ip6::Netif::ExternalMulticastAddress &addr : in CheckInvariants()
Dmle.hpp1597 Ip6::Netif::UnicastAddress mLeaderAloc; ///< Leader anycast locator
1892 Ip6::Netif::UnicastAddress mServiceAlocs[kMaxServiceAlocs];
1897 Ip6::Netif::UnicastAddress mLinkLocal64;
1898 Ip6::Netif::UnicastAddress mMeshLocal64;
1899 Ip6::Netif::UnicastAddress mMeshLocal16;
1900 Ip6::Netif::MulticastAddress mLinkLocalAllThreadNodes;
1901 Ip6::Netif::MulticastAddress mRealmLocalAllThreadNodes;
Ddua_manager.hpp237 Ip6::Netif::UnicastAddress mDomainUnicastAddress;
Dthread_netif.hpp128 class ThreadNetif : public Ip6::Netif
Dthread_netif.cpp51 : Netif(aInstance) in ThreadNetif()
Dnetwork_diagnostic.cpp193 for (const Ip6::Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in AppendIp6AddressList()
202 for (const Ip6::Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in AppendIp6AddressList()
Dmle.cpp133 for (Ip6::Netif::UnicastAddress &serviceAloc : mServiceAlocs) in Mle()
891 for (Ip6::Netif::UnicastAddress &serviceAloc : mServiceAlocs) in ApplyMeshLocalPrefix()
1257 for (const Ip6::Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in HasUnregisteredAddress()
1323 for (const Ip6::Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in AppendAddressRegistration()
1370 …for (const Ip6::Netif::MulticastAddress &addr : Get<ThreadNetif>().IterateExternalMulticastAddress… in AppendAddressRegistration()
Daddress_resolver.cpp729 for (const Ip6::Netif::UnicastAddress &address : Get<ThreadNetif>().GetUnicastAddresses()) in HandleAddressError()
/openthread-2.7.6/src/core/backbone_router/
Dbbr_local.hpp283 Ip6::Netif::UnicastAddress mBackboneRouterPrimaryAloc;
/openthread-2.7.6/src/core/api/
Dip6_api.cpp90 *static_cast<const Ip6::Netif::UnicastAddress *>(aAddress)); in otIp6AddUnicastAddress()
271 const Ip6::Netif::UnicastAddress *netifAddr; in otIp6SelectSourceAddress()
/openthread-2.7.6/src/core/meshcop/
Dborder_agent.hpp193 Ip6::Netif::UnicastAddress mCommissionerAloc;
Dcommissioner.hpp465 Ip6::Netif::UnicastAddress mCommissionerAloc;
/openthread-2.7.6/src/core/common/
Dinstance.hpp512 template <> inline Ip6::Netif &Instance::Get(void) in Get()