Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #ifndef _LINUX_MSG_H |
| 3 | #define _LINUX_MSG_H |
| 4 | |
David Woodhouse | 77597ad | 2006-04-25 14:26:46 +0100 | [diff] [blame] | 5 | #include <linux/list.h> |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 6 | #include <uapi/linux/msg.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
| 8 | /* one msg_msg structure for each message */ |
| 9 | struct msg_msg { |
Mathias Krause | 4e9b45a | 2013-11-12 15:11:47 -0800 | [diff] [blame] | 10 | struct list_head m_list; |
| 11 | long m_type; |
| 12 | size_t m_ts; /* message text size */ |
Manfred Spraul | 239521f | 2014-01-27 17:07:04 -0800 | [diff] [blame] | 13 | struct msg_msgseg *next; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | void *security; |
| 15 | /* the actual message follows immediately */ |
| 16 | }; |
| 17 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | #endif /* _LINUX_MSG_H */ |