[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ns] CMUTrace::format
Hi Ya,
I am currently working with the EXPOO traffic as well with wireless
simulation and actually I got the error "(null) - invalid packet type
(exp)". Then I checked cmu-trace.cc (from ns-2.17a version) and realized
that there is no "case PT_EXP" for the "switch(ch->ptype())" in the "format"
routine. So how to fix this problem?
Thank you for your help.
Wendy
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of
Ya Xu
Sent: Thursday, April 12, 2001 1:52 AM
To: James Mei
Cc: [email protected]
Subject: Re: [ns] CMUTrace::format
You have to add your "format" into cmu-trace.cc
-ya
On Wed, 11 Apr 2001, James Mei wrote:
>
>
> What does the cmu-trace.cc
> CMUTrace::format does ?
>
> If I use exponential distributed function for traffic generation, it works
> fine. But when I used mine traffic generator which I used back the same
> header PT_EXP, it complains:
>
> "(null) - invalid packet type (exp)"
>
> Can anyone help me ?
>
> Thanks
>