Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
um_xdi.h
Go to the documentation of this file.
1 /* $Id: um_xdi.h,v 1.1.2.2 2002/10/02 14:38:38 armin Exp $ */
2 
3 #ifndef __DIVA_USER_MODE_XDI_H__
4 #define __DIVA_USER_MODE_XDI_H__
5 
6 /*
7  Contains declaratiom of structures shared between application
8  and user mode idi driver
9 */
10 
16  char name[128];
18 
19 #define DIVA_UM_IDI_REQ_MASK 0x0000FFFF
20 #define DIVA_UM_IDI_REQ_TYPE_MASK (~(DIVA_UM_IDI_REQ_MASK))
21 #define DIVA_UM_IDI_GET_FEATURES 1 /* trigger features indication */
22 #define DIVA_UM_IDI_REQ 2
23 #define DIVA_UM_IDI_REQ_TYPE_MAN 0x10000000
24 #define DIVA_UM_IDI_REQ_TYPE_SIG 0x20000000
25 #define DIVA_UM_IDI_REQ_TYPE_NET 0x30000000
26 #define DIVA_UM_IDI_REQ_MAN (DIVA_UM_IDI_REQ | DIVA_UM_IDI_REQ_TYPE_MAN)
27 #define DIVA_UM_IDI_REQ_SIG (DIVA_UM_IDI_REQ | DIVA_UM_IDI_REQ_TYPE_SIG)
28 #define DIVA_UM_IDI_REQ_NET (DIVA_UM_IDI_REQ | DIVA_UM_IDI_REQ_TYPE_NET)
29 /*
30  data_length bytes will follow this structure
31 */
32 typedef struct _diva_um_idi_req_hdr {
38 
43 
48 
49 typedef union _diva_um_idi_ind {
54 
55 #define DIVA_UM_IDI_IND_FEATURES 1 /* features indication */
56 #define DIVA_UM_IDI_IND 2
57 #define DIVA_UM_IDI_IND_RC 3
58 /*
59  data_length bytes of data follow
60  this structure
61 */
62 typedef struct _diva_um_idi_ind_hdr {
67 
68 #endif