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

Re: Q about class SRMErrorModel



Yen,

	You can find the answer by just looking at the code in the file 
"errmodel.cc". There is no way that the ns document will be up to date 
because ns itself keeps growing. Here is just a quick look for you. 
	The parameters you are asking for are "pkt_type_", "drop_cycle_" 
and "drop_offset_". 

Chalermek

On Mon, 14 Jun 1999, Yan Yu wrote:

> Hello, everyone,
>    i have a Q the class SRMErrorModel,
> there are 3 parameters for its method "drop-packet $1 $2 $3", what do 
> the parametrs's mean? how to use them?
> e.g. i see such lines from an example script in tcl/ex
> set loss_module {new SRMErrorModel]
> $loss_module drop-packet 2 200 1
> 
> BTW, i could not find the answer in ns documentation.
> Thanks!
> yan
> 
> 
>