A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::addressUtils Namespace Reference

Functions

bool IsMulticast (const Address &ad)
 Address family-independent test for a multicast address.
 

Function Documentation

◆ IsMulticast()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: