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

Go to the source code of this file.

Data Structures

struct  ipc_perm
 
struct  ipc_kludge
 

Macros

#define IPC_PRIVATE   ((__kernel_key_t) 0)
 
#define IPC_CREAT   00001000 /* create if key is nonexistent */
 
#define IPC_EXCL   00002000 /* fail if key exists */
 
#define IPC_NOWAIT   00004000 /* return error on wait */
 
#define IPC_DIPC   00010000 /* make it distributed */
 
#define IPC_OWN   00020000 /* this machine is the DIPC owner */
 
#define IPC_RMID   0 /* remove resource */
 
#define IPC_SET   1 /* set ipc_perm options */
 
#define IPC_STAT   2 /* get ipc_perm options */
 
#define IPC_INFO   3 /* see ipcs */
 
#define IPC_OLD
 
#define IPC_64
 
#define SEMOP   1
 
#define SEMGET   2
 
#define SEMCTL   3
 
#define SEMTIMEDOP   4
 
#define MSGSND   11
 
#define MSGRCV   12
 
#define MSGGET   13
 
#define MSGCTL   14
 
#define SHMAT   21
 
#define SHMDT   22
 
#define SHMGET   23
 
#define SHMCTL   24
 
#define DIPC   25
 
#define IPCCALL(version, op)   ((version)<<16 | (op))
 

Macro Definition Documentation

#define DIPC   25

Definition at line 74 of file ipc.h.

#define IPC_64
Value:
0x0100 /* New version (support 32-bit UIDs, bigger
message sizes, etc. */

Definition at line 48 of file ipc.h.

#define IPC_CREAT   00001000 /* create if key is nonexistent */

Definition at line 24 of file ipc.h.

#define IPC_DIPC   00010000 /* make it distributed */

Definition at line 31 of file ipc.h.

#define IPC_EXCL   00002000 /* fail if key exists */

Definition at line 25 of file ipc.h.

#define IPC_INFO   3 /* see ipcs */

Definition at line 41 of file ipc.h.

#define IPC_NOWAIT   00004000 /* return error on wait */

Definition at line 26 of file ipc.h.

#define IPC_OLD
Value:
0 /* Old version (no 32-bit UID support on many
architectures) */

Definition at line 47 of file ipc.h.

#define IPC_OWN   00020000 /* this machine is the DIPC owner */

Definition at line 32 of file ipc.h.

#define IPC_PRIVATE   ((__kernel_key_t) 0)

Definition at line 6 of file ipc.h.

#define IPC_RMID   0 /* remove resource */

Definition at line 38 of file ipc.h.

#define IPC_SET   1 /* set ipc_perm options */

Definition at line 39 of file ipc.h.

#define IPC_STAT   2 /* get ipc_perm options */

Definition at line 40 of file ipc.h.

#define IPCCALL (   version,
  op 
)    ((version)<<16 | (op))

Definition at line 76 of file ipc.h.

#define MSGCTL   14

Definition at line 67 of file ipc.h.

#define MSGGET   13

Definition at line 66 of file ipc.h.

#define MSGRCV   12

Definition at line 65 of file ipc.h.

#define MSGSND   11

Definition at line 64 of file ipc.h.

#define SEMCTL   3

Definition at line 62 of file ipc.h.

#define SEMGET   2

Definition at line 61 of file ipc.h.

#define SEMOP   1

Definition at line 60 of file ipc.h.

#define SEMTIMEDOP   4

Definition at line 63 of file ipc.h.

#define SHMAT   21

Definition at line 68 of file ipc.h.

#define SHMCTL   24

Definition at line 71 of file ipc.h.

#define SHMDT   22

Definition at line 69 of file ipc.h.

#define SHMGET   23

Definition at line 70 of file ipc.h.