blob: 8c5d4d8c1b16ee4a75e2924685a4ebf8d4c88d4f [file] [log] [blame]
Greg Kroah-Hartman6f52b162017-11-01 15:08:43 +01001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#ifndef _ALPHA_MSGBUF_H
3#define _ALPHA_MSGBUF_H
4
5/*
6 * The msqid64_ds structure for alpha architecture.
7 * Note extra padding because this structure is passed back and forth
8 * between kernel and user space.
9 *
10 * Pad space is left for:
11 * - 2 miscellaneous 64-bit values
12 */
13
14struct msqid64_ds {
15 struct ipc64_perm msg_perm;
16 __kernel_time_t msg_stime; /* last msgsnd time */
17 __kernel_time_t msg_rtime; /* last msgrcv time */
18 __kernel_time_t msg_ctime; /* last change time */
19 unsigned long msg_cbytes; /* current number of bytes on queue */
20 unsigned long msg_qnum; /* number of messages in queue */
21 unsigned long msg_qbytes; /* max number of bytes on queue */
22 __kernel_pid_t msg_lspid; /* pid of last msgsnd */
23 __kernel_pid_t msg_lrpid; /* last receive pid */
24 unsigned long __unused1;
25 unsigned long __unused2;
26};
27
28#endif /* _ALPHA_MSGBUF_H */