Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/linux/isdn
File: capicmd.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
/* $Id: capicmd.h,v 1.2.6.2 2001/09/23 22:24:33 kai Exp $
[1] Fix | Delete
*
[2] Fix | Delete
* CAPI 2.0 Interface for Linux
[3] Fix | Delete
*
[4] Fix | Delete
* Copyright 1997 by Carsten Paeth <calle@calle.de>
[5] Fix | Delete
*
[6] Fix | Delete
* This software may be used and distributed according to the terms
[7] Fix | Delete
* of the GNU General Public License, incorporated herein by reference.
[8] Fix | Delete
*
[9] Fix | Delete
*/
[10] Fix | Delete
[11] Fix | Delete
#ifndef __CAPICMD_H__
[12] Fix | Delete
#define __CAPICMD_H__
[13] Fix | Delete
[14] Fix | Delete
#define CAPI_MSG_BASELEN 8
[15] Fix | Delete
#define CAPI_DATA_B3_REQ_LEN (CAPI_MSG_BASELEN+4+4+2+2+2)
[16] Fix | Delete
#define CAPI_DATA_B3_RESP_LEN (CAPI_MSG_BASELEN+4+2)
[17] Fix | Delete
[18] Fix | Delete
/*----- CAPI commands -----*/
[19] Fix | Delete
#define CAPI_ALERT 0x01
[20] Fix | Delete
#define CAPI_CONNECT 0x02
[21] Fix | Delete
#define CAPI_CONNECT_ACTIVE 0x03
[22] Fix | Delete
#define CAPI_CONNECT_B3_ACTIVE 0x83
[23] Fix | Delete
#define CAPI_CONNECT_B3 0x82
[24] Fix | Delete
#define CAPI_CONNECT_B3_T90_ACTIVE 0x88
[25] Fix | Delete
#define CAPI_DATA_B3 0x86
[26] Fix | Delete
#define CAPI_DISCONNECT_B3 0x84
[27] Fix | Delete
#define CAPI_DISCONNECT 0x04
[28] Fix | Delete
#define CAPI_FACILITY 0x80
[29] Fix | Delete
#define CAPI_INFO 0x08
[30] Fix | Delete
#define CAPI_LISTEN 0x05
[31] Fix | Delete
#define CAPI_MANUFACTURER 0xff
[32] Fix | Delete
#define CAPI_RESET_B3 0x87
[33] Fix | Delete
#define CAPI_SELECT_B_PROTOCOL 0x41
[34] Fix | Delete
[35] Fix | Delete
/*----- CAPI subcommands -----*/
[36] Fix | Delete
[37] Fix | Delete
#define CAPI_REQ 0x80
[38] Fix | Delete
#define CAPI_CONF 0x81
[39] Fix | Delete
#define CAPI_IND 0x82
[40] Fix | Delete
#define CAPI_RESP 0x83
[41] Fix | Delete
[42] Fix | Delete
/*----- CAPI combined commands -----*/
[43] Fix | Delete
[44] Fix | Delete
#define CAPICMD(cmd,subcmd) (((cmd)<<8)|(subcmd))
[45] Fix | Delete
[46] Fix | Delete
#define CAPI_DISCONNECT_REQ CAPICMD(CAPI_DISCONNECT,CAPI_REQ)
[47] Fix | Delete
#define CAPI_DISCONNECT_CONF CAPICMD(CAPI_DISCONNECT,CAPI_CONF)
[48] Fix | Delete
#define CAPI_DISCONNECT_IND CAPICMD(CAPI_DISCONNECT,CAPI_IND)
[49] Fix | Delete
#define CAPI_DISCONNECT_RESP CAPICMD(CAPI_DISCONNECT,CAPI_RESP)
[50] Fix | Delete
[51] Fix | Delete
#define CAPI_ALERT_REQ CAPICMD(CAPI_ALERT,CAPI_REQ)
[52] Fix | Delete
#define CAPI_ALERT_CONF CAPICMD(CAPI_ALERT,CAPI_CONF)
[53] Fix | Delete
[54] Fix | Delete
#define CAPI_CONNECT_REQ CAPICMD(CAPI_CONNECT,CAPI_REQ)
[55] Fix | Delete
#define CAPI_CONNECT_CONF CAPICMD(CAPI_CONNECT,CAPI_CONF)
[56] Fix | Delete
#define CAPI_CONNECT_IND CAPICMD(CAPI_CONNECT,CAPI_IND)
[57] Fix | Delete
#define CAPI_CONNECT_RESP CAPICMD(CAPI_CONNECT,CAPI_RESP)
[58] Fix | Delete
[59] Fix | Delete
#define CAPI_CONNECT_ACTIVE_REQ CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_REQ)
[60] Fix | Delete
#define CAPI_CONNECT_ACTIVE_CONF CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_CONF)
[61] Fix | Delete
#define CAPI_CONNECT_ACTIVE_IND CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_IND)
[62] Fix | Delete
#define CAPI_CONNECT_ACTIVE_RESP CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_RESP)
[63] Fix | Delete
[64] Fix | Delete
#define CAPI_SELECT_B_PROTOCOL_REQ CAPICMD(CAPI_SELECT_B_PROTOCOL,CAPI_REQ)
[65] Fix | Delete
#define CAPI_SELECT_B_PROTOCOL_CONF CAPICMD(CAPI_SELECT_B_PROTOCOL,CAPI_CONF)
[66] Fix | Delete
[67] Fix | Delete
#define CAPI_CONNECT_B3_ACTIVE_REQ CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_REQ)
[68] Fix | Delete
#define CAPI_CONNECT_B3_ACTIVE_CONF CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_CONF)
[69] Fix | Delete
#define CAPI_CONNECT_B3_ACTIVE_IND CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_IND)
[70] Fix | Delete
#define CAPI_CONNECT_B3_ACTIVE_RESP CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_RESP)
[71] Fix | Delete
[72] Fix | Delete
#define CAPI_CONNECT_B3_REQ CAPICMD(CAPI_CONNECT_B3,CAPI_REQ)
[73] Fix | Delete
#define CAPI_CONNECT_B3_CONF CAPICMD(CAPI_CONNECT_B3,CAPI_CONF)
[74] Fix | Delete
#define CAPI_CONNECT_B3_IND CAPICMD(CAPI_CONNECT_B3,CAPI_IND)
[75] Fix | Delete
#define CAPI_CONNECT_B3_RESP CAPICMD(CAPI_CONNECT_B3,CAPI_RESP)
[76] Fix | Delete
[77] Fix | Delete
[78] Fix | Delete
#define CAPI_CONNECT_B3_T90_ACTIVE_IND CAPICMD(CAPI_CONNECT_B3_T90_ACTIVE,CAPI_IND)
[79] Fix | Delete
#define CAPI_CONNECT_B3_T90_ACTIVE_RESP CAPICMD(CAPI_CONNECT_B3_T90_ACTIVE,CAPI_RESP)
[80] Fix | Delete
[81] Fix | Delete
#define CAPI_DATA_B3_REQ CAPICMD(CAPI_DATA_B3,CAPI_REQ)
[82] Fix | Delete
#define CAPI_DATA_B3_CONF CAPICMD(CAPI_DATA_B3,CAPI_CONF)
[83] Fix | Delete
#define CAPI_DATA_B3_IND CAPICMD(CAPI_DATA_B3,CAPI_IND)
[84] Fix | Delete
#define CAPI_DATA_B3_RESP CAPICMD(CAPI_DATA_B3,CAPI_RESP)
[85] Fix | Delete
[86] Fix | Delete
#define CAPI_DISCONNECT_B3_REQ CAPICMD(CAPI_DISCONNECT_B3,CAPI_REQ)
[87] Fix | Delete
#define CAPI_DISCONNECT_B3_CONF CAPICMD(CAPI_DISCONNECT_B3,CAPI_CONF)
[88] Fix | Delete
#define CAPI_DISCONNECT_B3_IND CAPICMD(CAPI_DISCONNECT_B3,CAPI_IND)
[89] Fix | Delete
#define CAPI_DISCONNECT_B3_RESP CAPICMD(CAPI_DISCONNECT_B3,CAPI_RESP)
[90] Fix | Delete
[91] Fix | Delete
#define CAPI_RESET_B3_REQ CAPICMD(CAPI_RESET_B3,CAPI_REQ)
[92] Fix | Delete
#define CAPI_RESET_B3_CONF CAPICMD(CAPI_RESET_B3,CAPI_CONF)
[93] Fix | Delete
#define CAPI_RESET_B3_IND CAPICMD(CAPI_RESET_B3,CAPI_IND)
[94] Fix | Delete
#define CAPI_RESET_B3_RESP CAPICMD(CAPI_RESET_B3,CAPI_RESP)
[95] Fix | Delete
[96] Fix | Delete
#define CAPI_LISTEN_REQ CAPICMD(CAPI_LISTEN,CAPI_REQ)
[97] Fix | Delete
#define CAPI_LISTEN_CONF CAPICMD(CAPI_LISTEN,CAPI_CONF)
[98] Fix | Delete
[99] Fix | Delete
#define CAPI_MANUFACTURER_REQ CAPICMD(CAPI_MANUFACTURER,CAPI_REQ)
[100] Fix | Delete
#define CAPI_MANUFACTURER_CONF CAPICMD(CAPI_MANUFACTURER,CAPI_CONF)
[101] Fix | Delete
#define CAPI_MANUFACTURER_IND CAPICMD(CAPI_MANUFACTURER,CAPI_IND)
[102] Fix | Delete
#define CAPI_MANUFACTURER_RESP CAPICMD(CAPI_MANUFACTURER,CAPI_RESP)
[103] Fix | Delete
[104] Fix | Delete
#define CAPI_FACILITY_REQ CAPICMD(CAPI_FACILITY,CAPI_REQ)
[105] Fix | Delete
#define CAPI_FACILITY_CONF CAPICMD(CAPI_FACILITY,CAPI_CONF)
[106] Fix | Delete
#define CAPI_FACILITY_IND CAPICMD(CAPI_FACILITY,CAPI_IND)
[107] Fix | Delete
#define CAPI_FACILITY_RESP CAPICMD(CAPI_FACILITY,CAPI_RESP)
[108] Fix | Delete
[109] Fix | Delete
#define CAPI_INFO_REQ CAPICMD(CAPI_INFO,CAPI_REQ)
[110] Fix | Delete
#define CAPI_INFO_CONF CAPICMD(CAPI_INFO,CAPI_CONF)
[111] Fix | Delete
#define CAPI_INFO_IND CAPICMD(CAPI_INFO,CAPI_IND)
[112] Fix | Delete
#define CAPI_INFO_RESP CAPICMD(CAPI_INFO,CAPI_RESP)
[113] Fix | Delete
[114] Fix | Delete
#endif /* __CAPICMD_H__ */
[115] Fix | Delete
[116] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function