| 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 | 
