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