summaryrefslogtreecommitdiffstats
path: root/sys/dev/rndioctl.h
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2000-04-10 19:44:38 +0000
committermickey <mickey@openbsd.org>2000-04-10 19:44:38 +0000
commit452ba1bcddee35c1fe52f4e34ec0cc61fd3425c2 (patch)
tree6ba8f56a3a6c1a510003f2f56c60b753eb594a9c /sys/dev/rndioctl.h
parentmissing THREAD_UNLOCK; netch@segfault.kiev.ua (diff)
downloadwireguard-openbsd-452ba1bcddee35c1fe52f4e34ec0cc61fd3425c2.tar.xz
wireguard-openbsd-452ba1bcddee35c1fe52f4e34ec0cc61fd3425c2.zip
add support for more random sources.
make it easy to add more in the future. make extract_entropy() faster. more accurate stats.
Diffstat (limited to 'sys/dev/rndioctl.h')
-rw-r--r--sys/dev/rndioctl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/rndioctl.h b/sys/dev/rndioctl.h
index 97f358452c4..addbdad7ca3 100644
--- a/sys/dev/rndioctl.h
+++ b/sys/dev/rndioctl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rndioctl.h,v 1.6 1997/06/24 02:45:01 mickey Exp $ */
+/* $OpenBSD: rndioctl.h,v 1.7 2000/04/10 19:44:39 mickey Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff.
@@ -52,6 +52,7 @@ struct rnd_pool_info {
#define RNDADDENTROPY _IOW('R', 3, sizeof(u_int))
#define RNDZAPENTCNT _IO( 'R', 4)
#define RNDSTIRARC4 _IO( 'R', 5)
+#define RNDCLRSTATS _IO( 'R', 6)
#endif /* __RNDIOCTL_H__ */