[Click] ns2 traces - ToNSTrace patch

Michael Voorhaen michael.voorhaen at ua.ac.be
Mon Feb 27 08:56:27 EST 2006


Hi Eddie,

In attachment are some patches for click and nsclick to add tracing from click 
to ns2 compatible traces. Example tcl files are also attached to show how the 
element (ToNSTrace) can be used (tonstrace.click, tonstrace.tcl). A ns2 trace 
file called tonstrace.tr is generated.

The patch files:
tonstrace.click.patch (the patch for click_cvs)
tonstrace.nsclick.patch (the patch for nsclick: ns-2.29 + nsclick patch 
already applied)
tonstrace.ns-2.29.patch (an updated version of ns-2.29.patch)

The last patch also includes a small fix for ns-2.29/tcl/lib/ns-clicknode.tcl 
that makes sure that the node is also added to the channel object in ns2. 
This fixes a segmentation fault related to wireless scenarios where the 
GridKeeper object is not used.

Regards,
Michael

-- 
========================================================
Michael Voorhaen
========================================================
Phd Student
Dept. of Mathematics and Computer Sciences
PATS (Performance Analysis of Telecommunication Systems)
University of Antwerp
Middelheimlaan 1
2020 Antwerpen, Belgium
Building G
G2.36
Phone: +32 (0)3 265.35.19.
Fax: +32 (0)3 265.37.77.
Mail: michael.voorhaen at ua.ac.be
Web: www.pats.ua.ac.be
========================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tonstrace.nsclick.patch
Type: text/x-diff
Size: 4512 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20060227/ba703fae/tonstrace.nsclick-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tonstrace.ns-2.29.patch
Type: text/x-diff
Size: 193555 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20060227/ba703fae/tonstrace.ns-2.29-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tonstrace.tcl
Type: text/x-tcl
Size: 9766 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20060227/ba703fae/tonstrace-0001.tcl
-------------- next part --------------
ICMPPingSource(10.0.0.1, 10.0.0.2, LIMIT 1)
	-> ToNSTrace("s", ADDITIONAL_INFO "ping request")
	-> ToNSTrace("r", ADDITIONAL_INFO "ping request")
	-> ICMPPingResponder
	-> ToNSTrace("s", ADDITIONAL_INFO "ping reply")
	-> Discard;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tonstrace.click.patch
Type: text/x-diff
Size: 9951 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20060227/ba703fae/tonstrace.click-0001.bin


More information about the click mailing list