Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | isdn_cmd_stat |
struct | setup_parm |
struct | aux_s |
struct | capi_msg |
struct | isdn_ctrl |
struct | isdn_if |
Macros | |
#define | DSS1_CMD_INVOKE ((0x00 << 8) | ISDN_PTYPE_EURO) /* invoke a supplementary service */ |
#define | DSS1_CMD_INVOKE_ABORT ((0x01 << 8) | ISDN_PTYPE_EURO) /* abort a invoke cmd */ |
#define | DSS1_STAT_INVOKE_RES ((0x80 << 8) | ISDN_PTYPE_EURO) /* Result for invocation */ |
#define | DSS1_STAT_INVOKE_ERR ((0x81 << 8) | ISDN_PTYPE_EURO) /* Error Return for invocation */ |
#define | DSS1_STAT_INVOKE_BRD ((0x82 << 8) | ISDN_PTYPE_EURO) /* Deliver invoke broadcast info */ |
#define | NI1_CMD_INVOKE ((0x00 << 8) | ISDN_PTYPE_NI1) /* invoke a supplementary service */ |
#define | NI1_CMD_INVOKE_ABORT ((0x01 << 8) | ISDN_PTYPE_NI1) /* abort a invoke cmd */ |
#define | NI1_STAT_INVOKE_RES ((0x80 << 8) | ISDN_PTYPE_NI1) /* Result for invocation */ |
#define | NI1_STAT_INVOKE_ERR ((0x81 << 8) | ISDN_PTYPE_NI1) /* Error Return for invocation */ |
#define | NI1_STAT_INVOKE_BRD ((0x82 << 8) | ISDN_PTYPE_NI1) /* Deliver invoke broadcast info */ |
#define | ISDN_CMD_IOCTL 0 /* Perform ioctl */ |
#define | ISDN_CMD_DIAL 1 /* Dial out */ |
#define | ISDN_CMD_ACCEPTD 2 /* Accept an incoming call on D-Chan. */ |
#define | ISDN_CMD_ACCEPTB 3 /* Request B-Channel connect. */ |
#define | ISDN_CMD_HANGUP 4 /* Hangup */ |
#define | ISDN_CMD_CLREAZ 5 /* Clear EAZ(s) of channel */ |
#define | ISDN_CMD_SETEAZ 6 /* Set EAZ(s) of channel */ |
#define | ISDN_CMD_GETEAZ 7 /* Get EAZ(s) of channel */ |
#define | ISDN_CMD_SETSIL 8 /* Set Service-Indicator-List of channel */ |
#define | ISDN_CMD_GETSIL 9 /* Get Service-Indicator-List of channel */ |
#define | ISDN_CMD_SETL2 10 /* Set B-Chan. Layer2-Parameter */ |
#define | ISDN_CMD_GETL2 11 /* Get B-Chan. Layer2-Parameter */ |
#define | ISDN_CMD_SETL3 12 /* Set B-Chan. Layer3-Parameter */ |
#define | ISDN_CMD_GETL3 13 /* Get B-Chan. Layer3-Parameter */ |
#define | ISDN_CMD_SUSPEND 16 /* Suspend connection */ |
#define | ISDN_CMD_RESUME 17 /* Resume connection */ |
#define | ISDN_CMD_PROCEED 18 /* Proceed with call establishment */ |
#define | ISDN_CMD_ALERT 19 /* Alert after Proceeding */ |
#define | ISDN_CMD_REDIR 20 /* Redir a incoming call */ |
#define | ISDN_CMD_PROT_IO 21 /* Protocol specific commands */ |
#define | CAPI_PUT_MESSAGE 22 /* CAPI message send down or up */ |
#define | ISDN_CMD_FAXCMD 23 /* FAX commands to HL-driver */ |
#define | ISDN_CMD_AUDIO 24 /* DSP, DTMF, ... settings */ |
#define | ISDN_STAT_STAVAIL 256 /* Raw status-data available */ |
#define | ISDN_STAT_ICALL 257 /* Incoming call detected */ |
#define | ISDN_STAT_RUN 258 /* Signal protocol-code is running */ |
#define | ISDN_STAT_STOP 259 /* Signal halt of protocol-code */ |
#define | ISDN_STAT_DCONN 260 /* Signal D-Channel connect */ |
#define | ISDN_STAT_BCONN 261 /* Signal B-Channel connect */ |
#define | ISDN_STAT_DHUP 262 /* Signal D-Channel disconnect */ |
#define | ISDN_STAT_BHUP 263 /* Signal B-Channel disconnect */ |
#define | ISDN_STAT_CINF 264 /* Charge-Info */ |
#define | ISDN_STAT_LOAD 265 /* Signal new lowlevel-driver is loaded */ |
#define | ISDN_STAT_UNLOAD 266 /* Signal unload of lowlevel-driver */ |
#define | ISDN_STAT_BSENT 267 /* Signal packet sent */ |
#define | ISDN_STAT_NODCH 268 /* Signal no D-Channel */ |
#define | ISDN_STAT_ADDCH 269 /* Add more Channels */ |
#define | ISDN_STAT_CAUSE 270 /* Cause-Message */ |
#define | ISDN_STAT_ICALLW 271 /* Incoming call without B-chan waiting */ |
#define | ISDN_STAT_REDIR 272 /* Redir result */ |
#define | ISDN_STAT_PROT 273 /* protocol IO specific callback */ |
#define | ISDN_STAT_DISPLAY 274 /* deliver a received display message */ |
#define | ISDN_STAT_L1ERR 275 /* Signal Layer-1 Error */ |
#define | ISDN_STAT_FAXIND 276 /* FAX indications from HL-driver */ |
#define | ISDN_STAT_AUDIO 277 /* DTMF, DSP indications */ |
#define | ISDN_STAT_DISCH 278 /* Disable/Enable channel usage */ |
#define | ISDN_AUDIO_SETDD 0 /* Set DTMF detection */ |
#define | ISDN_AUDIO_DTMF 1 /* Rx/Tx DTMF */ |
#define | ISDN_STAT_L1ERR_SEND 1 |
#define | ISDN_STAT_L1ERR_RECV 2 |
#define | ISDN_FEATURE_L2_X75I (0x0001 << ISDN_PROTO_L2_X75I) |
#define | ISDN_FEATURE_L2_X75UI (0x0001 << ISDN_PROTO_L2_X75UI) |
#define | ISDN_FEATURE_L2_X75BUI (0x0001 << ISDN_PROTO_L2_X75BUI) |
#define | ISDN_FEATURE_L2_HDLC (0x0001 << ISDN_PROTO_L2_HDLC) |
#define | ISDN_FEATURE_L2_TRANS (0x0001 << ISDN_PROTO_L2_TRANS) |
#define | ISDN_FEATURE_L2_X25DTE (0x0001 << ISDN_PROTO_L2_X25DTE) |
#define | ISDN_FEATURE_L2_X25DCE (0x0001 << ISDN_PROTO_L2_X25DCE) |
#define | ISDN_FEATURE_L2_V11096 (0x0001 << ISDN_PROTO_L2_V11096) |
#define | ISDN_FEATURE_L2_V11019 (0x0001 << ISDN_PROTO_L2_V11019) |
#define | ISDN_FEATURE_L2_V11038 (0x0001 << ISDN_PROTO_L2_V11038) |
#define | ISDN_FEATURE_L2_MODEM (0x0001 << ISDN_PROTO_L2_MODEM) |
#define | ISDN_FEATURE_L2_FAX (0x0001 << ISDN_PROTO_L2_FAX) |
#define | ISDN_FEATURE_L2_HDLC_56K (0x0001 << ISDN_PROTO_L2_HDLC_56K) |
#define | ISDN_FEATURE_L2_MASK (0x0FFFF) /* Max. 16 protocols */ |
#define | ISDN_FEATURE_L2_SHIFT (0) |
#define | ISDN_FEATURE_L3_TRANS (0x10000 << ISDN_PROTO_L3_TRANS) |
#define | ISDN_FEATURE_L3_TRANSDSP (0x10000 << ISDN_PROTO_L3_TRANSDSP) |
#define | ISDN_FEATURE_L3_FCLASS2 (0x10000 << ISDN_PROTO_L3_FCLASS2) |
#define | ISDN_FEATURE_L3_FCLASS1 (0x10000 << ISDN_PROTO_L3_FCLASS1) |
#define | ISDN_FEATURE_L3_MASK (0x0FF0000) /* Max. 8 Protocols */ |
#define | ISDN_FEATURE_L3_SHIFT (16) |
#define | ISDN_FEATURE_P_UNKNOWN (0x1000000 << ISDN_PTYPE_UNKNOWN) |
#define | ISDN_FEATURE_P_1TR6 (0x1000000 << ISDN_PTYPE_1TR6) |
#define | ISDN_FEATURE_P_EURO (0x1000000 << ISDN_PTYPE_EURO) |
#define | ISDN_FEATURE_P_NI1 (0x1000000 << ISDN_PTYPE_NI1) |
#define | ISDN_FEATURE_P_MASK (0x0FF000000) /* Max. 8 Protocols */ |
#define | ISDN_FEATURE_P_SHIFT (24) |
#define | ISDN_FAX_CLASS1_FAE 0 |
#define | ISDN_FAX_CLASS1_FTS 1 |
#define | ISDN_FAX_CLASS1_FRS 2 |
#define | ISDN_FAX_CLASS1_FTM 3 |
#define | ISDN_FAX_CLASS1_FRM 4 |
#define | ISDN_FAX_CLASS1_FTH 5 |
#define | ISDN_FAX_CLASS1_FRH 6 |
#define | ISDN_FAX_CLASS1_CTRL 7 |
#define | ISDN_FAX_CLASS1_OK 0 |
#define | ISDN_FAX_CLASS1_CONNECT 1 |
#define | ISDN_FAX_CLASS1_NOCARR 2 |
#define | ISDN_FAX_CLASS1_ERROR 3 |
#define | ISDN_FAX_CLASS1_FCERROR 4 |
#define | ISDN_FAX_CLASS1_QUERY 5 |
#define | AT_COMMAND 0 |
#define | AT_EQ_VALUE 1 |
#define | AT_QUERY 2 |
#define | AT_EQ_QUERY 3 |
#define | MAX_CAPI_PARA_LEN 50 |
#define | dss1_io isdn_io |
#define | ni1_io isdn_io |
Typedefs | |
typedef struct setup_parm | setup_parm |
Functions | |
int | register_isdn (isdn_if *) |
#define DSS1_CMD_INVOKE ((0x00 << 8) | ISDN_PTYPE_EURO) /* invoke a supplementary service */ |
#define DSS1_CMD_INVOKE_ABORT ((0x01 << 8) | ISDN_PTYPE_EURO) /* abort a invoke cmd */ |
#define DSS1_STAT_INVOKE_BRD ((0x82 << 8) | ISDN_PTYPE_EURO) /* Deliver invoke broadcast info */ |
#define DSS1_STAT_INVOKE_ERR ((0x81 << 8) | ISDN_PTYPE_EURO) /* Error Return for invocation */ |
#define DSS1_STAT_INVOKE_RES ((0x80 << 8) | ISDN_PTYPE_EURO) /* Result for invocation */ |
#define ISDN_CMD_ACCEPTD 2 /* Accept an incoming call on D-Chan. */ |
#define ISDN_CMD_GETL2 11 /* Get B-Chan. Layer2-Parameter */ |
#define ISDN_CMD_GETL3 13 /* Get B-Chan. Layer3-Parameter */ |
#define ISDN_CMD_PROCEED 18 /* Proceed with call establishment */ |
#define ISDN_CMD_RESUME 17 /* Resume connection */ |
#define ISDN_CMD_SETL2 10 /* Set B-Chan. Layer2-Parameter */ |
#define ISDN_CMD_SETL3 12 /* Set B-Chan. Layer3-Parameter */ |
#define ISDN_CMD_SUSPEND 16 /* Suspend connection */ |
#define ISDN_FEATURE_L2_HDLC (0x0001 << ISDN_PROTO_L2_HDLC) |
#define ISDN_FEATURE_L2_HDLC_56K (0x0001 << ISDN_PROTO_L2_HDLC_56K) |
#define ISDN_FEATURE_L2_MASK (0x0FFFF) /* Max. 16 protocols */ |
#define ISDN_FEATURE_L2_MODEM (0x0001 << ISDN_PROTO_L2_MODEM) |
#define ISDN_FEATURE_L2_TRANS (0x0001 << ISDN_PROTO_L2_TRANS) |
#define ISDN_FEATURE_L2_V11019 (0x0001 << ISDN_PROTO_L2_V11019) |
#define ISDN_FEATURE_L2_V11038 (0x0001 << ISDN_PROTO_L2_V11038) |
#define ISDN_FEATURE_L2_V11096 (0x0001 << ISDN_PROTO_L2_V11096) |
#define ISDN_FEATURE_L2_X25DCE (0x0001 << ISDN_PROTO_L2_X25DCE) |
#define ISDN_FEATURE_L2_X25DTE (0x0001 << ISDN_PROTO_L2_X25DTE) |
#define ISDN_FEATURE_L2_X75BUI (0x0001 << ISDN_PROTO_L2_X75BUI) |
#define ISDN_FEATURE_L2_X75I (0x0001 << ISDN_PROTO_L2_X75I) |
#define ISDN_FEATURE_L2_X75UI (0x0001 << ISDN_PROTO_L2_X75UI) |
#define ISDN_FEATURE_L3_FCLASS1 (0x10000 << ISDN_PROTO_L3_FCLASS1) |
#define ISDN_FEATURE_L3_FCLASS2 (0x10000 << ISDN_PROTO_L3_FCLASS2) |
#define ISDN_FEATURE_L3_MASK (0x0FF0000) /* Max. 8 Protocols */ |
#define ISDN_FEATURE_L3_TRANS (0x10000 << ISDN_PROTO_L3_TRANS) |
#define ISDN_FEATURE_L3_TRANSDSP (0x10000 << ISDN_PROTO_L3_TRANSDSP) |
#define ISDN_FEATURE_P_MASK (0x0FF000000) /* Max. 8 Protocols */ |
#define ISDN_FEATURE_P_UNKNOWN (0x1000000 << ISDN_PTYPE_UNKNOWN) |
#define ISDN_STAT_BHUP 263 /* Signal B-Channel disconnect */ |
#define ISDN_STAT_DHUP 262 /* Signal D-Channel disconnect */ |
#define ISDN_STAT_UNLOAD 266 /* Signal unload of lowlevel-driver */ |
#define NI1_CMD_INVOKE ((0x00 << 8) | ISDN_PTYPE_NI1) /* invoke a supplementary service */ |
#define NI1_CMD_INVOKE_ABORT ((0x01 << 8) | ISDN_PTYPE_NI1) /* abort a invoke cmd */ |
#define NI1_STAT_INVOKE_BRD ((0x82 << 8) | ISDN_PTYPE_NI1) /* Deliver invoke broadcast info */ |
#define NI1_STAT_INVOKE_ERR ((0x81 << 8) | ISDN_PTYPE_NI1) /* Error Return for invocation */ |
#define NI1_STAT_INVOKE_RES ((0x80 << 8) | ISDN_PTYPE_NI1) /* Result for invocation */ |
typedef struct setup_parm setup_parm |
Definition at line 2223 of file isdn_common.c.