blob: 9a972a296b9539e5c83565c09d196e7e1c06f354 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#ifndef _LINUX_MSG_H
3#define _LINUX_MSG_H
4
David Woodhouse77597ad2006-04-25 14:26:46 +01005#include <linux/list.h>
David Howells607ca462012-10-13 10:46:48 +01006#include <uapi/linux/msg.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
8/* one msg_msg structure for each message */
9struct msg_msg {
Mathias Krause4e9b45a2013-11-12 15:11:47 -080010 struct list_head m_list;
11 long m_type;
12 size_t m_ts; /* message text size */
Manfred Spraul239521f2014-01-27 17:07:04 -080013 struct msg_msgseg *next;
Linus Torvalds1da177e2005-04-16 15:20:36 -070014 void *security;
15 /* the actual message follows immediately */
16};
17
Linus Torvalds1da177e2005-04-16 15:20:36 -070018#endif /* _LINUX_MSG_H */