Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
capicmd.h File Reference

Go to the source code of this file.

Macros

#define CAPI_MSG_BASELEN   8
 
#define CAPI_DATA_B3_REQ_LEN   (CAPI_MSG_BASELEN+4+4+2+2+2)
 
#define CAPI_DATA_B3_RESP_LEN   (CAPI_MSG_BASELEN+4+2)
 
#define CAPI_ALERT   0x01
 
#define CAPI_CONNECT   0x02
 
#define CAPI_CONNECT_ACTIVE   0x03
 
#define CAPI_CONNECT_B3_ACTIVE   0x83
 
#define CAPI_CONNECT_B3   0x82
 
#define CAPI_CONNECT_B3_T90_ACTIVE   0x88
 
#define CAPI_DATA_B3   0x86
 
#define CAPI_DISCONNECT_B3   0x84
 
#define CAPI_DISCONNECT   0x04
 
#define CAPI_FACILITY   0x80
 
#define CAPI_INFO   0x08
 
#define CAPI_LISTEN   0x05
 
#define CAPI_MANUFACTURER   0xff
 
#define CAPI_RESET_B3   0x87
 
#define CAPI_SELECT_B_PROTOCOL   0x41
 
#define CAPI_REQ   0x80
 
#define CAPI_CONF   0x81
 
#define CAPI_IND   0x82
 
#define CAPI_RESP   0x83
 
#define CAPICMD(cmd, subcmd)   (((cmd)<<8)|(subcmd))
 
#define CAPI_DISCONNECT_REQ   CAPICMD(CAPI_DISCONNECT,CAPI_REQ)
 
#define CAPI_DISCONNECT_CONF   CAPICMD(CAPI_DISCONNECT,CAPI_CONF)
 
#define CAPI_DISCONNECT_IND   CAPICMD(CAPI_DISCONNECT,CAPI_IND)
 
#define CAPI_DISCONNECT_RESP   CAPICMD(CAPI_DISCONNECT,CAPI_RESP)
 
#define CAPI_ALERT_REQ   CAPICMD(CAPI_ALERT,CAPI_REQ)
 
#define CAPI_ALERT_CONF   CAPICMD(CAPI_ALERT,CAPI_CONF)
 
#define CAPI_CONNECT_REQ   CAPICMD(CAPI_CONNECT,CAPI_REQ)
 
#define CAPI_CONNECT_CONF   CAPICMD(CAPI_CONNECT,CAPI_CONF)
 
#define CAPI_CONNECT_IND   CAPICMD(CAPI_CONNECT,CAPI_IND)
 
#define CAPI_CONNECT_RESP   CAPICMD(CAPI_CONNECT,CAPI_RESP)
 
#define CAPI_CONNECT_ACTIVE_REQ   CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_REQ)
 
#define CAPI_CONNECT_ACTIVE_CONF   CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_CONF)
 
#define CAPI_CONNECT_ACTIVE_IND   CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_IND)
 
#define CAPI_CONNECT_ACTIVE_RESP   CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_RESP)
 
#define CAPI_SELECT_B_PROTOCOL_REQ   CAPICMD(CAPI_SELECT_B_PROTOCOL,CAPI_REQ)
 
#define CAPI_SELECT_B_PROTOCOL_CONF   CAPICMD(CAPI_SELECT_B_PROTOCOL,CAPI_CONF)
 
#define CAPI_CONNECT_B3_ACTIVE_REQ   CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_REQ)
 
#define CAPI_CONNECT_B3_ACTIVE_CONF   CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_CONF)
 
#define CAPI_CONNECT_B3_ACTIVE_IND   CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_IND)
 
#define CAPI_CONNECT_B3_ACTIVE_RESP   CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_RESP)
 
#define CAPI_CONNECT_B3_REQ   CAPICMD(CAPI_CONNECT_B3,CAPI_REQ)
 
#define CAPI_CONNECT_B3_CONF   CAPICMD(CAPI_CONNECT_B3,CAPI_CONF)
 
#define CAPI_CONNECT_B3_IND   CAPICMD(CAPI_CONNECT_B3,CAPI_IND)
 
#define CAPI_CONNECT_B3_RESP   CAPICMD(CAPI_CONNECT_B3,CAPI_RESP)
 
#define CAPI_CONNECT_B3_T90_ACTIVE_IND   CAPICMD(CAPI_CONNECT_B3_T90_ACTIVE,CAPI_IND)
 
#define CAPI_CONNECT_B3_T90_ACTIVE_RESP   CAPICMD(CAPI_CONNECT_B3_T90_ACTIVE,CAPI_RESP)
 
#define CAPI_DATA_B3_REQ   CAPICMD(CAPI_DATA_B3,CAPI_REQ)
 
#define CAPI_DATA_B3_CONF   CAPICMD(CAPI_DATA_B3,CAPI_CONF)
 
#define CAPI_DATA_B3_IND   CAPICMD(CAPI_DATA_B3,CAPI_IND)
 
#define CAPI_DATA_B3_RESP   CAPICMD(CAPI_DATA_B3,CAPI_RESP)
 
#define CAPI_DISCONNECT_B3_REQ   CAPICMD(CAPI_DISCONNECT_B3,CAPI_REQ)
 
#define CAPI_DISCONNECT_B3_CONF   CAPICMD(CAPI_DISCONNECT_B3,CAPI_CONF)
 
#define CAPI_DISCONNECT_B3_IND   CAPICMD(CAPI_DISCONNECT_B3,CAPI_IND)
 
#define CAPI_DISCONNECT_B3_RESP   CAPICMD(CAPI_DISCONNECT_B3,CAPI_RESP)
 
#define CAPI_RESET_B3_REQ   CAPICMD(CAPI_RESET_B3,CAPI_REQ)
 
#define CAPI_RESET_B3_CONF   CAPICMD(CAPI_RESET_B3,CAPI_CONF)
 
#define CAPI_RESET_B3_IND   CAPICMD(CAPI_RESET_B3,CAPI_IND)
 
#define CAPI_RESET_B3_RESP   CAPICMD(CAPI_RESET_B3,CAPI_RESP)
 
#define CAPI_LISTEN_REQ   CAPICMD(CAPI_LISTEN,CAPI_REQ)
 
#define CAPI_LISTEN_CONF   CAPICMD(CAPI_LISTEN,CAPI_CONF)
 
#define CAPI_MANUFACTURER_REQ   CAPICMD(CAPI_MANUFACTURER,CAPI_REQ)
 
#define CAPI_MANUFACTURER_CONF   CAPICMD(CAPI_MANUFACTURER,CAPI_CONF)
 
#define CAPI_MANUFACTURER_IND   CAPICMD(CAPI_MANUFACTURER,CAPI_IND)
 
#define CAPI_MANUFACTURER_RESP   CAPICMD(CAPI_MANUFACTURER,CAPI_RESP)
 
#define CAPI_FACILITY_REQ   CAPICMD(CAPI_FACILITY,CAPI_REQ)
 
#define CAPI_FACILITY_CONF   CAPICMD(CAPI_FACILITY,CAPI_CONF)
 
#define CAPI_FACILITY_IND   CAPICMD(CAPI_FACILITY,CAPI_IND)
 
#define CAPI_FACILITY_RESP   CAPICMD(CAPI_FACILITY,CAPI_RESP)
 
#define CAPI_INFO_REQ   CAPICMD(CAPI_INFO,CAPI_REQ)
 
#define CAPI_INFO_CONF   CAPICMD(CAPI_INFO,CAPI_CONF)
 
#define CAPI_INFO_IND   CAPICMD(CAPI_INFO,CAPI_IND)
 
#define CAPI_INFO_RESP   CAPICMD(CAPI_INFO,CAPI_RESP)
 

Macro Definition Documentation

#define CAPI_ALERT   0x01

Definition at line 20 of file capicmd.h.

#define CAPI_ALERT_CONF   CAPICMD(CAPI_ALERT,CAPI_CONF)

Definition at line 53 of file capicmd.h.

#define CAPI_ALERT_REQ   CAPICMD(CAPI_ALERT,CAPI_REQ)

Definition at line 52 of file capicmd.h.

#define CAPI_CONF   0x81

Definition at line 39 of file capicmd.h.

#define CAPI_CONNECT   0x02

Definition at line 21 of file capicmd.h.

#define CAPI_CONNECT_ACTIVE   0x03

Definition at line 22 of file capicmd.h.

#define CAPI_CONNECT_ACTIVE_CONF   CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_CONF)

Definition at line 61 of file capicmd.h.

#define CAPI_CONNECT_ACTIVE_IND   CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_IND)

Definition at line 62 of file capicmd.h.

#define CAPI_CONNECT_ACTIVE_REQ   CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_REQ)

Definition at line 60 of file capicmd.h.

#define CAPI_CONNECT_ACTIVE_RESP   CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_RESP)

Definition at line 63 of file capicmd.h.

#define CAPI_CONNECT_B3   0x82

Definition at line 24 of file capicmd.h.

#define CAPI_CONNECT_B3_ACTIVE   0x83

Definition at line 23 of file capicmd.h.

#define CAPI_CONNECT_B3_ACTIVE_CONF   CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_CONF)

Definition at line 69 of file capicmd.h.

#define CAPI_CONNECT_B3_ACTIVE_IND   CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_IND)

Definition at line 70 of file capicmd.h.

#define CAPI_CONNECT_B3_ACTIVE_REQ   CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_REQ)

Definition at line 68 of file capicmd.h.

#define CAPI_CONNECT_B3_ACTIVE_RESP   CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_RESP)

Definition at line 71 of file capicmd.h.

#define CAPI_CONNECT_B3_CONF   CAPICMD(CAPI_CONNECT_B3,CAPI_CONF)

Definition at line 74 of file capicmd.h.

#define CAPI_CONNECT_B3_IND   CAPICMD(CAPI_CONNECT_B3,CAPI_IND)

Definition at line 75 of file capicmd.h.

#define CAPI_CONNECT_B3_REQ   CAPICMD(CAPI_CONNECT_B3,CAPI_REQ)

Definition at line 73 of file capicmd.h.

#define CAPI_CONNECT_B3_RESP   CAPICMD(CAPI_CONNECT_B3,CAPI_RESP)

Definition at line 76 of file capicmd.h.

#define CAPI_CONNECT_B3_T90_ACTIVE   0x88

Definition at line 25 of file capicmd.h.

#define CAPI_CONNECT_B3_T90_ACTIVE_IND   CAPICMD(CAPI_CONNECT_B3_T90_ACTIVE,CAPI_IND)

Definition at line 79 of file capicmd.h.

#define CAPI_CONNECT_B3_T90_ACTIVE_RESP   CAPICMD(CAPI_CONNECT_B3_T90_ACTIVE,CAPI_RESP)

Definition at line 80 of file capicmd.h.

#define CAPI_CONNECT_CONF   CAPICMD(CAPI_CONNECT,CAPI_CONF)

Definition at line 56 of file capicmd.h.

#define CAPI_CONNECT_IND   CAPICMD(CAPI_CONNECT,CAPI_IND)

Definition at line 57 of file capicmd.h.

#define CAPI_CONNECT_REQ   CAPICMD(CAPI_CONNECT,CAPI_REQ)

Definition at line 55 of file capicmd.h.

#define CAPI_CONNECT_RESP   CAPICMD(CAPI_CONNECT,CAPI_RESP)

Definition at line 58 of file capicmd.h.

#define CAPI_DATA_B3   0x86

Definition at line 26 of file capicmd.h.

#define CAPI_DATA_B3_CONF   CAPICMD(CAPI_DATA_B3,CAPI_CONF)

Definition at line 83 of file capicmd.h.

#define CAPI_DATA_B3_IND   CAPICMD(CAPI_DATA_B3,CAPI_IND)

Definition at line 84 of file capicmd.h.

#define CAPI_DATA_B3_REQ   CAPICMD(CAPI_DATA_B3,CAPI_REQ)

Definition at line 82 of file capicmd.h.

#define CAPI_DATA_B3_REQ_LEN   (CAPI_MSG_BASELEN+4+4+2+2+2)

Definition at line 16 of file capicmd.h.

#define CAPI_DATA_B3_RESP   CAPICMD(CAPI_DATA_B3,CAPI_RESP)

Definition at line 85 of file capicmd.h.

#define CAPI_DATA_B3_RESP_LEN   (CAPI_MSG_BASELEN+4+2)

Definition at line 17 of file capicmd.h.

#define CAPI_DISCONNECT   0x04

Definition at line 28 of file capicmd.h.

#define CAPI_DISCONNECT_B3   0x84

Definition at line 27 of file capicmd.h.

#define CAPI_DISCONNECT_B3_CONF   CAPICMD(CAPI_DISCONNECT_B3,CAPI_CONF)

Definition at line 88 of file capicmd.h.

#define CAPI_DISCONNECT_B3_IND   CAPICMD(CAPI_DISCONNECT_B3,CAPI_IND)

Definition at line 89 of file capicmd.h.

#define CAPI_DISCONNECT_B3_REQ   CAPICMD(CAPI_DISCONNECT_B3,CAPI_REQ)

Definition at line 87 of file capicmd.h.

#define CAPI_DISCONNECT_B3_RESP   CAPICMD(CAPI_DISCONNECT_B3,CAPI_RESP)

Definition at line 90 of file capicmd.h.

#define CAPI_DISCONNECT_CONF   CAPICMD(CAPI_DISCONNECT,CAPI_CONF)

Definition at line 48 of file capicmd.h.

#define CAPI_DISCONNECT_IND   CAPICMD(CAPI_DISCONNECT,CAPI_IND)

Definition at line 49 of file capicmd.h.

#define CAPI_DISCONNECT_REQ   CAPICMD(CAPI_DISCONNECT,CAPI_REQ)

Definition at line 47 of file capicmd.h.

#define CAPI_DISCONNECT_RESP   CAPICMD(CAPI_DISCONNECT,CAPI_RESP)

Definition at line 50 of file capicmd.h.

#define CAPI_FACILITY   0x80

Definition at line 29 of file capicmd.h.

#define CAPI_FACILITY_CONF   CAPICMD(CAPI_FACILITY,CAPI_CONF)

Definition at line 106 of file capicmd.h.

#define CAPI_FACILITY_IND   CAPICMD(CAPI_FACILITY,CAPI_IND)

Definition at line 107 of file capicmd.h.

#define CAPI_FACILITY_REQ   CAPICMD(CAPI_FACILITY,CAPI_REQ)

Definition at line 105 of file capicmd.h.

#define CAPI_FACILITY_RESP   CAPICMD(CAPI_FACILITY,CAPI_RESP)

Definition at line 108 of file capicmd.h.

#define CAPI_IND   0x82

Definition at line 40 of file capicmd.h.

#define CAPI_INFO   0x08

Definition at line 30 of file capicmd.h.

#define CAPI_INFO_CONF   CAPICMD(CAPI_INFO,CAPI_CONF)

Definition at line 111 of file capicmd.h.

#define CAPI_INFO_IND   CAPICMD(CAPI_INFO,CAPI_IND)

Definition at line 112 of file capicmd.h.

#define CAPI_INFO_REQ   CAPICMD(CAPI_INFO,CAPI_REQ)

Definition at line 110 of file capicmd.h.

#define CAPI_INFO_RESP   CAPICMD(CAPI_INFO,CAPI_RESP)

Definition at line 113 of file capicmd.h.

#define CAPI_LISTEN   0x05

Definition at line 31 of file capicmd.h.

#define CAPI_LISTEN_CONF   CAPICMD(CAPI_LISTEN,CAPI_CONF)

Definition at line 98 of file capicmd.h.

#define CAPI_LISTEN_REQ   CAPICMD(CAPI_LISTEN,CAPI_REQ)

Definition at line 97 of file capicmd.h.

#define CAPI_MANUFACTURER   0xff

Definition at line 32 of file capicmd.h.

#define CAPI_MANUFACTURER_CONF   CAPICMD(CAPI_MANUFACTURER,CAPI_CONF)

Definition at line 101 of file capicmd.h.

#define CAPI_MANUFACTURER_IND   CAPICMD(CAPI_MANUFACTURER,CAPI_IND)

Definition at line 102 of file capicmd.h.

#define CAPI_MANUFACTURER_REQ   CAPICMD(CAPI_MANUFACTURER,CAPI_REQ)

Definition at line 100 of file capicmd.h.

#define CAPI_MANUFACTURER_RESP   CAPICMD(CAPI_MANUFACTURER,CAPI_RESP)

Definition at line 103 of file capicmd.h.

#define CAPI_MSG_BASELEN   8

Definition at line 15 of file capicmd.h.

#define CAPI_REQ   0x80

Definition at line 38 of file capicmd.h.

#define CAPI_RESET_B3   0x87

Definition at line 33 of file capicmd.h.

#define CAPI_RESET_B3_CONF   CAPICMD(CAPI_RESET_B3,CAPI_CONF)

Definition at line 93 of file capicmd.h.

#define CAPI_RESET_B3_IND   CAPICMD(CAPI_RESET_B3,CAPI_IND)

Definition at line 94 of file capicmd.h.

#define CAPI_RESET_B3_REQ   CAPICMD(CAPI_RESET_B3,CAPI_REQ)

Definition at line 92 of file capicmd.h.

#define CAPI_RESET_B3_RESP   CAPICMD(CAPI_RESET_B3,CAPI_RESP)

Definition at line 95 of file capicmd.h.

#define CAPI_RESP   0x83

Definition at line 41 of file capicmd.h.

#define CAPI_SELECT_B_PROTOCOL   0x41

Definition at line 34 of file capicmd.h.

#define CAPI_SELECT_B_PROTOCOL_CONF   CAPICMD(CAPI_SELECT_B_PROTOCOL,CAPI_CONF)

Definition at line 66 of file capicmd.h.

#define CAPI_SELECT_B_PROTOCOL_REQ   CAPICMD(CAPI_SELECT_B_PROTOCOL,CAPI_REQ)

Definition at line 65 of file capicmd.h.

#define CAPICMD (   cmd,
  subcmd 
)    (((cmd)<<8)|(subcmd))

Definition at line 45 of file capicmd.h.