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