*
* msg -- message queues tunable parameters and data structures
*

%PARAM

**********************************************************************
* The following entries form the tunable parameter table.
*

MESG		1
MSGMAP		100		# message segment control map
MSGMAX		8192		# max message size (in bytes) (max 64k - 1)
MSGMNB		16384		# max message queue length
MSGMNI		50		# max number of simultaneous message queues
MSGSSZ		8		# size of a message segment
MSGTQL		40		# number of message headers
MSGSEG		1024		# number of message segments

%CONFIG					# code added to conf.c

#ifdef MESG
#	include	"sys/ipc.h"
#	include	"sys/msg.h"
	struct map	msgmap[MSGMAP];
	struct msqid_ds	msgque[MSGMNI];
	struct msg	msgh[MSGTQL];
	char		msglock[MSGMNI];
	struct msginfo	msginfo = {
		MSGMAP, MSGMAX, MSGMNB, MSGMNI, MSGSSZ, MSGTQL, MSGSEG
	};
#endif

