1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef __ASM_GENERIC_MSGBUF_H 7 #define __ASM_GENERIC_MSGBUF_H 8 #include <asm/bitsperlong.h> 9 struct msqid64_ds { 10 struct ipc64_perm msg_perm; 11 #if __BITS_PER_LONG == 64 12 __kernel_time_t msg_stime; 13 __kernel_time_t msg_rtime; 14 __kernel_time_t msg_ctime; 15 #else 16 unsigned long msg_stime; 17 unsigned long msg_stime_high; 18 unsigned long msg_rtime; 19 unsigned long msg_rtime_high; 20 unsigned long msg_ctime; 21 unsigned long msg_ctime_high; 22 #endif 23 unsigned long msg_cbytes; 24 unsigned long msg_qnum; 25 unsigned long msg_qbytes; 26 __kernel_pid_t msg_lspid; 27 __kernel_pid_t msg_lrpid; 28 unsigned long __unused4; 29 unsigned long __unused5; 30 }; 31 #endif 32