Separate address assignment from routing in PointToPoint topology code
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user