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

Go to the source code of this file.

Data Structures

struct  dlm_lock_data
 

Macros

#define DLM_LOCK_DATA_VERSION   1
 
#define DLM_CMD_MAX   (__DLM_CMD_MAX - 1)
 
#define DLM_TYPE_MAX   (__DLM_TYPE_MAX - 1)
 
#define DLM_GENL_VERSION   0x1
 
#define DLM_GENL_NAME   "DLM"
 

Enumerations

enum  { DLM_STATUS_WAITING = 1, DLM_STATUS_GRANTED = 2, DLM_STATUS_CONVERT = 3 }
 
enum  { DLM_CMD_UNSPEC = 0, DLM_CMD_HELLO, DLM_CMD_TIMEOUT, __DLM_CMD_MAX }
 
enum  { DLM_TYPE_UNSPEC = 0, DLM_TYPE_LOCK, __DLM_TYPE_MAX }
 

Macro Definition Documentation

#define DLM_CMD_MAX   (__DLM_CMD_MAX - 1)

Definition at line 45 of file dlm_netlink.h.

#define DLM_GENL_NAME   "DLM"

Definition at line 56 of file dlm_netlink.h.

#define DLM_GENL_VERSION   0x1

Definition at line 55 of file dlm_netlink.h.

#define DLM_LOCK_DATA_VERSION   1

Definition at line 20 of file dlm_netlink.h.

#define DLM_TYPE_MAX   (__DLM_TYPE_MAX - 1)

Definition at line 53 of file dlm_netlink.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
DLM_STATUS_WAITING 
DLM_STATUS_GRANTED 
DLM_STATUS_CONVERT 

Definition at line 14 of file dlm_netlink.h.

anonymous enum
Enumerator:
DLM_CMD_UNSPEC 
DLM_CMD_HELLO 
DLM_CMD_TIMEOUT 
__DLM_CMD_MAX 

Definition at line 38 of file dlm_netlink.h.

anonymous enum
Enumerator:
DLM_TYPE_UNSPEC 
DLM_TYPE_LOCK 
__DLM_TYPE_MAX 

Definition at line 47 of file dlm_netlink.h.