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

RE: [ns] Changing the packet type of an application...





--
Free Dmitry Sklyarov ! 
http://www.freesklyarov.org

> -----Original Message-----
> From:	Ignacio M> �s Ivars [SMTP:[email protected]]
> Sent:	Thursday, November 22, 2001 5:50 PM
> To:	[email protected]
> Subject:	[ns] Changing the packet type of an application...
> 
> 
> Hi!!
> 
> 	I have defined some new packet types that I need to use in my simulation and 
> I need to change an Application/Traffic/Exponential to the new packet type 
> from tcl... I am having problems, because if it use the set_pktype function of 
> the UDP agent transporting the traffic, then the initialization of the Exp 
> traffic generator overwrites my packet type to PT_EXP... How can I avoid this 
> or just change the pkttype for the Exp source? Of course, I do not want to 
> modify the source file, as I need other exponential sources with the normal 
> packet type...
> 
> Thanks for the help!
> /Nacho
> 
	How to put it.....
	The concept of packet types is completely fucked up in ns.
	Hack it or live with it as it is.

	Bye
	Alex