linux/include/uapi/linux/isdn/capicmd.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/* $Id: capicmd.h,v 1.2.6.2 2001/09/23 22:24:33 kai Exp $
 * 
 * CAPI 2.0 Interface for Linux
 * 
 * Copyright 1997 by Carsten Paeth <[email protected]>
 * 
 * This software may be used and distributed according to the terms
 * of the GNU General Public License, incorporated herein by reference.
 *
 */

#ifndef __CAPICMD_H__
#define __CAPICMD_H__

#define CAPI_MSG_BASELEN
#define CAPI_DATA_B3_REQ_LEN
#define CAPI_DATA_B3_RESP_LEN
#define CAPI_DISCONNECT_B3_RESP_LEN

/*----- CAPI commands -----*/
#define CAPI_ALERT
#define CAPI_CONNECT
#define CAPI_CONNECT_ACTIVE
#define CAPI_CONNECT_B3_ACTIVE
#define CAPI_CONNECT_B3
#define CAPI_CONNECT_B3_T90_ACTIVE
#define CAPI_DATA_B3
#define CAPI_DISCONNECT_B3
#define CAPI_DISCONNECT
#define CAPI_FACILITY
#define CAPI_INFO
#define CAPI_LISTEN
#define CAPI_MANUFACTURER
#define CAPI_RESET_B3
#define CAPI_SELECT_B_PROTOCOL

/*----- CAPI subcommands -----*/

#define CAPI_REQ
#define CAPI_CONF
#define CAPI_IND
#define CAPI_RESP

/*----- CAPI combined commands -----*/

#define CAPICMD(cmd,subcmd)

#define CAPI_DISCONNECT_REQ
#define CAPI_DISCONNECT_CONF
#define CAPI_DISCONNECT_IND
#define CAPI_DISCONNECT_RESP

#define CAPI_ALERT_REQ
#define CAPI_ALERT_CONF

#define CAPI_CONNECT_REQ
#define CAPI_CONNECT_CONF
#define CAPI_CONNECT_IND
#define CAPI_CONNECT_RESP

#define CAPI_CONNECT_ACTIVE_REQ
#define CAPI_CONNECT_ACTIVE_CONF
#define CAPI_CONNECT_ACTIVE_IND
#define CAPI_CONNECT_ACTIVE_RESP

#define CAPI_SELECT_B_PROTOCOL_REQ
#define CAPI_SELECT_B_PROTOCOL_CONF

#define CAPI_CONNECT_B3_ACTIVE_REQ
#define CAPI_CONNECT_B3_ACTIVE_CONF
#define CAPI_CONNECT_B3_ACTIVE_IND
#define CAPI_CONNECT_B3_ACTIVE_RESP

#define CAPI_CONNECT_B3_REQ
#define CAPI_CONNECT_B3_CONF
#define CAPI_CONNECT_B3_IND
#define CAPI_CONNECT_B3_RESP


#define CAPI_CONNECT_B3_T90_ACTIVE_IND
#define CAPI_CONNECT_B3_T90_ACTIVE_RESP

#define CAPI_DATA_B3_REQ
#define CAPI_DATA_B3_CONF
#define CAPI_DATA_B3_IND
#define CAPI_DATA_B3_RESP

#define CAPI_DISCONNECT_B3_REQ
#define CAPI_DISCONNECT_B3_CONF
#define CAPI_DISCONNECT_B3_IND
#define CAPI_DISCONNECT_B3_RESP

#define CAPI_RESET_B3_REQ
#define CAPI_RESET_B3_CONF
#define CAPI_RESET_B3_IND
#define CAPI_RESET_B3_RESP

#define CAPI_LISTEN_REQ
#define CAPI_LISTEN_CONF

#define CAPI_MANUFACTURER_REQ
#define CAPI_MANUFACTURER_CONF
#define CAPI_MANUFACTURER_IND
#define CAPI_MANUFACTURER_RESP

#define CAPI_FACILITY_REQ
#define CAPI_FACILITY_CONF
#define CAPI_FACILITY_IND
#define CAPI_FACILITY_RESP

#define CAPI_INFO_REQ
#define CAPI_INFO_CONF
#define CAPI_INFO_IND
#define CAPI_INFO_RESP

#endif				/* __CAPICMD_H__ */