[Ns-bugs] [Bug 274] point to point device cannot ignore from and to addresses

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Mon Aug 11 09:20:46 PDT 2008


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





------- Comment #2 from mathieu.lacage at sophia.inria.fr  2008-08-11 12:20 -------
I am trying to simulate an ethernet switch with a set of point to point links
between the switch and each connected device. In that context, it is impossible
to do what the PointToPointNetDevice object does right now, that is, assume
that the "to" address of a received packet is its own address and that the
"from" address of that received packet is the address of the immediately
connected device.

The bottom line, is that it is impossible to implement the SendFrom and
ReceivePromiscuousCallback correctly without keeping track of the to and from
addresses of each packet. And since, we have decided that this feature is not
"optional", we have to figure out a way to keep track of these on a per-packet
basis.


-- 
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