Re: tcptrace-bugs Compile Problem + ns2 support

From: Joshua Blanton (
Date: 02/21/06

Date: Tue, 21 Feb 2006 15:37:54 -0500
From: Joshua Blanton <>
Subject: Re: tcptrace-bugs Compile Problem + ns2 support
Message-ID: <>

Ahmad Khayyat wrote:
> you are right.. It compiles perfectly now using flex-old. Thanks a lot.

Glad to hear it. :-)

> And you are right yet once again regarding ns2 trace formats. I am
> working on the wireless wpan (IEEE 802.15.4) which is somewhat similar
> to 802.11, but I guess built-in ns support is wired only.
> So, I looked into ns.c and modified it so that it reads the format i use...
> Good news: tcptrace compiled after the modifications and read my trace
> file without complaining.

Well, then it's more robust than I was afraid it might be :-P

> Bad news: I am using udp instead of tcp, so all my events are ignored
> since clearly ns.c looks for tcp and ack events only.
> My new question: how can I add udp support to the ns.c input module?

Hm, I don't know why not - but the structure you'll be building
won't be the tcp structure, so the existing code might not be much
help, except for some clues as to how we parsed the ns data (which
isn't necessarily even a *good* way to parse the lines, just a
possible way :-)

> Again, thank you very much for your prompt help.

No problem. Good luck with your additions!


This archive was generated by hypermail 2.1.7 : 02/22/06 EST