[Click] RandomSource patch

Eddie Kohler kohler at cs.ucla.edu
Wed Mar 24 12:00:46 EDT 2010


Ian,

Excellent!  Thanks, this is applied.  It might be interesting long term to 
create a common ancestor or something -- although it would be a microscopic 
shame to slow down InfiniteSource itself, which is often used for performance 
tests.

Eddie


Ian Rose wrote:
> Howdy -
> 
> Attached is a candidate patch to update RandomSource include all of the 
> nice bells and whistles that InfiniteSource already has (e.g. LIMITs, a 
> settable ACTIVE parameter, etc).  I did this by changing RandomSource to 
> inherit from InfiniteSource, overriding the parts that need to be 
> different.  I tried to keep things as consistent as possible between the 
> two elements since they are nearly identical in intended functionality 
> with the exception of how packets are created.
> 
> - Ian
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list