[Click] RandomSource patch
Ian Rose
ianrose at eecs.harvard.edu
Mon Mar 22 16:06:35 EDT 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: randomsource.cc.patch
Type: text/x-diff
Size: 4252 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20100322/3b54dde9/attachment.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: randomsource.hh.patch
Type: text/x-diff
Size: 2943 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20100322/3b54dde9/attachment-0001.patch
More information about the click
mailing list