1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_RANDOM_H
13 #define _LINUX_RANDOM_H
15 #include <linux/ioctl.h>
17 #define RNDGETENTCNT _IOR( 'R', 0x00, int )
19 #define RNDADDTOENTCNT _IOW( 'R', 0x01, int )
21 #define RNDGETPOOL _IOR( 'R', 0x02, int [2] )
23 #define RNDADDENTROPY _IOW( 'R', 0x03, int [2] )
25 #define RNDZAPENTCNT _IO( 'R', 0x04 )
27 #define RNDCLEARPOOL _IO( 'R', 0x06 )
29 struct rand_pool_info
{