Separate address assignment from routing in PointToPoint topology code

This commit is contained in:
Tom Henderson committed 2007-05-12 15:31:40 -07:00
1 parent 5c5ad7b16a
commit dc01b2136e
6 files changed
+132 -21

No files matched your search

+5
View File
@@ -122,6 +122,11 @@ public:
*/
virtual uint32_t GetNInterfaces (void) = 0;
/**
* Return address of the NetDevice associated with the Ipv4Interface
*/
virtual NetDevice* PeekNetDevice (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;