[Ns-bugs] [Bug 592] pointer to packet likely needed for RouteOutput() call

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Sun Jun 14 23:41:25 PDT 2009


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


Mathieu Lacage <mathieu.lacage at sophia.inria.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mathieu.lacage at sophia.inria.
                   |                            |fr




--- Comment #1 from Mathieu Lacage <mathieu.lacage at sophia.inria.fr>  2009-06-15 02:41:25 EDT ---
I have not looked at the details but it would be safer to make it Ptr<const
Packet> to avoid weird interactions between the caller and callee. The callee
can call Packet::Copy to get a non-const version if needed.

Feel free to ignore the above is you envision cases where it's important that
the caller and callee share the same packet.


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


More information about the Ns-bugs mailing list