~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/isdn/capicmd.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php