Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
msg.h File Reference
#include <linux/ipc.h>
#include <asm/msgbuf.h>

Go to the source code of this file.

Data Structures

struct  msqid_ds
 
struct  msgbuf
 
struct  msginfo
 

Macros

#define MSG_STAT   11
 
#define MSG_INFO   12
 
#define MSG_NOERROR   010000 /* no error if message is too big */
 
#define MSG_EXCEPT   020000 /* recv any msg except of specified type.*/
 
#define MSG_MEM_SCALE   32
 
#define MSGMNI   16 /* <= IPCMNI */ /* max # of msg queue identifiers */
 
#define MSGMAX   8192 /* <= INT_MAX */ /* max size of message (bytes) */
 
#define MSGMNB   16384 /* <= INT_MAX */ /* default max size of a message queue */
 
#define MSGPOOL   (MSGMNI * MSGMNB / 1024) /* size in kbytes of message pool */
 
#define MSGTQL   MSGMNB /* number of system message headers */
 
#define MSGMAP   MSGMNB /* number of entries in message map */
 
#define MSGSSZ   16 /* message segment size */
 
#define __MSGSEG   ((MSGPOOL * 1024) / MSGSSZ) /* max no. of segments */
 
#define MSGSEG   (__MSGSEG <= 0xffff ? __MSGSEG : 0xffff)
 

Macro Definition Documentation

#define __MSGSEG   ((MSGPOOL * 1024) / MSGSSZ) /* max no. of segments */

Definition at line 71 of file msg.h.

#define MSG_EXCEPT   020000 /* recv any msg except of specified type.*/

Definition at line 12 of file msg.h.

#define MSG_INFO   12

Definition at line 8 of file msg.h.

#define MSG_MEM_SCALE   32

Definition at line 60 of file msg.h.

#define MSG_NOERROR   010000 /* no error if message is too big */

Definition at line 11 of file msg.h.

#define MSG_STAT   11

Definition at line 7 of file msg.h.

#define MSGMAP   MSGMNB /* number of entries in message map */

Definition at line 69 of file msg.h.

#define MSGMAX   8192 /* <= INT_MAX */ /* max size of message (bytes) */

Definition at line 63 of file msg.h.

#define MSGMNB   16384 /* <= INT_MAX */ /* default max size of a message queue */

Definition at line 64 of file msg.h.

#define MSGMNI   16 /* <= IPCMNI */ /* max # of msg queue identifiers */

Definition at line 62 of file msg.h.

#define MSGPOOL   (MSGMNI * MSGMNB / 1024) /* size in kbytes of message pool */

Definition at line 67 of file msg.h.

#define MSGSEG   (__MSGSEG <= 0xffff ? __MSGSEG : 0xffff)

Definition at line 72 of file msg.h.

#define MSGSSZ   16 /* message segment size */

Definition at line 70 of file msg.h.

#define MSGTQL   MSGMNB /* number of system message headers */

Definition at line 68 of file msg.h.