📄 pubdef.hpp
字号:
#define OAM_OPERATE_PROC_GETPARA 0x0059 // Add 2005-02-02, by Lushengsheng.#define OAM_TRACE 0x0060 // 0x0080, modify 2005-01-26, by Wujianjin.#define OAM_CLEARSOCK 0x0081#define OAM_STATISTICS 0x0070#define OAM_REGISTER_ACK 0x0071#define OAM_DEREGISTER_ACK 0x0072#define OAM_DREQUEST 0x0073#define OAM_DREQUEST_ACK 0x0074#define OAM_DATA_SYNSTART 0x0075#define OAM_DATA_SYNSTOP 0x0076#define OAM_DATA_SYNREQ 0x0077// ### Add 2005-01-26, jerry huang#define OAM_DATAQUERY_L3CIR 0x0061 // jerry#define OAM_CONFIG_PM_MSI 0x0062 // jerry, for move, for change#define OAM_DATAQUERY_PM_MSI 0x0063 // jerry, for move, for change#define OAM_CONFIG_PM_PREFIX 0x0064 // jerry, for move, for change#define OAM_DATAQUERY_PM_PREFIX 0x0065 // jerry, for move, for change#define OAM_CONFIG_PM_LISUP 0x0066 // jerry, for move, for change#define OAM_DATAQUERY_PM_LISUP 0x0067 // jerry, for move, for change#define OAM_CONFIG_PM_PCMMAP 0x0068 // jerry, for move, for change#define OAM_DATAQUERY_PM_PCMMAP 0x0069 // jerry, for move, for change#define OAM_QUERY_CFGVER 0x006A // jerry, for move, for change// #define OAM_STATQUERY_PSB 0x006B // jerry, for move, for change// #define OAM_STATQUERY_MTP2_LINK 0x006C // jerry, for move, for change// #define OAM_STATQUERY_STACK 0x006D // jerry, for move, for change#define OAM_QUERY_ALRM_LOG 0x006E // jerry, for move, for change#define OAM_STATQUERY_MAR_PROCS 0x006F //jerry, for move, for change// ### End ###//Sysman Message#define SYSMGR_IPC_REGISTER 0x0001#define SYSMGR_IPC_REGISTER_ACK 0x0002#define SYSMGR_IPC_DEREGISTER 0x0003#define SYSMGR_IPC_DEREGISTER_ACK 0x0004#define SYSMGR_IPC_STARTTIMER 0x0010#define SYSMGR_IPC_STOPTIMER 0x0011#define SYSMGR_IPC_TIMEREXP 0x0012#define SYSMGR_IPC_VERIFY_TIMER 0x0013 // Add 2005-01-10, by Wujianjin.#define SYSMGR_IPC_CHECKPROC 0x0020#define SYSMGR_IPC_CHECKQUE 0x0021#define SYSMGR_IPC_CHECKTIMER 0x0022#define SYSMGR_IPC_DISPQUE 0x0023#define SYSMGR_IPC_GET_PROC_STAT 0x0024#define SYSMGR_IPC_PROC_STAT 0x0025#define SYSMGR_IPC_PROC_STAT_END 0x0026 // Add 2004-12-24, by Wujianjin.#define SYSMGR_IPC_MODSTART 0x0050#define SYSMGR_IPC_MODDOWN 0x0051#define SYSMGR_IPC_TCPSTART 0x0052#define SYSMGR_IPC_TCPDOWN 0x0053#define SYSMGR_IPC_SUSPEND 0x0054#define SYSMGR_IPC_RESUME 0x0055#define SYSMGR_IPC_SHUTDOWN 0x0056#define SYSMGR_IPC_SHUTDOWN_ACK 0x0057#define SYSMGR_IPC_HEARTBEAT 0x0058#define SYSMGR_IPC_HEARTBEAT_ACK 0x0059#define SYSMGR_IPC_CHECK_ALIVE 0x005a#define SYSMGR_IPC_CHECK_ALIVE_ACK 0x005b#define SYSMGR_IPC_SET_STAT 0x005c#define SYSMGR_IPC_SYNREQ 0x005d#define SYSMGR_IPC_SYNMSG 0x005e#define SYSMGR_IPC_SYNEND 0x005f#define SYSMGR_IPC_TIMERSYN 0x004f#define SYSMGR_IPC_EXIT_IND 0x0060#define SYSMGR_IPC_EXIT_ACK 0x0061#define SYSMGR_IPC_QUIT_REQ 0x0062#define SYSMGR_IPC_QUIT_ACK 0x0063#define SYSMGR_IPC_NODE_DOWN 0x0064#define SYSMGR_IPC_NODE_UP 0x0065#define SYSMGR_IPC_CONNECT_STAT 0x0066#define SYSMGR_IPC_RAWMSG 0x0067#define SYSMGR_IPC_QUEUE_ALARM 0x0068#define SYSMGR_IPC_QUEUE_EXCEED 0x0069#define SYSMGR_IPC_RECVQUE_ALARM 0x006a#define SYSMGR_IPC_STATUS_REQ 0x006b#define SYSMGR_IPC_STATUS_IND 0x006c#define SYSMGR_IPC_SETTIME 0x006d#define SYSMGR_IPC_MOD_STAT_REQ 0x006e // Add 2005-01-04, by Wujianjin.#define SYSMGR_IPC_MOD_STAT_IND 0x006f // Add 2005-01-04, by Wujianjin.#define SYSMGR_IPC_SYSMGR_DOWN 0x0070 // Add 2005-01-06, by Wujianjin.#define SYSMGR_IPC_TRACE_CMD 0x0071 // Add 2005-02-05, by Wujianjin.#define SYSMGR_SYS_SHUTDOWN 0x0072 // Add 2005-06-06, by Wujianjin. Shutdown the LINUX system.#define SYSMGR_SYS_SHUTDOWN_ACK 0x0073 // Add 2005-06-06, by Wujianjin. Shutdown the LINUX system.///////////////////////////////////// Information Element//////////////////////////////////#define PSG_IE_NID 0x00 // Node ID, 2 byte , PSG#define PSG_IE_IPADDR 0x01 // IP Address, 4 byte , PSG#define PSG_IE_IPPORT 0x02 // IP Port, 2 byte, PSG#define PSG_IE_RMID 0x03 // Real Module ID, 4 byte,#define PSG_IE_LMID 0x04 // Logical Module ID, 2 byte,#define PSG_IE_PCMID 0x05 // PCM Trunk ID, 2 byte#define PSG_IE_TS 0x06 // Time Slot (1~31), 1 byte#define PSG_IE_TSID 0x06 // Same as PSG_IE_TS. Add 2005-06-06, by Wujianjin.// #define PSG_IE_CGR 0x07 // Circuit Group (Range), 1 byte // Delete 2005-06-02, by Wujianjin.#define PSG_IE_STACKID 0x08 // signaling STACK ID, 1 byte#define PSG_IE_LINKID 0x09 // signaling LINK ID, 2 byte#define PSG_IE_LSID 0x0A // signaling Link Set ID, 2 byte#define PSG_IE_ROUTEID 0x0B // signaling ROUTE ID, 2 byte#define PSG_IE_RSID 0x0C // signaling Route Set ID, 2 byte // Delete 2005-06-02, by Wujianjin.// #define PSG_IE_LPCID 0x0D // Local signaling Point Code ID, 2 byte // Delete 2005-06-02, by Wujianjin.#define PSG_IE_DPCID 0x0E // Destination Point Code ID, 2 byte#define PSG_IE_DSPID 0x0E // Destination signaling point ID, 2 byte. // Add 2005-06-02, by Wujianjin.#define PSG_IE_PC 0x0F // signaling Point Code, 4 byte#define PSG_IE_CIC 0x10 // Circuit Identifier Code, 2 byte#define PSG_IE_TIME 0x11 // TIME stamp, 4 byte#define PSG_IE_SPNAME 0x12 // Signaling Point NAME, no longer than 30 byte#define PSG_IE_SPTYPE 0x13 // Signaling Point TYPE, 1 byte#define PSG_IE_ADJSP 0x14 // is ADJacent Signaling Point (?) 1 byte#define PSG_IE_NROUTE 0x15 // Number of ROUTE, 1 byte#define PSG_IE_SNTYPE 0x16 // Signaling Network TYPE, 1 byte // Delete 2005-06-02, by Wujianjin.#define PSG_IE_SLTYPE 0x17 // Signaling Link TYPE, 1 byte#define PSG_IE_SLC 0x18 // Signaling Link Code, 1 byte#define PSG_IE_PSBID 0x19 // Programable Signaling Board ID, 1 byte#define PSG_IE_SLTID 0x1A // Signaling Link Termial ID, 1 byte#define PSG_IE_NCIRCUIT 0x1B // Number CIRCUIT, 1 byte// #define PSG_IE_OPRC 0x1C // OPeRate Code, 2 byte // Delete 2005-06-02, by Wujianjin.#define PSG_IE_ALMC 0x1D // ALarM Code, 2 byte#define PSG_IE_TUPH0 0x1E // TUP message Header Code 0, 1 byte#define PSG_IE_H0 0x1E // Same as PSG_IE_TUPH0. Add 2005-01-24, by Wujianjin.#define PSG_IE_TUPH1 0x1F // TUP message Header Code 1, 1 byte#define PSG_IE_H1 0x1F // Same as PSG_IE_TUPH1. Add 2005-01-24, by Wujianjin.#define PSG_IE_SPSTA 0x20 // Signaling Point STAtus, 2 byte#define PSG_IE_LINKSTA 0x21 // LINK STAtus, 2 byte#define PSG_IE_LSSTA 0x22 // Link Set STAtus, 2 byte#define PSG_IE_RSTA 0x23 // Route Set STAtus, 2 byte#define PSG_IE_LI 0x24 // msu Length Indicator, 2 byte#define PSG_IE_SI 0x25 // msu Service Indicator, 1 byte#define PSG_IE_UPID 0x25 // Same to SI, add 2005-01-28, by Wujianjin.#define PSG_IE_SSF 0x26 // msu Sub-Service Field, 1 byte#define PSG_IE_MSU 0x27 // MSU detail message (SIO+SIF), 2 byte#define PSG_IE_TMRID 0x28 // TiMeR ID, 2 byte#define PSG_IE_TMRVAL 0x29 // TiMeR VALue. (Length of the timer -- in 10ms), 4 byte#define PSG_IE_MSG 0x2A // General MeSsaGe, char string, no longer than 512 byte#define PSG_IE_SS7_VER 0x2B // SS7 version,1 Byte#define PSG_IE_OPERATOR_ID 0x2C // 4Bytes#define PSG_IE_CIC_TYPE 0x2D // 1Byte,0-TUP 1-ISUP#define PSG_IE_SSC 0x2E// 1bytes#define PSG_IE_DPC 0x30 // Signaling Point Code 4Bytes#define PSG_IE_OPC 0x31// 4bytes#define PSG_IE_TRACE_CMD 0x32// 1bytes#define PSG_IE_CONGEST 0x33// 1bytes#define PSG_IE_PID 0x34// 4bytes#define PSG_IE_PROC_NAME 0x35// 30bytes#define PSG_IE_PROC_NICE 0x36// 1bytes#define PSG_IE_STA_CMD 0x37// 1byte,0-cpu 1-mem 2-disp 3-queue#define PSG_IE_STA_VAL 0x38// 8byte#define PSG_IE_PROC_CAUSE 0x39// 1byte#define PSG_IE_RPRO 0x3a// 1byte#define PSG_IE_PC_FORMAT 0x3b// 1#define PSG_IE_CIRSTA 0x3c// 64#define PSG_IE_PROCSTA 0x3d// 1#define PSG_IE_MSGTYPE 0x3e// 2#define PSG_IE_TRACE_ID 0x3f#define PSG_IE_PTLID 0x40 // Protocol ID. Add 2005-01-24, by Wujianjin.#define PSG_IE_EVIND 0x41 // event.what. Add 2005-01-24, by Wujianjin.#define PSG_IE_EVCOD 0x42 // event.evCode. Add 2005-01-24, by Wujianjin.#define PSG_IE_IPLINK 0x43 // TCP/IP link id. Add 2005-01-24, by Wujianjin.#define PSG_IE_PRIO 0x44 // Priority. Add 2005-01-24, by Wujianjin.#define PSG_IE_CLDPRTCTG 0x45 // Called party category. Add 2005-01-24, by Wujianjin.#define PSG_IE_SLID 0x46 // Soruce logical module ID. Add 2005-01-24, by Wujianjin.#define PSG_IE_DLID 0x47 // Destination logical module ID. Add 2005-01-24, by Wujianjin.// ### Add 2005-01-26, jerry huang.#define PSG_IE_CONFIRM 0x48 // jerry#define PSG_IE_CAI 0x49 // jerry#define PSG_IE_PREFIX 0x4A#define PSG_IE_MAX_ADDR 0x4B#define PSG_IE_MIN_ADDR 0x4C#define PSG_IE_ADDR_ATTR 0x4D#define PSG_IE_ROLE 0x4E // (4 bytes)#define PSG_IE_AREA 0x4F // (char [8], 8 bytes)#define PSG_IE_CFGVER 0x50 // 2 bytes, ushort#define PSG_IE_14PCM 0x51 // (2 bytes)#define PSG_IE_PSBSTAT 0x52 // (80 bytes)#define PSG_IE_MAR_PROCS 0x53 // jerry, for move, 12 bytes// ### End ####define PSG_IE_CFIND 0x54 // Call fail indication, 1 byte. Add 2005-01-28, by Wujianjin.#define PSG_IE_CIR_STRUCT 0x60#define PSG_IE_CG_IND 0x61#define PSG_IE_USER2 0x62 // Add 2005-02-02, by Lushengsheng.#define PSG_IE_STATUS 0x63 // Any status. Add 2005-06-06, by Wujianjin.#define PSG_IE_USER1 0x71#define PSG_IE_SLS 0x72// 1#define PSG_IE_CNT 0x73#define PSG_IE_CRM_IND 0x74// 1#define PSG_IE_TCP_HEARTBEAT_TIMER1 0x77#define PSG_IE_TCP_HEARTBEAT_TIMER2 0x78// ISUP/TUP IE start#define PSG_IE_ACCDLVINF 0x80 // Access Delivery Information#define PSG_IE_ACCTRN 0x81 // Access Transport#define PSG_IE_AUTOCNGLVL 0x82 // Automatic Congestion#define PSG_IE_BCKCALLIND 0x83 // Backward Call Indicator#define PSG_IE_CALLDVSINF 0x84 // Call Diversion Information#define PSG_IE_CALLHSTINF 0x85 // Call History Information#define PSG_IE_CALLRFR 0x86 // Call Reference#define PSG_IE_CLDPRTNUM 0x87 // Called Party Number#define PSG_IE_CLNPRTNUM 0x88 // Calling Party Number#define PSG_IE_CLNPRTCTG 0x89 // Calling Party Category#define PSG_IE_CAUSEIND 0x8a // Cause Indicator#define PSG_IE_CGPSPVIND 0x8b // Circuit group supervision message type indicator#define PSG_IE_CCTSTATEIND 0x8c // Circuit State Indicator#define PSG_IE_CLSUSRGRP 0x8d // Closed User Group Interlock Code#define PSG_IE_CONNUM 0x8e // Connected Number#define PSG_IE_CONREQ 0x8f // Connection request#define PSG_IE_MCIDRSPIND 0x90 // MCID response Indicator#define PSG_IE_MSGCMPIND 0x91 // Message Compatibility Indicator#define PSG_IE_MLPPPRC 0x92 // MLPP Precedence#define PSG_IE_NTRCONIND 0x93 // Nature of Connection Indicator#define PSG_IE_NTWSPCFCL 0x94 // Network Specific Facility#define PSG_IE_OPTBCKCALLIND 0x95 // Optional backward call indicators#define PSG_IE_OPTFWDCALLIND 0x96 // Optional forward call indicators#define PSG_IE_ORGCLDNUM 0x97 // Original Called Number#define PSG_IE_ORGISCPC 0x98 // Origination ISC Point Code#define PSG_IE_PARACOMPINFO 0x99 // Parameter compatibility Information#define PSG_IE_PRPDELAYCNT 0x9a // Propagation Delay Counter#define PSG_IE_RNGSTATUS 0x9b // Range and Status#define PSG_IE_REDNGNUM 0x9c // Redirecting Number#define PSG_IE_REDIRINF 0x9d // Redirection Information#define PSG_IE_REDIRNUM 0x9e // Redirection Number#define PSG_IE_REDIRNUMRSTR 0x9f // Redirection Number Restriction#define PSG_IE_RMTOPR 0xa0 // Remote Operation#define PSG_IE_SRVACT 0xa1 // Service Activation#define PSG_IE_SPC 0xa2 // Signaling Point Code#define PSG_IE_SUBNUM 0xa3 // Subsequent Number#define PSG_IE_RESSUSIND 0xa4 // Resume and Suspend Indication#define PSG_IE_TRNNTWSLC 0xa5 // Transit Network Selection#define PSG_IE_TRNMDMRQR 0xa6 // Transmission Medium Requirement#define PSG_IE_TRNMDMRQRP 0xa7 // Transmission medium requirement prime#define PSG_IE_TRNMDMUSE 0xa8 // Transmission medium used#define PSG_IE_USRSRVINF 0xa9 // User Services Information#define PSG_IE_USRSRVINFP 0xaa // User Services Information Prime#define PSG_IE_USRTELSRVINF 0xab // User Teleservices Information#define PSG_IE_USRTOUSRIND 0xac // User-to-user Indication#define PSG_IE_USRTOUSRINF 0xad // User-to-user Information#define PSG_IE_WMSGIND 0xae // 2Bytes,Message Indication,in IAM/IAI#define PSG_IE_BMSGIND 0xd0 // 1 Bytes,Message Indication,in ACM#define PSG_IE_ADDRCNT 0xaf // Address Count#define PSG_IE_FSTIND 0xb0 // the first Indicator#define PSG_IE_RSPTYPEIND 0xb1 // Respond type indicator#define PSG_IE_ITTXID 0xb2 // Incoming trunk and transit exchange identity#define PSG_IE_REQTYPEIND 0xb3 // Request type indicator#define PSG_IE_OCTIND 0xb4 // Octet indicator#define PSG_IE_ADDRIND 0xbb // Address Indicator#define PSG_IE_ADDRSGN 0xb5 // Address Signal#define PSG_IE_CLNLINEID 0xb6 // Calling Line Idendity#define PSG_IE_NATUSE 0xb7 // National use#define PSG_IE_ADDCLNPRTINF 0xb8 // Additional calling party information#define PSG_IE_ADDROUTEINF 0xb9 // Additional routing information#define PSG_IE_CRGINF 0xba // Charge information#define PSG_IE_COTIND 0xc0 // Continuity Indicator#define PSG_IE_ECHOINF 0xc1 // Echo Control Information#define PSG_IE_ENDOPT 0xc2 // Eed of Optional Parameters#define PSG_IE_EVENTINF 0xc3 // Event Information#define PSG_IE_FACIND 0xc4 // Facility Indicator#define PSG_IE_FWDCALLIND 0xc5 // Forward Call Indicator#define PSG_IE_FREECALLIND 0xc6 // Freecall Indicator#define PSG_IE_GNRDGT 0xc7 // Generic Digit#define PSG_IE_GNRIND 0xc8 // Generic Notification Indicator // Information#define PSG_IE_GNRNUM 0xc9 // Generic Number#define PSG_IE_GNRRFR 0xca // Generic Reference#define PSG_IE_HOPCNT 0xcb // Hop Counter#define PSG_IE_INFIND 0xcc // Information Indicator#define PSG_IE_INFRQSIND 0xcd // Information Request Indicator#define PSG_IE_LCTNUM 0xce // Location Number#define PSG_IE_MCIDRQSIND 0xcf // MCID Request Indicator// ISUP/TUP IE end// LAPD IE start/*#define PSG_IE_L3_SNDCMP 0xbb // Send Conplete#define PSG_IE_L3_RPTIND 0xbc // Repeat Indication#define PSG_IE_L3_BEARCAPB 0xbd // Bearer Capability#define PSG_IE_L3_CALLIND 0xbe // Call Indentity#define PSG_IE_L3_CALLSTA 0xbf // Call Status#define PSG_IE_L3_CHNIND 0xc0 // Channel Indication#define PSG_IE_L3_PROCIND 0xc1 // Call Procsess Indication#define PSG_IE_L3_NWSE 0xc2 // Network Specific Equipment#define PSG_IE_L3_NOTEIND 0xc3 // Notify Indication#define PSG_IE_L3_DISP 0xc4 // Display#define PSG_IE_L3_DATE 0xc5 // Time and Date#define PSG_IE_L3_KB 0xc6 // Keyboard#define PSG_IE_L3_CLNPRTNUM 0xc7 // Calling Party Number#define PSG_IE_L3_CLDPRTNUM 0xc8 // Called Party Number#define PSG_IE_L3_CLNPRTSNUM 0xc9 // Calling Party Sub_Number#define PSG_IE_L3_CLDPRTSNUM 0xca // Called PartySub_Number#define PSG_IE_L3_NWTS 0xcb // Network Transit Selection#define PSG_IE_L3_LLC 0xcc // Low Level Compatability#define PSG_IE_L3_HLC 0xcd // High Level#define PSG_IE_L3_RSIND 0xce // Restart Indication#define PSG_IE_DSS1ID 0xcf // DLID 0xcf // LAPD Link ID, modify 2005-01-26, by Wujianjin.*///LAPD IE End#define IPC_QUEUE_KEYID 10000//message ack#define OAM_ACK_OK 0x0000#define OAM_ACK_ERROR 0x0001#define OAM_ACK_ECRC 0x0002#define OAM_ACK_EMSGTYPE 0x0003#define OAM_ACK_EIETYPE 0x0004#define OAM_ACK_EMSGLEN 0x0005#define OAM_ACK_EIELEN 0x0006#define OAM_ACK_UNEXPIE 0x0007#define OAM_ACK_EMISSINGIE 0x0008#define OAM_ACK_EIECONTENT 0x0009#define OAM_ACK_EPCMID 0x000a#define OAM_ACK_ETS 0x000b#define OAM_ACK_EIP 0x000c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -