RatedSource provides handlers that allow the rate to be changed dynamically.

Please investigate the RatedSource.rate handler.

It can be set using a Script element, or using a ControlSocket (if at 
userlevel) or the /click filesystem (if on a kernel).

Eddie


On 09/21/2010 01:33 AM, Panos Μatzakos wrote:
> Hello, i would like to use an element packet source (like RatedSource) in 
> which the rate would not be stable but it could change during the execution. 
> For example, send the first 100 packets with  20 packs/sec rate, the next 100 
> with 40 packs/sec rate etc... I think there is no standard Click element 
> which does sth like that. So do you think it would be easy to modify 
> RatedSource  and if so which changes should be done in general?               
>                                                                               
>   Thanks
>
> _______________________________________________
> click mailing list
> [email protected]
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click

_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to