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

Go to the source code of this file.

Data Structures

struct  ib_user_mad_hdr_old
 
struct  ib_user_mad_hdr
 
struct  ib_user_mad
 
struct  ib_user_mad_reg_req
 

Macros

#define IB_USER_MAD_ABI_VERSION   5
 
#define IB_USER_MAD_LONGS_PER_METHOD_MASK   (128 / (8 * sizeof (long)))
 
#define IB_IOCTL_MAGIC   0x1b
 
#define IB_USER_MAD_REGISTER_AGENT
 
#define IB_USER_MAD_UNREGISTER_AGENT   _IOW(IB_IOCTL_MAGIC, 2, __u32)
 
#define IB_USER_MAD_ENABLE_PKEY   _IO(IB_IOCTL_MAGIC, 3)
 

Typedefs

typedef unsigned long __attribute__ ((aligned(4))) packed_ulong
 

Macro Definition Documentation

#define IB_IOCTL_MAGIC   0x1b

Definition at line 194 of file ib_user_mad.h.

#define IB_USER_MAD_ABI_VERSION   5

Definition at line 44 of file ib_user_mad.h.

#define IB_USER_MAD_ENABLE_PKEY   _IO(IB_IOCTL_MAGIC, 3)

Definition at line 201 of file ib_user_mad.h.

#define IB_USER_MAD_LONGS_PER_METHOD_MASK   (128 / (8 * sizeof (long)))

Definition at line 166 of file ib_user_mad.h.

#define IB_USER_MAD_REGISTER_AGENT
Value:

Definition at line 196 of file ib_user_mad.h.

#define IB_USER_MAD_UNREGISTER_AGENT   _IOW(IB_IOCTL_MAGIC, 2, __u32)

Definition at line 199 of file ib_user_mad.h.

Typedef Documentation

typedef unsigned long __attribute__((aligned(4))) packed_ulong

Definition at line 165 of file ib_user_mad.h.