[Ns-bugs] [Bug 443] Net device pcap traces arent consistent with what tcpdump would display
code at nsnam.ece.gatech.edu
Sat Feb 28 16:37:06 PST 2009
--- Comment #2 from Craig Dowell <craigdo at ee.washington.edu> 2009-02-28 19:37:06 EDT ---
Created an attachment (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
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-bugs