diff options
author | 1997-06-14 21:37:08 +0000 | |
---|---|---|
committer | 1997-06-14 21:37:08 +0000 | |
commit | bc3841f63f81f688e96f602dc34fedf55e6b875a (patch) | |
tree | 19c635e8459b6fffc0cc6f24892edd3fe0384aa0 /sys/dev/rndioctl.h | |
parent | typo; k-horik@yk.rim.or.jp (diff) | |
download | wireguard-openbsd-bc3841f63f81f688e96f602dc34fedf55e6b875a.tar.xz wireguard-openbsd-bc3841f63f81f688e96f602dc34fedf55e6b875a.zip |
split the treatment of the random events
event_q by flipk@
spl fix by deraadt@
gother statistics about whole processing
use 'sysctl kern.random' to view what had happened
also fix wrong vm.psstrings description
Diffstat (limited to 'sys/dev/rndioctl.h')
-rw-r--r-- | sys/dev/rndioctl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/rndioctl.h b/sys/dev/rndioctl.h index 7a13f6103b1..e198087b734 100644 --- a/sys/dev/rndioctl.h +++ b/sys/dev/rndioctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rndioctl.h,v 1.2 1996/08/11 07:31:32 dm Exp $ */ +/* $OpenBSD: rndioctl.h,v 1.3 1997/06/14 21:37:08 mickey Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff. @@ -38,14 +38,14 @@ #ifndef __RNDIOCTL_H__ #define __RNDIOCTL_H__ +/* ioctl()'s for the random number generator */ + struct rnd_pool_info { size_t entropy_count; size_t buf_size; u_int32_t *buf; }; -/* ioctl()'s for the random number generator */ - #define RNDGETENTCNT _IOR('R', 0, sizeof(u_int)) #define RNDADDTOENTCNT _IOW('R', 1, sizeof(u_int)) #define RNDGETPOOL _IOWR('R', 2, sizeof(struct rnd_pool_info)) |