ESP-IDF
ot::Ip6::Address::IsMulticast() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Ip6::Address::IsMulticast() const
ot::Ip6::Address::IsMulticast() const method
Indicates whether or not the IPv6 address is multicast address.
Syntax
Show:
Summary
Declaration
from
ip6_address.hpp:619
bool
IsMulticast
(
void
)
const
;
Return value
TRUE If the IPv6 address is a multicast address. FALSE If the IPv6 address scope is not a multicast address.
Examples
References
from
examples
Code
Location
Scope
Referrer
bool
IsMulticast
(
void
)
const
{
return
mFields
.
m8
[
0
]
==
0xff
;
}
ip6_address.hpp:619
if
(
aMessage
.
IsConfirmable
(
)
&&
!
aMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
)
address_resolver.cpp:775
ot::AddressResolver
ot::AddressResolver::HandleTmf()
if
(
aMessage
.
IsConfirmable
(
)
&&
!
aMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
)
announce_begin_server.cpp:70
ot::AnnounceBeginServer
ot::AnnounceBeginServer::HandleTmf()
bool
proactive
=
aDstAddr
.
IsMulticast
(
)
;
bbr_manager.cpp:637
ot::BackboneRouter::Manager
ot::BackboneRouter::Manager::SendBackboneAnswer()
if
(
!
aMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
&&
message
.
IsConfirmable
(
)
)
coap.cpp:1042
ot::Coap::CoapBase
ot::Coap::CoapBase::Receive()
if
(
error
==
kErrorNotFound
&&
!
aMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
)
coap.cpp:1443
ot::Coap::CoapBase
ot::Coap::CoapBase::ProcessReceivedRequest()
return
Init
(
aDestination
.
IsMulticast
(
)
?
kTypeNonConfirmable
:
kTypeConfirmable
,
kCodePost
,
aUri
)
;
coap_message.cpp:77
ot::Coap::Message
ot::Coap::Message::InitAsPost()
if
(
aMessage
.
IsConfirmable
(
)
&&
!
aMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
)
energy_scan_server.cpp:90
ot::EnergyScanServer
ot::EnergyScanServer::HandleTmf()
rval
=
!
aAddress
.
IsMulticast
(
)
;
icmp6.cpp:159
ot::Ip6::Icmp
ot::Ip6::Icmp::ShouldHandleEchoRequest()
rval
=
aAddress
.
IsMulticast
(
)
;
icmp6.cpp:162
ot::Ip6::Icmp
ot::Ip6::Icmp::ShouldHandleEchoRequest()
if
(
!
aMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
)
icmp6.cpp:204
ot::Ip6::Icmp
ot::Ip6::Icmp::HandleEchoRequest()
if
(
aMessageInfo
.
GetSockAddr
(
)
.
IsUnspecified
(
)
||
aMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
)
ip6.cpp:437
ot::Ip6::Ip6
ot::Ip6::Ip6::SendDatagram()
VerifyOrExit
(
!
header
.
GetSource
(
)
.
IsMulticast
(
)
,
error
=
kErrorInvalidSourceAddress
)
;
ip6.cpp:1045
ot::Ip6::Ip6
ot::Ip6::Ip6::SendRaw()
if
(
header
.
GetDestination
(
)
.
IsMulticast
(
)
)
ip6.cpp:1061
ot::Ip6::Ip6
ot::Ip6::Ip6::SendRaw()
if
(
header
.
GetDestination
(
)
.
IsMulticast
(
)
)
ip6.cpp:1094
ot::Ip6::Ip6
ot::Ip6::Ip6::HandleDatagram()
if
(
aHeader
.
GetDestination
(
)
.
IsMulticast
(
)
)
ip6.cpp:1421
ot::Ip6::Ip6
ot::Ip6::Ip6::UpdateBorderRoutingCounters()
if
(
aHeader
.
GetDestination
(
)
.
IsMulticast
(
)
)
ip6.cpp:1440
ot::Ip6::Ip6
ot::Ip6::Ip6::UpdateBorderRoutingCounters()
bool
Address
::
IsLinkLocalMulticast
(
void
)
const
{
return
IsMulticast
(
)
&&
(
GetScope
(
)
==
kLinkLocalScope
)
;
}
ip6_address.cpp:354
ot::Ip6::Address
ot::Ip6::Address::IsLinkLocalMulticast() const
bool
Address
::
IsRealmLocalMulticast
(
void
)
const
{
return
IsMulticast
(
)
&&
(
GetScope
(
)
==
kRealmLocalScope
)
;
}
ip6_address.cpp:366
ot::Ip6::Address
ot::Ip6::Address::IsRealmLocalMulticast() const
bool
Address
::
IsMulticastLargerThanRealmLocal
(
void
)
const
{
return
IsMulticast
(
)
&&
(
GetScope
(
)
>
kRealmLocalScope
)
;
}
ip6_address.cpp:368
ot::Ip6::Address
ot::Ip6::Address::IsMulticastLargerThanRealmLocal() const
if
(
IsMulticast
(
)
)
ip6_address.cpp:448
ot::Ip6::Address
ot::Ip6::Address::GetScope() const
matches
=
!
IsUnspecified
(
)
&&
!
IsMulticast
(
)
;
ip6_address.cpp:483
ot::Ip6::Address
ot::Ip6::Address::MatchesFilter() const
matches
=
IsMulticast
(
)
;
ip6_address.cpp:487
ot::Ip6::Address
ot::Ip6::Address::MatchesFilter() const
if
(
ip6Header
.
GetDestination
(
)
.
IsMulticast
(
)
)
lowpan.cpp:356
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::Compress()
VerifyOrExit
(
!
ip6Header
.
GetSource
(
)
.
IsMulticast
(
)
,
error
=
kErrorDrop
)
;
mesh_forwarder.cpp:629
ot::MeshForwarder
ot::MeshForwarder::UpdateIp6Route()
if
(
ip6Header
.
GetDestination
(
)
.
IsMulticast
(
)
)
mesh_forwarder.cpp:647
ot::MeshForwarder
ot::MeshForwarder::UpdateIp6Route()
if
(
aIp6Addr
.
IsMulticast
(
)
)
mesh_forwarder.cpp:713
ot::MeshForwarder
ot::MeshForwarder::GetMacDestinationAddress()
if
(
destination
.
IsMulticast
(
)
)
mesh_forwarder_ftd.cpp:62
ot::MeshForwarder
ot::MeshForwarder::SendMessage()
VerifyOrExit
(
!
ip6Headers
.
GetDestinationAddress
(
)
.
IsMulticast
(
)
&&
mesh_forwarder_ftd.cpp:478
ot::MeshForwarder
ot::MeshForwarder::SendIcmpErrorIfDstUnreach()
if
(
!
aMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
||
!
aMessage
.
IsDstPanIdBroadcast
(
)
)
mle.cpp:2561
ot::Mle::Mle
ot::Mle::Mle::HandleUdpReceive()
if
(
aRxInfo
.
mMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
)
mle.cpp:2888
ot::Mle::Mle
ot::Mle::Mle::HandleLeaderData()
if
(
aRxInfo
.
mMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
)
mle_router.cpp:810
ot::Mle::MleRouter
ot::Mle::MleRouter::SendLinkAccept()
if
(
address
.
IsMulticast
(
)
)
mle_router.cpp:1838
ot::Mle::MleRouter
ot::Mle::MleRouter::ProcessAddressRegistrationTlv()
VerifyOrExit
(
aAddress
.
IsMulticast
(
)
,
error
=
kErrorInvalidArgs
)
;
netif.cpp:297
ot::Ip6::Netif
ot::Ip6::Netif::SubscribeExternalMulticast()
VerifyOrExit
(
!
aAddress
.
GetAddress
(
)
.
IsMulticast
(
)
,
error
=
kErrorInvalidArgs
)
;
netif.cpp:439
ot::Ip6::Netif
ot::Ip6::Netif::AddExternalUnicastAddress()
if
(
aDestination
.
IsMulticast
(
)
)
network_diagnostic.cpp:94
ot::NetworkDiagnostic::Server
ot::NetworkDiagnostic::Server::PrepareMessageInfoForDest() const
if
(
aDestination
.
IsMulticast
(
)
)
network_diagnostic.cpp:869
ot::NetworkDiagnostic::Client
ot::NetworkDiagnostic::Client::SendDiagnosticGet()
if
(
aMessage
.
IsConfirmable
(
)
&&
!
aMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
)
panid_query_server.cpp:66
ot::PanIdQueryServer
ot::PanIdQueryServer::HandleTmf()
VerifyOrExit
(
!
aIp6Header
.
GetDestination
(
)
.
IsMulticast
(
)
)
;
routing_manager.cpp:820
ot::BorderRouter::RoutingManager
ot::BorderRouter::RoutingManager::CheckReachabilityToSendIcmpError()
if
(
aIp6Address
.
IsMulticast
(
)
||
aIp6Address
.
IsUnspecified
(
)
||
aIp6Address
.
IsLoopback
(
)
)
srp_server.cpp:2182
ot::Srp::Server::Host
ot::Srp::Server::Host::AddIp6Address()
VerifyOrExit
(
aMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
||
GetSockName
(
)
.
GetAddress
(
)
.
IsUnspecified
(
)
||
udp6.cpp:50
ot::Ip6::Udp::SocketHandle
ot::Ip6::Udp::SocketHandle::Matches() const
VerifyOrExit
(
aAddress
.
IsMulticast
(
)
,
error
=
kErrorInvalidArgs
)
;
udp6.cpp:121
ot::Ip6::Udp::Socket
ot::Ip6::Udp::Socket::JoinNetifMulticastGroup()
VerifyOrExit
(
aAddress
.
IsMulticast
(
)
,
error
=
kErrorInvalidArgs
)
;
udp6.cpp:138
ot::Ip6::Udp::Socket
ot::Ip6::Udp::Socket::LeaveNetifMulticastGroup()
Call Tree
from
examples
ot::Ip6::Address::IsMulticast() const
is called by 37 functions:
ot::AddressResolver::HandleTmf()
ot::AnnounceBeginServer::HandleTmf()
ot::EnergyScanServer::HandleTmf()
ot::Lowpan::Lowpan::Compress()
ot::MeshForwarder::UpdateIp6Route()
ot::MeshForwarder::GetMacDestinationAddress()
ot::MeshForwarder::SendMessage()
ot::MeshForwarder::SendIcmpErrorIfDstUnreach()
ot::Mle::Mle::HandleUdpReceive()
ot::Mle::Mle::HandleLeaderData()
ot::Mle::MleRouter::SendLinkAccept()
ot::Mle::MleRouter::ProcessAddressRegistrationTlv()
ot::NetworkDiagnostic::Server::PrepareMessageInfoForDest() const
ot::NetworkDiagnostic::Client::SendDiagnosticGet()
ot::PanIdQueryServer::HandleTmf()
ot::BackboneRouter::Manager::SendBackboneAnswer()
ot::Coap::CoapBase::Receive()
ot::Coap::CoapBase::ProcessReceivedRequest()
ot::Coap::Message::InitAsPost()
ot::Ip6::Icmp::ShouldHandleEchoRequest()
ot::Ip6::Icmp::HandleEchoRequest()
ot::Ip6::Ip6::SendDatagram()
ot::Ip6::Ip6::SendRaw()
ot::Ip6::Ip6::HandleDatagram()
ot::Ip6::Ip6::UpdateBorderRoutingCounters()
ot::Ip6::Address::IsLinkLocalMulticast() const
ot::Ip6::Address::IsRealmLocalMulticast() const
ot::Ip6::Address::IsMulticastLargerThanRealmLocal() const
ot::Ip6::Address::GetScope() const
ot::Ip6::Address::MatchesFilter() const
ot::Ip6::Netif::SubscribeExternalMulticast()
ot::Ip6::Netif::AddExternalUnicastAddress()
ot::Ip6::Udp::SocketHandle::Matches() const
ot::Ip6::Udp::Socket::JoinNetifMulticastGroup()
ot::Ip6::Udp::Socket::LeaveNetifMulticastGroup()
ot::BorderRouter::RoutingManager::CheckReachabilityToSendIcmpError()
ot::Srp::Server::Host::AddIp6Address()
All items filtered out
ot::Ip6::Address::IsMulticast() const
All items filtered out
Data Use
from
examples
ot::Ip6::Address::IsMulticast() const
reads 2 variables:
otIp6Address::
::m8
otIp6Address::mFields
All items filtered out
ot::Ip6::Address::IsMulticast() const
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