msgbuf.h 982 B

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