[ovs-dev] [PATCH 7/9] windefs: srandom() and random() for windows.

Ben Pfaff blp at nicira.com
Mon Mar 17 20:37:07 UTC 2014


On Fri, Mar 14, 2014 at 08:18:44AM -0700, Gurucharan Shetty wrote:
> Windows does not have a srandom() and random(). But it does
> have a srand() and rand(). We use these functions in sflow code.
> 
> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>

How do these functions get called?  As far as I can tell, they only
get used if SFLOW_SOFTWARE_SAMPLING is defined, and I don't see where
that gets defined.



More information about the dev mailing list