(network): Remove deprecated Ipv6Address::IsAllHostMulticast ()

This commit is contained in:
Tommaso Pecorella
2020-05-11 20:32:54 +00:00
parent 1d47a14c14
commit c85e6bf1d8
2 changed files with 0 additions and 17 deletions

View File

@@ -785,13 +785,6 @@ bool Ipv6Address::IsAllRoutersMulticast () const
return (*this == allroutersI || *this == allroutersL || *this == allroutersR || *this == allroutersS);
}
bool Ipv6Address::IsAllHostsMulticast () const
{
NS_LOG_FUNCTION (this);
static Ipv6Address allhosts ("ff02::3");
return (*this == allhosts);
}
bool Ipv6Address::IsAny () const
{
NS_LOG_FUNCTION (this);

View File

@@ -280,16 +280,6 @@ public:
*/
bool IsAllRoutersMulticast () const;
/**
* \brief If the IPv6 address is "all hosts multicast" (ff02::3/8).
*
* \deprecated This function is deprecated because the address has been removed from RFCs.
*
* \return true if "all hosts multicast", false otherwise
*/
NS_DEPRECATED
bool IsAllHostsMulticast () const;
/**
* \brief If the IPv6 address is a link-local address (fe80::/64).
* \return true if the address is link-local, false otherwise