#ifndef __ASM_GENERIC_MSGBUF_H
#define __ASM_GENERIC_MSGBUF_H

#include <asm/bitsperlong.h>
/*
 * generic msqid64_ds structure.
 *
 * Note extra padding because this structure is passed back and forth
 * between kernel and user space.
 *
 * msqid64_ds was originally meant to be architecture specific, but
 * everyone just ended up making identical copies without specific
 * optimizations, so we may just as well all use the same one.
 *
 * 64 bit architectures typically define a 64 bit __kernel_time_t,
 * so they do not need the first three padding words.
 * On big-endian systems, the padding is in the wrong place.
 *
 * Pad space is left for:
 * - 64-bit time_t to solve y2038 problem
 * - 2 miscellaneous 32-bit values
 */

struct msqid64_ds {
	struct ipc64_perm msg_perm;
	__kernel_time_t msg_stime;	/* last msgsnd time */
#if __BITS_PER_LONG != 64
	unsigned long	__unused1;
#endif
	__kernel_time_t msg_rtime;	/* last msgrcv time */
#if __BITS_PER_LONG != 64
	unsigned long	__unused2;
#endif
	__kernel_time_t msg_ctime;	/* last change time */
#if __BITS_PER_LONG != 64
	unsigned long	__unused3;
#endif
	__kernel_ulong_t msg_cbytes;	/* current number of bytes on queue */
	__kernel_ulong_t msg_qnum;	/* number of messages in queue */
	__kernel_ulong_t msg_qbytes;	/* max number of bytes on queue */
	__kernel_pid_t msg_lspid;	/* pid of last msgsnd */
	__kernel_pid_t msg_lrpid;	/* last receive pid */
	__kernel_ulong_t __unused4;
	__kernel_ulong_t __unused5;
};

#endif /* __ASM_GENERIC_MSGBUF_H */
a href='/cgit.cgi/linux/net-next.git/refs/?id=39cb2c9a316e77f6dfba96c543e55b6672d5a37e'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/net/sched/cls_flow.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/sched/cls_flow.c?id=39cb2c9a316e77f6dfba96c543e55b6672d5a37e'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/net/sched/cls_flow.c?id=39cb2c9a316e77f6dfba96c543e55b6672d5a37e'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/sched/cls_flow.c?id=39cb2c9a316e77f6dfba96c543e55b6672d5a37e'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/sched/cls_flow.c'>
<input type='hidden' name='id' value='39cb2c9a316e77f6dfba96c543e55b6672d5a37e'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=39cb2c9a316e77f6dfba96c543e55b6672d5a37e'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/net?id=39cb2c9a316e77f6dfba96c543e55b6672d5a37e'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/sched?id=39cb2c9a316e77f6dfba96c543e55b6672d5a37e'>sched</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/sched/cls_flow.c?id=39cb2c9a316e77f6dfba96c543e55b6672d5a37e'>cls_flow.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/net/sched/cls_flow.c?id=39cb2c9a316e77f6dfba96c543e55b6672d5a37e&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>