|
#define | MISDN_MAJOR_VERSION 1 |
|
#define | MISDN_MINOR_VERSION 1 |
|
#define | MISDN_RELEASE 29 |
|
#define | MISDN_CMDMASK 0xff00 |
|
#define | MISDN_LAYERMASK 0x00ff |
|
#define | OPEN_CHANNEL 0x0100 |
|
#define | CLOSE_CHANNEL 0x0200 |
|
#define | CONTROL_CHANNEL 0x0300 |
|
#define | CHECK_DATA 0x0400 |
|
#define | PH_ACTIVATE_REQ 0x0101 |
|
#define | PH_DEACTIVATE_REQ 0x0201 |
|
#define | PH_DATA_REQ 0x2001 |
|
#define | MPH_ACTIVATE_REQ 0x0501 |
|
#define | MPH_DEACTIVATE_REQ 0x0601 |
|
#define | MPH_INFORMATION_REQ 0x0701 |
|
#define | PH_CONTROL_REQ 0x0801 |
|
#define | PH_ACTIVATE_IND 0x0102 |
|
#define | PH_ACTIVATE_CNF 0x4102 |
|
#define | PH_DEACTIVATE_IND 0x0202 |
|
#define | PH_DEACTIVATE_CNF 0x4202 |
|
#define | PH_DATA_IND 0x2002 |
|
#define | PH_DATA_E_IND 0x3002 |
|
#define | MPH_ACTIVATE_IND 0x0502 |
|
#define | MPH_DEACTIVATE_IND 0x0602 |
|
#define | MPH_INFORMATION_IND 0x0702 |
|
#define | PH_DATA_CNF 0x6002 |
|
#define | PH_CONTROL_IND 0x0802 |
|
#define | PH_CONTROL_CNF 0x4802 |
|
#define | DL_ESTABLISH_REQ 0x1004 |
|
#define | DL_RELEASE_REQ 0x1104 |
|
#define | DL_DATA_REQ 0x3004 |
|
#define | DL_UNITDATA_REQ 0x3104 |
|
#define | DL_INFORMATION_REQ 0x0004 |
|
#define | DL_ESTABLISH_IND 0x1008 |
|
#define | DL_ESTABLISH_CNF 0x5008 |
|
#define | DL_RELEASE_IND 0x1108 |
|
#define | DL_RELEASE_CNF 0x5108 |
|
#define | DL_DATA_IND 0x3008 |
|
#define | DL_UNITDATA_IND 0x3108 |
|
#define | DL_INFORMATION_IND 0x0008 |
|
#define | MDL_ASSIGN_REQ 0x1804 |
|
#define | MDL_ASSIGN_IND 0x1904 |
|
#define | MDL_REMOVE_REQ 0x1A04 |
|
#define | MDL_REMOVE_IND 0x1B04 |
|
#define | MDL_STATUS_UP_IND 0x1C04 |
|
#define | MDL_STATUS_DOWN_IND 0x1D04 |
|
#define | MDL_STATUS_UI_IND 0x1E04 |
|
#define | MDL_ERROR_IND 0x1F04 |
|
#define | MDL_ERROR_RSP 0x5F04 |
|
#define | DL_TIMER200_IND 0x7004 |
|
#define | DL_TIMER203_IND 0x7304 |
|
#define | DL_INTERN_MSG 0x7804 |
|
#define | DL_INFO_L2_CONNECT 0x0001 |
|
#define | DL_INFO_L2_REMOVED 0x0002 |
|
#define | DTMF_TONE_VAL 0x2000 |
|
#define | DTMF_TONE_MASK 0x007F |
|
#define | DTMF_TONE_START 0x2100 |
|
#define | DTMF_TONE_STOP 0x2200 |
|
#define | DTMF_HFC_COEF 0x4000 |
|
#define | DSP_CONF_JOIN 0x2403 |
|
#define | DSP_CONF_SPLIT 0x2404 |
|
#define | DSP_RECEIVE_OFF 0x2405 |
|
#define | DSP_RECEIVE_ON 0x2406 |
|
#define | DSP_ECHO_ON 0x2407 |
|
#define | DSP_ECHO_OFF 0x2408 |
|
#define | DSP_MIX_ON 0x2409 |
|
#define | DSP_MIX_OFF 0x240a |
|
#define | DSP_DELAY 0x240b |
|
#define | DSP_JITTER 0x240c |
|
#define | DSP_TXDATA_ON 0x240d |
|
#define | DSP_TXDATA_OFF 0x240e |
|
#define | DSP_TX_DEJITTER 0x240f |
|
#define | DSP_TX_DEJ_OFF 0x2410 |
|
#define | DSP_TONE_PATT_ON 0x2411 |
|
#define | DSP_TONE_PATT_OFF 0x2412 |
|
#define | DSP_VOL_CHANGE_TX 0x2413 |
|
#define | DSP_VOL_CHANGE_RX 0x2414 |
|
#define | DSP_BF_ENABLE_KEY 0x2415 |
|
#define | DSP_BF_DISABLE 0x2416 |
|
#define | DSP_BF_ACCEPT 0x2416 |
|
#define | DSP_BF_REJECT 0x2417 |
|
#define | DSP_PIPELINE_CFG 0x2418 |
|
#define | HFC_VOL_CHANGE_TX 0x2601 |
|
#define | HFC_VOL_CHANGE_RX 0x2602 |
|
#define | HFC_SPL_LOOP_ON 0x2603 |
|
#define | HFC_SPL_LOOP_OFF 0x2604 |
|
#define | HW_MOD_FRM 0x4000 |
|
#define | HW_MOD_FRH 0x4001 |
|
#define | HW_MOD_FTM 0x4002 |
|
#define | HW_MOD_FTH 0x4003 |
|
#define | HW_MOD_FTS 0x4004 |
|
#define | HW_MOD_CONNECT 0x4010 |
|
#define | HW_MOD_OK 0x4011 |
|
#define | HW_MOD_NOCARR 0x4012 |
|
#define | HW_MOD_FCERROR 0x4013 |
|
#define | HW_MOD_READY 0x4014 |
|
#define | HW_MOD_LASTDATA 0x4015 |
|
#define | TONE_OFF 0x0000 |
|
#define | TONE_GERMAN_DIALTONE 0x0001 |
|
#define | TONE_GERMAN_OLDDIALTONE 0x0002 |
|
#define | TONE_AMERICAN_DIALTONE 0x0003 |
|
#define | TONE_GERMAN_DIALPBX 0x0004 |
|
#define | TONE_GERMAN_OLDDIALPBX 0x0005 |
|
#define | TONE_AMERICAN_DIALPBX 0x0006 |
|
#define | TONE_GERMAN_RINGING 0x0007 |
|
#define | TONE_GERMAN_OLDRINGING 0x0008 |
|
#define | TONE_AMERICAN_RINGPBX 0x000b |
|
#define | TONE_GERMAN_RINGPBX 0x000c |
|
#define | TONE_GERMAN_OLDRINGPBX 0x000d |
|
#define | TONE_AMERICAN_RINGING 0x000e |
|
#define | TONE_GERMAN_BUSY 0x000f |
|
#define | TONE_GERMAN_OLDBUSY 0x0010 |
|
#define | TONE_AMERICAN_BUSY 0x0011 |
|
#define | TONE_GERMAN_HANGUP 0x0012 |
|
#define | TONE_GERMAN_OLDHANGUP 0x0013 |
|
#define | TONE_AMERICAN_HANGUP 0x0014 |
|
#define | TONE_SPECIAL_INFO 0x0015 |
|
#define | TONE_GERMAN_GASSENBESETZT 0x0016 |
|
#define | TONE_GERMAN_AUFSCHALTTON 0x0016 |
|
#define | L1_SIGNAL_LOS_OFF 0x0010 |
|
#define | L1_SIGNAL_LOS_ON 0x0011 |
|
#define | L1_SIGNAL_AIS_OFF 0x0012 |
|
#define | L1_SIGNAL_AIS_ON 0x0013 |
|
#define | L1_SIGNAL_RDI_OFF 0x0014 |
|
#define | L1_SIGNAL_RDI_ON 0x0015 |
|
#define | L1_SIGNAL_SLIP_RX 0x0020 |
|
#define | L1_SIGNAL_SLIP_TX 0x0021 |
|
#define | ISDN_P_NONE 0 |
|
#define | ISDN_P_BASE 0 |
|
#define | ISDN_P_TE_S0 0x01 |
|
#define | ISDN_P_NT_S0 0x02 |
|
#define | ISDN_P_TE_E1 0x03 |
|
#define | ISDN_P_NT_E1 0x04 |
|
#define | ISDN_P_TE_UP0 0x05 |
|
#define | ISDN_P_NT_UP0 0x06 |
|
#define | IS_ISDN_P_TE(p) |
|
#define | IS_ISDN_P_NT(p) |
|
#define | IS_ISDN_P_S0(p) ((p == ISDN_P_TE_S0) || (p == ISDN_P_NT_S0)) |
|
#define | IS_ISDN_P_E1(p) ((p == ISDN_P_TE_E1) || (p == ISDN_P_NT_E1)) |
|
#define | IS_ISDN_P_UP0(p) ((p == ISDN_P_TE_UP0) || (p == ISDN_P_NT_UP0)) |
|
#define | ISDN_P_LAPD_TE 0x10 |
|
#define | ISDN_P_LAPD_NT 0x11 |
|
#define | ISDN_P_B_MASK 0x1f |
|
#define | ISDN_P_B_START 0x20 |
|
#define | ISDN_P_B_RAW 0x21 |
|
#define | ISDN_P_B_HDLC 0x22 |
|
#define | ISDN_P_B_X75SLP 0x23 |
|
#define | ISDN_P_B_L2DTMF 0x24 |
|
#define | ISDN_P_B_L2DSP 0x25 |
|
#define | ISDN_P_B_L2DSPHDLC 0x26 |
|
#define | ISDN_P_B_T30_FAX 0x27 |
|
#define | ISDN_P_B_MODEM_ASYNC 0x28 |
|
#define | OPTION_L2_PMX 1 |
|
#define | OPTION_L2_PTP 2 |
|
#define | OPTION_L2_FIXEDTEI 3 |
|
#define | OPTION_L2_CLEANUP 4 |
|
#define | OPTION_L1_HOLD 5 |
|
#define | MISDN_MAX_IDLEN 20 |
|
#define | MISDN_HEADER_LEN sizeof(struct mISDNhead) |
|
#define | MAX_DATA_SIZE 2048 |
|
#define | MAX_DATA_MEM (MAX_DATA_SIZE + MISDN_HEADER_LEN) |
|
#define | MAX_DFRAME_LEN 260 |
|
#define | MISDN_ID_ADDR_MASK 0xFFFF |
|
#define | MISDN_ID_TEI_MASK 0xFF00 |
|
#define | MISDN_ID_SAPI_MASK 0x00FF |
|
#define | MISDN_ID_TEI_ANY 0x7F00 |
|
#define | MISDN_ID_ANY 0xFFFF |
|
#define | MISDN_ID_NONE 0xFFFE |
|
#define | GROUP_TEI 127 |
|
#define | TEI_SAPI 63 |
|
#define | CTRL_SAPI 0 |
|
#define | MISDN_MAX_CHANNEL 127 |
|
#define | MISDN_CHMAP_SIZE ((MISDN_MAX_CHANNEL + 1) >> 3) |
|
#define | SOL_MISDN 0 |
|
#define | IMADDTIMER _IOR('I', 64, int) |
|
#define | IMDELTIMER _IOR('I', 65, int) |
|
#define | IMGETVERSION _IOR('I', 66, int) |
|
#define | IMGETCOUNT _IOR('I', 67, int) |
|
#define | IMGETDEVINFO _IOR('I', 68, int) |
|
#define | IMCTRLREQ _IOR('I', 69, int) |
|
#define | IMCLEAR_L2 _IOR('I', 70, int) |
|
#define | IMSETDEVNAME _IOR('I', 71, struct mISDN_devrename) |
|
#define | IMHOLD_L1 _IOR('I', 72, int) |
|
#define | MISDN_CTRL_GETOP 0x0000 |
|
#define | MISDN_CTRL_LOOP 0x0001 |
|
#define | MISDN_CTRL_CONNECT 0x0002 |
|
#define | MISDN_CTRL_DISCONNECT 0x0004 |
|
#define | MISDN_CTRL_RX_BUFFER 0x0008 |
|
#define | MISDN_CTRL_PCMCONNECT 0x0010 |
|
#define | MISDN_CTRL_PCMDISCONNECT 0x0020 |
|
#define | MISDN_CTRL_SETPEER 0x0040 |
|
#define | MISDN_CTRL_UNSETPEER 0x0080 |
|
#define | MISDN_CTRL_RX_OFF 0x0100 |
|
#define | MISDN_CTRL_FILL_EMPTY 0x0200 |
|
#define | MISDN_CTRL_GETPEER 0x0400 |
|
#define | MISDN_CTRL_L1_TIMER3 0x0800 |
|
#define | MISDN_CTRL_HW_FEATURES_OP 0x2000 |
|
#define | MISDN_CTRL_HW_FEATURES 0x2001 |
|
#define | MISDN_CTRL_HFC_OP 0x4000 |
|
#define | MISDN_CTRL_HFC_PCM_CONN 0x4001 |
|
#define | MISDN_CTRL_HFC_PCM_DISC 0x4002 |
|
#define | MISDN_CTRL_HFC_CONF_JOIN 0x4003 |
|
#define | MISDN_CTRL_HFC_CONF_SPLIT 0x4004 |
|
#define | MISDN_CTRL_HFC_RECEIVE_OFF 0x4005 |
|
#define | MISDN_CTRL_HFC_RECEIVE_ON 0x4006 |
|
#define | MISDN_CTRL_HFC_ECHOCAN_ON 0x4007 |
|
#define | MISDN_CTRL_HFC_ECHOCAN_OFF 0x4008 |
|
#define | MISDN_CTRL_HFC_WD_INIT 0x4009 |
|
#define | MISDN_CTRL_HFC_WD_RESET 0x400A |
|
#define | MISDN_CTRL_RX_SIZE_IGNORE -1 |
|
#define | MISDN_TIME_STAMP 0x0001 |
|
#define | MISDN_OPT_ALL 1 |
|
#define | MISDN_OPT_TEIMGR 2 |
|