msgbuf.h 980 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef _ASM_POWERPC_MSGBUF_H
  2. #define _ASM_POWERPC_MSGBUF_H
  3. /*
  4. * The msqid64_ds structure for the PowerPC architecture.
  5. * Note extra padding because this structure is passed back and forth
  6. * between kernel and user space.
  7. */
  8. struct msqid64_ds {
  9. struct ipc64_perm msg_perm;
  10. #ifndef __powerpc64__
  11. unsigned int __unused1;
  12. #endif
  13. __kernel_time_t msg_stime; /* last msgsnd time */
  14. #ifndef __powerpc64__
  15. unsigned int __unused2;
  16. #endif
  17. __kernel_time_t msg_rtime; /* last msgrcv time */
  18. #ifndef __powerpc64__
  19. unsigned int __unused3;
  20. #endif
  21. __kernel_time_t msg_ctime; /* last change time */
  22. unsigned long msg_cbytes; /* current number of bytes on queue */
  23. unsigned long msg_qnum; /* number of messages in queue */
  24. unsigned long msg_qbytes; /* max number of bytes on queue */
  25. __kernel_pid_t msg_lspid; /* pid of last msgsnd */
  26. __kernel_pid_t msg_lrpid; /* last receive pid */
  27. unsigned long __unused4;
  28. unsigned long __unused5;
  29. };
  30. #endif /* _ASM_POWERPC_MSGBUF_H */