Remove NS_DEPRECATED_3_35 methods
This commit is contained in:
@@ -86,11 +86,4 @@
|
||||
*/
|
||||
#define NS_DEPRECATED_3_36(msg) NS_DEPRECATED(msg)
|
||||
|
||||
/**
|
||||
* \ingroup core
|
||||
* \def NS_DEPRECATED_3_35
|
||||
* Tag for things deprecated in version ns-3.35.
|
||||
*/
|
||||
#define NS_DEPRECATED_3_35 NS_DEPRECATED("")
|
||||
|
||||
#endif /* NS3_DEPRECATED_H */
|
||||
|
||||
@@ -108,48 +108,24 @@ Ipv6Header::SetSource(Ipv6Address src)
|
||||
m_sourceAddress = src;
|
||||
}
|
||||
|
||||
void
|
||||
Ipv6Header::SetSourceAddress(Ipv6Address src)
|
||||
{
|
||||
SetSource(src);
|
||||
}
|
||||
|
||||
Ipv6Address
|
||||
Ipv6Header::GetSource() const
|
||||
{
|
||||
return m_sourceAddress;
|
||||
}
|
||||
|
||||
Ipv6Address
|
||||
Ipv6Header::GetSourceAddress() const
|
||||
{
|
||||
return GetSource();
|
||||
}
|
||||
|
||||
void
|
||||
Ipv6Header::SetDestination(Ipv6Address dst)
|
||||
{
|
||||
m_destinationAddress = dst;
|
||||
}
|
||||
|
||||
void
|
||||
Ipv6Header::SetDestinationAddress(Ipv6Address dst)
|
||||
{
|
||||
SetDestination(dst);
|
||||
}
|
||||
|
||||
Ipv6Address
|
||||
Ipv6Header::GetDestination() const
|
||||
{
|
||||
return m_destinationAddress;
|
||||
}
|
||||
|
||||
Ipv6Address
|
||||
Ipv6Header::GetDestinationAddress() const
|
||||
{
|
||||
return GetDestination();
|
||||
}
|
||||
|
||||
TypeId
|
||||
Ipv6Header::GetTypeId()
|
||||
{
|
||||
|
||||
@@ -228,56 +228,24 @@ class Ipv6Header : public Header
|
||||
*/
|
||||
void SetSource(Ipv6Address src);
|
||||
|
||||
/**
|
||||
* \brief Set the "Source address" field.
|
||||
* \deprecated Use SetSource () function instead (same functionality)
|
||||
* \param src the source address
|
||||
*/
|
||||
NS_DEPRECATED_3_35
|
||||
void SetSourceAddress(Ipv6Address src);
|
||||
|
||||
/**
|
||||
* \brief Get the "Source address" field.
|
||||
* \return the source address
|
||||
*/
|
||||
Ipv6Address GetSource() const;
|
||||
|
||||
/**
|
||||
* \brief Get the "Source address" field.
|
||||
* \deprecated Use GetSource () function instead (same functionality)
|
||||
* \return the source address
|
||||
*/
|
||||
NS_DEPRECATED_3_35
|
||||
Ipv6Address GetSourceAddress() const;
|
||||
|
||||
/**
|
||||
* \brief Set the "Destination address" field.
|
||||
* \param dst the destination address
|
||||
*/
|
||||
void SetDestination(Ipv6Address dst);
|
||||
|
||||
/**
|
||||
* \brief Set the "Destination address" field.
|
||||
* \deprecated Use SetDestination () function instead (same functionality)
|
||||
* \param dst the destination address
|
||||
*/
|
||||
NS_DEPRECATED_3_35
|
||||
void SetDestinationAddress(Ipv6Address dst);
|
||||
|
||||
/**
|
||||
* \brief Get the "Destination address" field.
|
||||
* \return the destination address
|
||||
*/
|
||||
Ipv6Address GetDestination() const;
|
||||
|
||||
/**
|
||||
* \brief Get the "Destination address" field.
|
||||
* \deprecated Use GetDestination () function instead (same functionality)
|
||||
* \return the destination address
|
||||
*/
|
||||
NS_DEPRECATED_3_35
|
||||
Ipv6Address GetDestinationAddress() const;
|
||||
|
||||
/**
|
||||
* \brief Print some information about the packet.
|
||||
* \param os output stream
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2021 NITK Surathkal
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation;
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* The purpose of this file is to have backwards compatibility with previous
|
||||
* IPv4 Nix Vector Routing examples and usages.
|
||||
*
|
||||
* Authors: Ameya Deshpande <ameyanrd@outlook.com>
|
||||
*/
|
||||
#pragma GCC warning "NS_DEPRECATED_3_35 - Deprecated header, please use nix-vector-helper.h instead"
|
||||
#include "nix-vector-helper.h"
|
||||
@@ -1,24 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2021 NITK Surathkal
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation;
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* The purpose of this file is to have backwards compatibility with previous
|
||||
* IPv4 Nix Vector Routing examples and usages.
|
||||
*
|
||||
* Authors: Ameya Deshpande <ameyanrd@outlook.com>
|
||||
*/
|
||||
#pragma GCC warning \
|
||||
"NS_DEPRECATED_3_35 - Deprecated header, please use nix-vector-routing.h instead"
|
||||
#include "nix-vector-routing.h"
|
||||
Reference in New Issue
Block a user