[Ns-developers] Tracing Rework

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Sun Mar 1 00:43:29 PST 2009


One thing I forgot in my comments on the bug report: 'RxStart' + 'Rx'
seem to be missing the obvious name symmetry: 'RxStart'+'RxEnd' (same
goes for Tx events, of course).

Mathieu

On Sat, 2009-02-28 at 17:14 -0800, craigdo at ee.washington.edu wrote:
> I just stuck an attachment in bugzilla showing what I've done for the
> tracing rework to kill bug 443.
> 
> See below
> 
> Comments?
> 
> -- Craig
> 
> > -----Original Message-----
> > From: ns-bugs-bounces at ISI.EDU 
> > [mailto:ns-bugs-bounces at ISI.EDU] On Behalf Of 
> > code at nsnam.ece.gatech.edu
> > Sent: Saturday, February 28, 2009 4:37 PM
> > To: ns-bugs at ISI.EDU
> > Subject: [Ns-bugs] [Bug 443] Net device pcap traces arent 
> > consistent with what tcpdump would display
> > 
> > http://www.nsnam.org/bugzilla/show_bug.cgi?id=443
> > 
> > --- Comment #2 from Craig Dowell <craigdo at ee.washington.edu>  
> > 2009-02-28 19:37:06 EDT ---
> > Created an attachment (id=393)
> >  --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=393)
> > Proposed Changes to Tracing in NetDevices
> > 
> > Significant changes to tracing in all non-bridge net devices.
> > 
> > 1) Splits tracing into MAC-level and PHY-level traces for all devices;
> > 2) Adds missing drop traces;
> > 3) Adds "Sniffer" and "PromiscSniffer" trace hooks to do 
> > tcpdump-like traces;
> > 4) Sniffer hooks now fire at the correct times;
> > 4) Updates helpers to hook new sources.
> > 
> > Note:  Most devices are simple enough that everything is 
> > available in one
> > place.  Wifi is different.  The Sniffer hook in the wifi 
> > device provides
> > Ethernet frames for simple tracing and lives in WifiMac with 
> > the rest of the
> > MAC-level trace sources.  Sniffer is available using Pcap calls in the
> > WifiHelper.  The PromiscSniffer hook in the wifi device 
> > provides all of the
> > low-level wifi packets and lives in WifiPhy with all of the 
> > PHY-level trace
> > sources.  PromiscSniffer is available using Pcap calls in the
> > YansWifiPhyHelper.
> > 
> > 
> > -- 
> > Configure bugmail: 
> > http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
> > ------- You are receiving this mail because: -------
> > You are on the CC list for the bug.
> > _______________________________________________
> > 
> 
> 



More information about the Ns-developers mailing list