Separate address assignment from routing in PointToPoint topology code
This commit is contained in:
1 parent
5c5ad7b16a
commit
dc01b2136e
6 files changed
+132
-21
No files matched your search
@@ -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