msg.h 395 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _LINUX_MSG_H
  3. #define _LINUX_MSG_H
  4. #include <linux/list.h>
  5. #include <uapi/linux/msg.h>
  6. /* one msg_msg structure for each message */
  7. struct msg_msg {
  8. struct list_head m_list;
  9. long m_type;
  10. size_t m_ts; /* message text size */
  11. struct msg_msgseg *next;
  12. void *security;
  13. /* the actual message follows immediately */
  14. };
  15. #endif /* _LINUX_MSG_H */