Functions | |
bool | IsMulticast (const Address &ad) |
Address family-independent test for a multicast address. | |
bool ns3::addressUtils::IsMulticast | ( | const Address & | ad | ) |
Address family-independent test for a multicast address.
Definition at line 130 of file address-utils.cc.
References ns3::Inet6SocketAddress::ConvertFrom(), ns3::InetSocketAddress::ConvertFrom(), ns3::Ipv4Address::ConvertFrom(), ns3::Ipv6Address::ConvertFrom(), ns3::InetSocketAddress::GetIpv4(), ns3::Inet6SocketAddress::GetIpv6(), ns3::Inet6SocketAddress::IsMatchingType(), ns3::InetSocketAddress::IsMatchingType(), ns3::Ipv4Address::IsMatchingType(), ns3::Ipv6Address::IsMatchingType(), ns3::Ipv6Address::IsMulticast(), and NS_LOG_FUNCTION.
Referenced by ns3::PacketSink::StartApplication(), and ns3::UdpEchoServer::StartApplication().