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

Go to the source code of this file.

Data Structures

struct  capi_register_params
 
struct  capi_version
 
struct  capi_profile
 
struct  capi_manufacturer_cmd
 
union  capi_ioctl_struct
 

Macros

#define CAPI_REGISTER   _IOW('C',0x01,struct capi_register_params)
 
#define CAPI_MANUFACTURER_LEN   64
 
#define CAPI_GET_MANUFACTURER   _IOWR('C',0x06,int) /* broken: wanted size 64 (CAPI_MANUFACTURER_LEN) */
 
#define CAPI_GET_VERSION   _IOWR('C',0x07,struct capi_version)
 
#define CAPI_SERIAL_LEN   8
 
#define CAPI_GET_SERIAL   _IOWR('C',0x08,int) /* broken: wanted size 8 (CAPI_SERIAL_LEN) */
 
#define CAPI_GET_PROFILE   _IOWR('C',0x09,struct capi_profile)
 
#define CAPI_MANUFACTURER_CMD   _IOWR('C',0x20, struct capi_manufacturer_cmd)
 
#define CAPI_GET_ERRCODE   _IOR('C',0x21, __u16)
 
#define CAPI_INSTALLED   _IOR('C',0x22, __u16)
 
#define CAPIFLAG_HIGHJACKING   0x0001
 
#define CAPI_GET_FLAGS   _IOR('C',0x23, unsigned)
 
#define CAPI_SET_FLAGS   _IOR('C',0x24, unsigned)
 
#define CAPI_CLR_FLAGS   _IOR('C',0x25, unsigned)
 
#define CAPI_NCCI_OPENCOUNT   _IOR('C',0x26, unsigned)
 
#define CAPI_NCCI_GETUNIT   _IOR('C',0x27, unsigned)
 

Typedefs

typedef struct capi_register_params capi_register_params
 
typedef struct capi_version capi_version
 
typedef struct capi_profile capi_profile
 
typedef struct
capi_manufacturer_cmd 
capi_manufacturer_cmd
 
typedef union capi_ioctl_struct capi_ioctl_struct
 

Macro Definition Documentation

#define CAPI_CLR_FLAGS   _IOR('C',0x25, unsigned)

Definition at line 127 of file capi.h.

#define CAPI_GET_ERRCODE   _IOR('C',0x21, __u16)

Definition at line 95 of file capi.h.

#define CAPI_GET_FLAGS   _IOR('C',0x23, unsigned)

Definition at line 125 of file capi.h.

#define CAPI_GET_MANUFACTURER   _IOWR('C',0x06,int) /* broken: wanted size 64 (CAPI_MANUFACTURER_LEN) */

Definition at line 39 of file capi.h.

#define CAPI_GET_PROFILE   _IOWR('C',0x09,struct capi_profile)

Definition at line 76 of file capi.h.

#define CAPI_GET_SERIAL   _IOWR('C',0x08,int) /* broken: wanted size 8 (CAPI_SERIAL_LEN) */

Definition at line 59 of file capi.h.

#define CAPI_GET_VERSION   _IOWR('C',0x07,struct capi_version)

Definition at line 52 of file capi.h.

#define CAPI_INSTALLED   _IOR('C',0x22, __u16)

Definition at line 100 of file capi.h.

#define CAPI_MANUFACTURER_CMD   _IOWR('C',0x20, struct capi_manufacturer_cmd)

Definition at line 87 of file capi.h.

#define CAPI_MANUFACTURER_LEN   64

Definition at line 37 of file capi.h.

#define CAPI_NCCI_GETUNIT   _IOR('C',0x27, unsigned)

Definition at line 131 of file capi.h.

#define CAPI_NCCI_OPENCOUNT   _IOR('C',0x26, unsigned)

Definition at line 129 of file capi.h.

#define CAPI_REGISTER   _IOW('C',0x01,struct capi_register_params)

Definition at line 31 of file capi.h.

#define CAPI_SERIAL_LEN   8

Definition at line 58 of file capi.h.

#define CAPI_SET_FLAGS   _IOR('C',0x24, unsigned)

Definition at line 126 of file capi.h.

#define CAPIFLAG_HIGHJACKING   0x0001

Definition at line 123 of file capi.h.

Typedef Documentation