[Ns-bugs] [Bug 135] Ipv4 tracing events do not have enough parameters

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Mon Feb 11 03:14:28 PST 2008


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





------- Comment #3 from gjcarneiro at gmail.com  2008-02-11 06:14 -------
(In reply to comment #2)
> is it really the same for tx/rx?  It looks like the header is pushed on before
> those trace events are called.

You're right.

> 
> I don't mind expanding the callback but I am curious whether moving 
> packet->AddHeader (ipHeader);
>  to in front of the dropTrace() call would solve this also?
> 

It could.

Thanks for the suggestions.  I think you're right: rx/tx don't need to change;
drop could be simply modified to add the IPv4 header before dropping.  Shall I
go ahead and make this change?


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