--- a/src/internet-stack/ipv4-interface.cc Wed Apr 08 22:32:44 2009 -0700
+++ b/src/internet-stack/ipv4-interface.cc Sun Apr 12 22:13:49 2009 -0700
@@ -62,37 +62,6 @@
Object::DoDispose ();
}
-void
-Ipv4Interface::SetAddress (Ipv4Address a)
-{
- NS_LOG_FUNCTION (this << a);
- m_address = a;
-}
-
-void
-Ipv4Interface::SetNetworkMask (Ipv4Mask mask)
-{
- NS_LOG_FUNCTION (this << mask);
- m_netmask = mask;
-}
-
-Ipv4Address
-Ipv4Interface::GetBroadcast (void) const
-{
- NS_LOG_FUNCTION_NOARGS ();
- uint32_t mask = m_netmask.Get ();
- uint32_t address = m_address.Get ();
- Ipv4Address broadcast = Ipv4Address (address | (~mask));
- return broadcast;
-}
-
-Ipv4Mask
-Ipv4Interface::GetNetworkMask (void) const
-{
- NS_LOG_FUNCTION_NOARGS ();
- return m_netmask;
-}
-
void
Ipv4Interface::SetMetric (uint16_t metric)
{
@@ -107,13 +76,6 @@
return m_metric;
}
-Ipv4Address
-Ipv4Interface::GetAddress (void) const
-{
- NS_LOG_FUNCTION_NOARGS ();
- return m_address;
-}
-
uint16_t
Ipv4Interface::GetMtu (void) const
{