[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] packet header



Hi,
in the implementation of exponential traffic gennerator in C++ the packet
type is set to PT_EXP. u can find this in expoo.cc file. 

On Wed, 14 Jun 2000, Debojyoti Dutta wrote:

> Hi,
> 
> I ran a simulation with an exponential traffic source connected to a TCP
> agent between 2 links A, B. In the traffic source I saw that the packet
> header type was exp rather than tcp. According to the source, send_much
> calls output which results in allocpkt(). allocpkt() uses the same types
> as defined by the constructor (in this case PT_TCP). Then why do I get
> exp. When I used CBR traffic, the trace says that it is cbr. Am I missing
> something very trivial.
> 
> Debo
> 
> 
>