diff --git a/CHANGES.html b/CHANGES.html index 7c958d24e..ece6a99c1 100644 --- a/CHANGES.html +++ b/CHANGES.html @@ -79,6 +79,12 @@ fragmentation and reassembly.
The Ipv4Interface API is private to internet-stack module; this method +was just a pass-through to GetDevice ()->GetMtu (). +
+Four IPv4 CalcChecksum attributes (which enable the computation of
checksums that are disabled by default) have been collapsed into one global
diff --git a/src/internet-stack/ipv4-interface.cc b/src/internet-stack/ipv4-interface.cc
index f00cb7a46..b7fbd7828 100644
--- a/src/internet-stack/ipv4-interface.cc
+++ b/src/internet-stack/ipv4-interface.cc
@@ -127,13 +127,6 @@ Ipv4Interface::GetMetric (void) const
return m_metric;
}
-uint16_t
-Ipv4Interface::GetMtu (void) const
-{
- NS_LOG_FUNCTION_NOARGS ();
- return m_device->GetMtu ();
-}
-
/**
* These are IP interface states and may be distinct from
* NetDevice states, such as found in real implementations
diff --git a/src/internet-stack/ipv4-interface.h b/src/internet-stack/ipv4-interface.h
index 896f05e08..f3041a780 100644
--- a/src/internet-stack/ipv4-interface.h
+++ b/src/internet-stack/ipv4-interface.h
@@ -80,15 +80,6 @@ public:
*/
uint16_t GetMetric (void) const;
- /**
- * This function a pass-through to NetDevice GetMtu, modulo
- * the LLC/SNAP header i.e., ipv4MTU = NetDeviceMtu - LLCSNAPSIZE
- * \returns the Maximum Transmission Unit associated to this interface.
- *
- * XXX deprecated? This is duplicate API to GetDevice ()->GetMtu ()
- */
- uint16_t GetMtu (void) const;
-
/**
* These are IP interface states and may be distinct from
* NetDevice states, such as found in real implementations
diff --git a/src/internet-stack/ipv4-l3-protocol.cc b/src/internet-stack/ipv4-l3-protocol.cc
index a356f45c8..d5e6981ea 100644
--- a/src/internet-stack/ipv4-l3-protocol.cc
+++ b/src/internet-stack/ipv4-l3-protocol.cc
@@ -478,7 +478,7 @@ Ipv4L3Protocol::Send (Ptr