--- a/src/node/i-ipv4.h Sun May 13 10:57:43 2007 +0200
+++ b/src/node/i-ipv4.h Sun May 13 11:24:28 2007 +0200
@@ -122,6 +122,12 @@
*/
virtual uint32_t GetNInterfaces (void) = 0;
+ /**
+ * \param index of interface
+ * \returns address of the NetDevice associated with the ipv4 interface
+ */
+ virtual Ptr<NetDevice> GetNetDevice (uint32_t i) = 0;
+
virtual void SetAddress (uint32_t i, Ipv4Address address) = 0;
virtual void SetNetworkMask (uint32_t i, Ipv4Mask mask) = 0;
virtual Ipv4Mask GetNetworkMask (uint32_t t) const = 0;