summaryrefslogtreecommitdiffstats
path: root/sys/dev/random/harvest.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-02-18 17:40:47 +0000
committermarkm <markm@FreeBSD.org>2001-02-18 17:40:47 +0000
commit886c7bc57d985e6b8c0412fdf450e616fe405262 (patch)
tree418dd3d4a393e7c5dee13a1775deb532264e252e /sys/dev/random/harvest.c
parent3b9f9179f5c6f2ecbbcb3ad8e77a6c516ef9735a (diff)
downloadFreeBSD-src-886c7bc57d985e6b8c0412fdf450e616fe405262.zip
FreeBSD-src-886c7bc57d985e6b8c0412fdf450e616fe405262.tar.gz
Provide the infrastructure for sysadmins to select the broad class
of entropy harvesting they wish to perform: "ethernet" (LAN), point-to-point and interrupt.
Diffstat (limited to 'sys/dev/random/harvest.c')
-rw-r--r--sys/dev/random/harvest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/random/harvest.c b/sys/dev/random/harvest.c
index 93ce35b..59495d7 100644
--- a/sys/dev/random/harvest.c
+++ b/sys/dev/random/harvest.c
@@ -45,6 +45,9 @@
static u_int read_random_phony(void *, u_int);
+/* Structure holding the desired entropy sources */
+struct harvest_select harvest = { 0, 0, 0 };
+
/* hold the address of the routine which is actually called if
* the randomdev is loaded
*/
OpenPOWER on IntegriCloud