[Ns-developers] Requesting help for csma promiscuous mode

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Sat Jul 5 09:43:34 PDT 2008


On Sat, 2008-07-05 at 08:39 -0700, Tom Henderson wrote:

> While I agree with your points, regarding the implementation, another 
> way would be to propagate carrying the NetDevice pointer explicitly 
> through the send/receive calls.  That is, CsmaChannel::Send takes an 
> additional "Ptr<NetDevice> from" argument, which is copied to the 
> CsmaNetDevice::Receive() method.  This would seem to be easier from a 
> code reading and debugging perspective.

+1.

Mathieu



More information about the Ns-developers mailing list