fixup: multiple devices per channel

This commit is contained in:
Tim Schubert 2020-06-21 13:01:32 +02:00
parent 13e4bf1aa7
commit 07cff2c920
6 changed files with 29 additions and 38 deletions

View file

@ -150,7 +150,7 @@ public:
*
* \param p Ptr to the received packet.
*/
void Receive (Ptr<Packet> p);
void Receive (Ptr<Packet> p, Ptr<IslNetDevice> senderDevice);
// The remaining methods are documented in ns3::NetDevice*
@ -205,7 +205,7 @@ protected:
*
* \param p Packet received
*/
void DoMpiReceive (Ptr<Packet> p);
void DoMpiReceive (Ptr<Packet> p, Ptr<IslNetDevice> sender);
virtual void DoInitialize (void);
virtual void NotifyNewAggregate (void);
@ -242,7 +242,7 @@ private:
* \returns the address of the remote device connected to this device
* through the point to point channel.
*/
Address GetRemote (void) const;
Address GetRemote (Ptr<IslNetDevice> senderDevice) const;
/**
* Adds the necessary headers and trailers to a packet of data in order to