⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pc.h

📁 linux-2.6.15.6
💻 H
📖 第 1 页 / 共 3 页
字号:
#define MAN_TRACE_IND   4#define MAN_COMBI_IND   9#define MAN_ESC         0x80/*------------------------------------------------------------------*//* return code coding                                               *//*------------------------------------------------------------------*/#define UNKNOWN_COMMAND         0x01    /* unknown command          */#define WRONG_COMMAND           0x02    /* wrong command            */#define WRONG_ID                0x03    /* unknown task/entity id   */#define WRONG_CH                0x04    /* wrong task/entity id     */#define UNKNOWN_IE              0x05    /* unknown information el.  */#define WRONG_IE                0x06    /* wrong information el.    */#define OUT_OF_RESOURCES        0x07    /* ISDN-S card out of res.  */#define ISDN_GUARD_REJ          0x09    /* ISDN-Guard SuppServ rej  */#define N_FLOW_CONTROL          0x10    /* Flow-Control, retry      */#define ASSIGN_RC               0xe0    /* ASSIGN acknowledgement   */#define ASSIGN_OK               0xef    /* ASSIGN OK                */#define OK_FC                   0xfc    /* Flow-Control RC          */#define READY_INT               0xfd    /* Ready interrupt          */#define TIMER_INT               0xfe    /* timer interrupt          */#define OK                      0xff    /* command accepted         *//*------------------------------------------------------------------*//* information elements                                             *//*------------------------------------------------------------------*/#define SHIFT 0x90              /* codeset shift                    */#define MORE 0xa0               /* more data                        */#define SDNCMPL 0xa1            /* sending complete                 */#define CL 0xb0                 /* congestion level                 */        /* codeset 0                                                */#define SMSG 0x00               /* segmented message                */#define BC  0x04                /* Bearer Capability                */#define CAU 0x08                /* cause                            */#define CAD 0x0c                /* Connected address                */#define CAI 0x10                /* call identity                    */#define CHI 0x18                /* channel identification           */#define LLI 0x19                /* logical link id                  */#define CHA 0x1a                /* charge advice                    */#define FTY 0x1c                /* Facility                         */#define DT  0x29                /* ETSI date/time                   */#define KEY 0x2c                /* keypad information element       */#define UID 0x2d                /* User id information element      */#define DSP 0x28                /* display                          */#define SIG 0x34                /* signalling hardware control      */#define OAD 0x6c                /* origination address              */#define OSA 0x6d                /* origination sub-address          */#define CPN 0x70                /* called party number              */#define DSA 0x71                /* destination sub-address          */#define RDX 0x73                /* redirecting number extended      */#define RDN 0x74                /* redirecting number               */#define RIN 0x76                /* redirection number               */#define IUP 0x76                /* VN6 rerouter->PCS (codeset 6)    */#define IPU 0x77                /* VN6 PCS->rerouter (codeset 6)    */#define RI  0x79                /* restart indicator                */#define MIE 0x7a                /* management info element          */#define LLC 0x7c                /* low layer compatibility          */#define HLC 0x7d                /* high layer compatibility         */#define UUI 0x7e                /* user user information            */#define ESC 0x7f                /* escape extension                 */#define DLC 0x20                /* data link layer configuration    */#define NLC 0x21                /* network layer configuration      */#define REDIRECT_IE     0x22    /* redirection request/indication data */#define REDIRECT_NET_IE 0x23    /* redirection network override data   */        /* codeset 6                                                */#define SIN 0x01                /* service indicator                */#define CIF 0x02                /* charging information             */#define DATE 0x03               /* date                             */#define CPS 0x07                /* called party status              *//*------------------------------------------------------------------*//* ESC information elements                                         *//*------------------------------------------------------------------*/#define MSGTYPEIE        0x7a   /* Messagetype info element         */#define CRIE             0x7b   /* INFO info element                */#define CODESET6IE       0xec   /* Tunnel for Codeset 6 IEs         */#define VSWITCHIE        0xed   /* VSwitch info element             */#define SSEXTIE          0xee   /* Supplem. Service info element    */#define PROFILEIE        0xef   /* Profile info element             *//*------------------------------------------------------------------*//* TEL_CTRL contents                                                *//*------------------------------------------------------------------*/#define RING_ON         0x01#define RING_OFF        0x02#define HANDS_FREE_ON   0x03#define HANDS_FREE_OFF  0x04#define ON_HOOK         0x80#define OFF_HOOK        0x90/* operation values used by ETSI supplementary services */#define THREE_PTY_BEGIN           0x04#define THREE_PTY_END             0x05#define ECT_EXECUTE               0x06#define ACTIVATION_DIVERSION      0x07#define DEACTIVATION_DIVERSION    0x08#define CALL_DEFLECTION           0x0D#define INTERROGATION_DIVERSION   0x0B#define INTERROGATION_SERV_USR_NR 0x11#define ACTIVATION_MWI            0x20#define DEACTIVATION_MWI          0x21#define MWI_INDICATION            0x22#define MWI_RESPONSE              0x23#define CONF_BEGIN                0x28#define CONF_ADD                  0x29#define CONF_SPLIT                0x2a#define CONF_DROP                 0x2b#define CONF_ISOLATE              0x2c#define CONF_REATTACH             0x2d#define CONF_PARTYDISC            0x2e#define CCBS_INFO_RETAIN          0x2f#define CCBS_ERASECALLLINKAGEID   0x30#define CCBS_STOP_ALERTING        0x31#define CCBS_REQUEST              0x32#define CCBS_DEACTIVATE           0x33#define CCBS_INTERROGATE          0x34#define CCBS_STATUS               0x35#define CCBS_ERASE                0x36#define CCBS_B_FREE               0x37#define CCNR_INFO_RETAIN          0x38#define CCBS_REMOTE_USER_FREE     0x39#define CCNR_REQUEST              0x3a#define CCNR_INTERROGATE          0x3b#define GET_SUPPORTED_SERVICES    0xff#define DIVERSION_PROCEDURE_CFU     0x70#define DIVERSION_PROCEDURE_CFB     0x71#define DIVERSION_PROCEDURE_CFNR    0x72#define DIVERSION_DEACTIVATION_CFU  0x80#define DIVERSION_DEACTIVATION_CFB  0x81#define DIVERSION_DEACTIVATION_CFNR 0x82#define DIVERSION_INTERROGATE_NUM   0x11#define DIVERSION_INTERROGATE_CFU   0x60#define DIVERSION_INTERROGATE_CFB   0x61#define DIVERSION_INTERROGATE_CFNR  0x62/* Service Masks */#define SMASK_HOLD_RETRIEVE        0x00000001#define SMASK_TERMINAL_PORTABILITY 0x00000002#define SMASK_ECT                  0x00000004#define SMASK_3PTY                 0x00000008#define SMASK_CALL_FORWARDING      0x00000010#define SMASK_CALL_DEFLECTION      0x00000020#define SMASK_MCID                 0x00000040#define SMASK_CCBS                 0x00000080#define SMASK_MWI                  0x00000100#define SMASK_CCNR                 0x00000200#define SMASK_CONF                 0x00000400/* ----------------------------------------------    Types of transfers used to transfer the    information in the 'struct RC->Reserved2[8]'    The information is transferred as 2 dwords    (2 4Byte unsigned values)    First of them is the transfer type.    2^32-1 possible messages are possible in this way.    The context of the second one had no meaning   ---------------------------------------------- */#define DIVA_RC_TYPE_NONE              0x00000000#define DIVA_RC_TYPE_REMOVE_COMPLETE   0x00000008#define DIVA_RC_TYPE_STREAM_PTR        0x00000009#define DIVA_RC_TYPE_CMA_PTR           0x0000000a#define DIVA_RC_TYPE_OK_FC             0x0000000b#define DIVA_RC_TYPE_RX_DMA            0x0000000c/* ------------------------------------------------------      IO Control codes for IN BAND SIGNALING   ------------------------------------------------------ */#define CTRL_L1_SET_SIG_ID        5#define CTRL_L1_SET_DAD           6#define CTRL_L1_RESOURCES         7/* ------------------------------------------------------ *//* ------------------------------------------------------      Layer 2 types   ------------------------------------------------------ */#define X75T            1       /* x.75 for ttx                     */#define TRF             2       /* transparent with hdlc framing    */#define TRF_IN          3       /* transparent with hdlc fr. inc.   */#define SDLC            4       /* sdlc, sna layer-2                */#define X75             5       /* x.75 for btx                     */#define LAPD            6       /* lapd (Q.921)                     */#define X25_L2          7       /* x.25 layer-2                     */#define V120_L2         8       /* V.120 layer-2 protocol           */#define V42_IN          9       /* V.42 layer-2 protocol, incomming */#define V42            10       /* V.42 layer-2 protocol            */#define MDM_ATP        11       /* AT Parser built in the L2        */#define X75_V42BIS     12       /* x.75 with V.42bis                */#define RTPL2_IN       13       /* RTP layer-2 protocol, incomming  */#define RTPL2          14       /* RTP layer-2 protocol             */#define V120_V42BIS    15       /* V.120 asynchronous mode supporting V.42bis compression */#define LISTENER       27       /* Layer 2 to listen line */#define MTP2           28       /* MTP2 Layer 2 */#define PIAFS_CRC      29       /* PIAFS Layer 2 with CRC calculation at L2 *//* ------------------------------------------------------   PIAFS DLC DEFINITIONS   ------------------------------------------------------ */#define PIAFS_64K            0x01#define PIAFS_VARIABLE_SPEED 0x02#define PIAFS_CHINESE_SPEED    0x04#define PIAFS_UDATA_ABILITY_ID    0x80#define PIAFS_UDATA_ABILITY_DCDON 0x01#define PIAFS_UDATA_ABILITY_DDI   0x80/*DLC of PIAFS :Byte | 8 7 6 5 4 3 2 1-----+--------------------------------------------------------   0 | 0 0 1 0 0 0 0 0  Data Link Configuration   1 | X X X X X X X X  Length of IE (at least 15 Bytes)   2 | 0 0 0 0 0 0 0 0  max. information field, LOW  byte (not used, fix 73 Bytes)   3 | 0 0 0 0 0 0 0 0  max. information field, HIGH byte (not used, fix 73 Bytes)   4 | 0 0 0 0 0 0 0 0  address A (not used)   5 | 0 0 0 0 0 0 0 0  address B (not used)   6 | 0 0 0 0 0 0 0 0  Mode (not used, fix 128)   7 | 0 0 0 0 0 0 0 0  Window Size (not used, fix 127)   8 | X X X X X X X X  XID Length, Low Byte (at least 7 Bytes)   9 | X X X X X X X X  XID Length, High Byte  10 | 0 0 0 0 0 C V S  PIAFS Protocol Speed configuration -> Note(1)     |                  S = 0 -> Protocol Speed is 32K     |                  S = 1 -> Protocol Speed is 64K     |                  V = 0 -> Protocol Speed is fixed     |                  V = 1 -> Protocol Speed is variable     |                  C = 0 -> speed setting according to standard     |                  C = 1 -> speed setting for chinese implementation  11 | 0 0 0 0 0 0 R T  P0 - V42bis Compression enable/disable, Low Byte     |                  T = 0 -> Transmit Direction enable     |                  T = 1 -> Transmit Direction disable     |                  R = 0 -> Receive  Direction enable     |                  R = 1 -> Receive  Direction disable  13 | 0 0 0 0 0 0 0 0  P0 - V42bis Compression enable/disable, High Byte  14 | X X X X X X X X  P1 - V42bis Dictionary Size, Low Byte  15 | X X X X X X X X  P1 - V42bis Dictionary Size, High Byte  16 | X X X X X X X X  P2 - V42bis String Length, Low Byte  17 | X X X X X X X X  P2 - V42bis String Length, High Byte  18 | X X X X X X X X  PIAFS extension length  19 | 1 0 0 0 0 0 0 0  PIAFS extension Id (0x80) - UDATA abilities  20 | U 0 0 0 0 0 0 D  UDATA abilities -> Note (2)     |                  up to now the following Bits are defined:     |                  D - signal DCD ON     |                  U - use extensive UDATA control communication     |                      for DDI test application+ Note (1): ----------+------+-----------------------------------------+| PIAFS Protocol      | Bit  |                                         || Speed configuration |    S | Bit 1 - Protocol Speed                  ||                     |      |         0 - 32K                         ||                     |      |         1 - 64K (default)               ||                     |    V | Bit 2 - Variable Protocol Speed         ||                     |      |         0 - Speed is fix                ||                     |      |         1 - Speed is variable (default) ||                     |      |             OVERWRITES 32k Bit 1        ||                     |    C | Bit 3   0 - Speed Settings according to ||                     |      |             PIAFS specification         ||                     |      |         1 - Speed setting for chinese   ||                     |      |             PIAFS implementation        ||                     |      | Explanation for chinese speed settings: ||                     |      |         if Bit 3 is set the following   ||                     |      |         rules apply:                    |

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -