ot::Ip6::SockAddr::operator() const method
Overloads operator `==` to evaluate whether or not two `SockAddr` instances are equal (same address and port number).
Arguments
aOther
The other `SockAddr` instance to compare with.
Return value
TRUE If the two `SockAddr` instances are equal. FALSE If the two `SockAddr` instances not equal.
![]()
bool Matches(const Ip6::SockAddr &aSockAddr) const { return GetSockAddr() == aSockAddr; }
ot::Ip6::SockAddr::operator() const is called by 2 functions and calls 2 functions:
![]()
ot::Ip6::SockAddr::operator() const
ot::Ip6::SockAddr::operator() const:
![]()
ot::Ip6::SockAddr::operator() const