[Ns-bugs] [Bug 189] CSMA device receives all packets it sends

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Fri May 30 13:06:08 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=189





------- Comment #4 from mathieu.lacage at sophia.inria.fr  2008-05-30 16:06 -------
(In reply to comment #3)
> I am going to change csma-net-device to silently drop packets it receives from
> the channel that it sent.  Question, should it forwardup broadcast and
> multicast packets it originates, or is this handled elsewhere?

Would it not be simpler to modify CsmaChannel::PropagationCompleteEvent to test
it->devicePtr against m_currentPacketSender and to make
CsmaChannel::TransmitStart take an extra Ptr<NetDevice> argument and store it
in m_currentPacketSender ?


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list