msgbuf.h 1016 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef _CRIS_MSGBUF_H
  2. #define _CRIS_MSGBUF_H
  3. /* verbatim copy of asm-i386 version */
  4. /*
  5. * The msqid64_ds structure for CRIS architecture.
  6. * Note extra padding because this structure is passed back and forth
  7. * between kernel and user space.
  8. *
  9. * Pad space is left for:
  10. * - 64-bit time_t to solve y2038 problem
  11. * - 2 miscellaneous 32-bit values
  12. */
  13. struct msqid64_ds {
  14. struct ipc64_perm msg_perm;
  15. __kernel_time_t msg_stime; /* last msgsnd time */
  16. unsigned long __unused1;
  17. __kernel_time_t msg_rtime; /* last msgrcv time */
  18. unsigned long __unused2;
  19. __kernel_time_t msg_ctime; /* last change time */
  20. unsigned long __unused3;
  21. unsigned long msg_cbytes; /* current number of bytes on queue */
  22. unsigned long msg_qnum; /* number of messages in queue */
  23. unsigned long msg_qbytes; /* max number of bytes on queue */
  24. __kernel_pid_t msg_lspid; /* pid of last msgsnd */
  25. __kernel_pid_t msg_lrpid; /* last receive pid */
  26. unsigned long __unused4;
  27. unsigned long __unused5;
  28. };
  29. #endif /* _CRIS_MSGBUF_H */