ESP-IDF
ot::Ip6::Netif::ExternalMulticastAddress
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Methods
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Ip6::Netif::ExternalMulticastAddress
ot::Ip6::Netif::ExternalMulticastAddress class
Syntax
Show:
Summary
Declaration
from
netif.hpp:260
class
ExternalMulticastAddress
:
public
MulticastAddress
{
friend
class
Netif
;
friend
class
LinkedList
<
ExternalMulticastAddress
>
;
public
:
class
Iterator
:
public
ItemPtrIterator
<
ExternalMulticastAddress
,
Iterator
>
{
friend
class
ItemPtrIterator
<
ExternalMulticastAddress
,
Iterator
>
;
friend
class
Netif
;
public
:
explicit
Iterator
(
const
Netif
&
aNetif
,
Address
::
TypeFilter
aFilter
=
Address
::
kTypeAny
)
;
private
:
class
Builder
{
public
:
Builder
(
const
Netif
&
aNetif
,
Address
::
TypeFilter
aFilter
)
:
mNetif
(
aNetif
)
,
mFilter
(
aFilter
)
{
}
Iterator
begin
(
void
)
{
return
Iterator
(
mNetif
,
mFilter
)
;
}
Iterator
end
(
void
)
{
return
Iterator
(
mNetif
,
Iterator
::
kEndIterator
)
;
}
private
:
const
Netif
&
mNetif
;
Address
::
TypeFilter
mFilter
;
}
;
enum
IteratorType
:
uint8_t
{
kEndIterator
,
}
;
Iterator
(
const
Netif
&
aNetif
,
IteratorType
)
:
mNetif
(
aNetif
)
{
}
void
AdvanceFrom
(
const
MulticastAddress
*
aAddr
)
;
void
Advance
(
void
)
{
AdvanceFrom
(
mItem
->
GetNext
(
)
)
;
}
const
Netif
&
mNetif
;
Address
::
TypeFilter
mFilter
;
}
;
#if
OPENTHREAD_CONFIG_MLR_ENABLE
MlrState
GetMlrState
(
void
)
const
{
return
mMlrState
;
}
void
SetMlrState
(
MlrState
aState
)
{
mMlrState
=
aState
;
}
#endif
private
:
ExternalMulticastAddress
*
GetNext
(
void
)
{
return
static_cast
<
ExternalMulticastAddress
*
>
(
AsNonConst
(
mNext
)
)
;
}
#if
OPENTHREAD_CONFIG_MLR_ENABLE
MlrState
mMlrState
;
#endif
}
;
Fields
Field
Declared as
ot::Ip6::Netif::ExternalMulticastAddress::mMlrState
MlrState
Methods
GetMlrState() const
Returns the current Multicast Listener Registration (MLR) state.
SetMlrState()
Sets the Multicast Listener Registration (MLR) state.
GetNext()
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out