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

📄 envopt.acc

📁 gsm map协议源代码
💻 ACC
📖 第 1 页 / 共 5 页
字号:
#define PROC_PPC60X    /* 60X Power PC */
#define PROC_PPC       /* Power PC */

#define ENB_RELAY
#ifdef RY_ENBRAW
#undef RY_ENBRAW
#endif /* RY_ENBRAW */
#define RY_ENBRAW

#define CCPPC            /* GNU Compiler */
#define PC_PPC604        /* FORCE Power Core 604 Board */
#define PC_PPC60X        /* FORCE Power Core 60X Board */
 

#endif /* ELVIS_PPC604 */
#endif /* ELVIS_APP */
#endif /* ELVIS_STACK */
#endif /* ELVIS_68040 */
#endif /* ELVIS_68360 */
#endif /* ELVIS_PPC860 */
#endif /* ELVIS_68302 */

#ifdef QUICCADS
#define PROC_68360
#endif /* QUICCADS */

#ifdef PQUICCADS
#define ELVIS_PPC          /* Flag for the architecture */
#define PROC_PPC860        /* Denotes the processor type */
#define PROC_PPC
#define CCPPC               /* Denotes which compiler is used */
#define PQ_PPC860           /* Force Power Quicc 860 Board */
#endif /* PQUICCADS */
 

#ifdef INTNT_PMC860
/**************************************************************************
   Integrated Windows NT SS7/PMC860 Platform 
**************************************************************************/
#define STKID_INTNT_PMC860_KERNEL  0x01  /* stack id for the kernel stack */
#define MAX_USER_SPACE_STKS        0x06  /* six user space stks are possible */
#define MAX_USER_SPACE_APPS        0x0f  /* 15 applications are possible */

#define SS7_NTUK_DEV_NAME   "td_ss7_uk"
#define SS7_NTKH_DEV_NAME   "td_ss7_kh"
#define DEV_NAMELEN          10

#ifdef INTNT_PMC860_USER
#define NS                   /* System services provider */
#define NU                   /* NTSS user space */
#define SS                   /* Common system servies */
#define RY_ENBNTUK        1  /* relay user-kernel */
#define RY_ENBNTUK_SLV       /* user space is slave */
#define RY_ENBNTMMAP         /* enable user-app relay */
#define RYDEBUG              /* enable relay debugging */

#define USER_UK_RELAY_CHANID        0x0
#define USER_UA_RELAY_LOW_CHANID    (USER_UK_RELAY_CHANID + 1)
#define USER_UA_RELAY_HIGH_CHANID   (USER_UA_RELAY_LOW_CHANID + \
                                     + MAX_USER_SPACE_APPS)
#endif /* INTNT_PMC860_USER */

#ifdef INTNT_PMC860_APP
#define NTSSLIB              /* System services provider */
#define ENB_RELAY            /* enable relay */
#define RYDEBUG              /* enable relay debugging */
#define RY_ENBNTMMAP         /* enable user-app relay */
#define RYINT1               /* relay new interface */
#define SSRYLIB              /* mmap relay */

/* duplicated here from hw.h */
#define VC_CS_LEN       0xA000     /* run checksum on 1st 40k of vcm image */
#define IP_CS_LEN       0xA000     /* run checksum on 1st 40k of ipm image */

#define APP_UA_RELAY_LOW_CHANID   0x0
#define APP_UA_RELAY_HIGH_CHANID  MAX_USER_SPACE_STKS
#endif /* INTNT_PMC860_APP */

#ifdef INTNT_PMC860_KERNEL
#define NS                   /* System services provider */
#define NK                   /* NTSS kernel space */
#define SS                   /* Common system servies */
#define RYDEBUG              /* enable relay debugging */
#define RY_ENBNTUK        1  /* enable use-kernel relay */
#define RY_ENBNTUK_MST       /* user space is slave */
#define RY_ENBNTKH        1  /* relay kernel-hardware */

/* 
 * select this option only if the software has already 
 * been burnt in 
 */
#define PMC860_BOOTABLE          /* software is already loaded */
#define FRC_PMC860          1    /* enable the hardware defines */
#define KERNEL_RYREGION     1    /* kernel relay region */
#define INTNT_PMC860_BOARD0 0    /* Force PMC860 board-0 */
#define INTNT_PMC860_BOARD1 1    /* Force PMC860 board-1 */

/* The following are the channel ranges reserved */
#define KERNEL_KH_RELAY_LOW_CHANID    1 
#define KERNEL_KH_RELAY_HIGH_CHANID   MAXBRDS  
#define KERNEL_UK_RELAY_LOW_CHANID    (KERNEL_KH_RELAY_HIGH_CHANID + 1)
#define KERNEL_UK_RELAY_HIGH_CHANID   (KERNEL_UK_RELAY_LOW_CHANID + \
                                       MAX_USER_SPACE_STKS)

#undef WINNT_IATM             /* don't include older defines */

#endif /* INTNT_PMC860_KERNEL */

#ifdef INTNT_PMC860_IP
#define MSVER2             /* System services provider */
#define RYINT1             /* relay new interface */
#define ENB_RELAY          /* enable relay */
#define RY_ENBRAW          /* relay user-kernel */
#define RYDEBUG              /* enable relay debugging */
#define PROC_PPC860        /* Denotes the processor type */
#define PROC_PPC           /* General Power PC */
#define PQ_PPC860          /* Force Power Quicc 860 Board */
#define FRC_PMC860          1    /* enable the hardware defines */

#endif /* INTNT_PMC860_IP */

#endif /* INTNT_PMC860 */

#ifdef MT       /* unix - multi-threaded */
/**************************************************************************
   unix - multi-threaded system services
**************************************************************************/

/* product version, choose one */
#define MT_SOL                  /* Solaris Thread Architecture */
/* #define MT_AIX                AIX Thread Architecture */
/* #define MT_WNT                Windows NT Thread Architecture */
/* ...                           any others? */

#endif /* MT */


#ifdef AP       /* asynchronous pad */
/**************************************************************************
   asynchronous pad parameters
**************************************************************************/

/* product version, choose one */
 
#ifndef APVER2
#define APVER2         /* asynchronous pad, version 2.x */
#endif
 
#define L3VER2         /* isdn, version 2.x */

/* interfaces */

#define MACVER2        /* in order to include mac.x file */

/* lower interface, x.25 network, choose none or more */

/* #define LCAPLIXNT     loosely coupled, x.25 network layer */
/* #define BCLIXNT       backward compatibility, x.25 network layer */

/* lower interface, mac, choose none or more */

/* #define LCAPLIMAC     loosely coupled, mac layer */
/* #define BCLIMAC       backward compatibility, mac layer */

/* upper interface, application, choose none or more for host PAD only */

/* #define LCAPUIAPL     loosely coupled, application */
/* #define BCUIAPL       backward compatibility, application */

/* layer management options */
/* #define LCAPMILAP          loosely coupled, layer management */

/* LCLM or TCLM chosen above, if LCLM or TCLM not chosen */
/* then choose none or one within else */

#ifdef LCLM             /* backward compatilbility, layer management */
/* choose all */

#define LCAPLM          /* loosely coupled, layer management */
#else
#ifdef TCLM             /* backward compatilbility, layer management */
/* choose all */

#define TCAPLM          /* tightly coupled, layer management */
#else                   /* tightly or loosely coupled, layer management */
/* choose none or one */

#define TCAPLM          /* tightly coupled, layer management */
/* #define LCAPLM           loosely coupled, layer management */
#endif
#endif

/* product specific options */

/* pad type, choose one */

#define TPAD         /* terminal pad */
/* #define HPAD          host pad */

#endif


#ifdef IN       /* Q.93x */
/**************************************************************************
   q.930/q.931 parameters
**************************************************************************/

/* product version, choose one */

#define ISDN_3_8_PLUS  /* Code version 3.10 & above */

/* enable ISDN_3_8_PLUS if INT2 is enabled */
#ifdef INT2 
#ifndef ISDN_3_8_PLUS
#define ISDN_3_8_PLUS 
#endif 
#endif /* INT2 */

/*#define INT_OLD_DEFINES      use old defines in int.h */
/*#define LIN_OLD_DEFINES      use old defines in lin.h */

#define BDVER2

#define INVER2         /* isdn, version 2.x */
 
#define ANVER2         /* isdn, version 2.x */

#define L3VER2         /* isdn, version 2.x */

/* #define IN_OLD_BIND  Use Old Method for Binding */

#define IN_LMINT3      /* If this flag is enabled also enable
                            SMIN_LMINT3 under ifdef SM */
/* interfaces */

/* upper interface, isdn network, choose none or more */
/* #define LCINUIINT      loosely coupled, isdn network layer */

/* lower interface, data link, choose none or more */
/* #define LCINLIDAT      loosely coupled, data link layer */

/* layer management interface */
/* #define LCINMILIN      loosely coupled, layer manager */

/* Q.931 upper interface */
#ifdef LCINUIINT
#ifndef LCINT
#define LCINT  1
#endif /* LCINT */
#endif /* LCINUIINT */

/* Q.931 lower interface */
#ifdef LCINLIDAT
#ifndef LCDAT
#define LCDAT  1
#endif /* LCDAT */
#endif /* LCINLIDAT */

/* Q.931 layer manager interface */
#ifdef LCINMILIN
#ifndef LCLIN
#define LCLIN  1
#endif /* LCLIN */
#endif /* LCINMILIN */

#ifdef IN_LMINT3
#undef IN_LMINT3
#define IN_LMINT3 1
#endif /* IN_LMINT3 */

/* product specific options */

/* side, choose one or more */
/* must agree with options delivered */

#define USRSIDE       /*user side, option 1 or option 3 */
#define NETSIDE       /*network side, option 2 or option 3 */

/* Option for ITUT-88 standard - used in bearcapability encoding/decoding */
 
/* #define ITUT88      ITU-T 88 - for Bearer Capability */

/* switch variants, choose none or more */
/* must agree with options delivered */
/* if applicable, must agree with x.31, isup switch variants */

/*#define ATT            att 4ess and 5ess, option 11 */
/*#define NT             northern telecomm dms-100, option 12 */
/*#define VN             vn 2 and vn 3, france, option 13 */
/*#define ETSI           etsi, europe, option 14 */ 
/*#define AUS            AUS, australian, option 15 */ 
/*#define NI1            national isdn 1, north america, option 16 */ 
/*#define NTT            ins net, japan, option 17 */
/*#define INTR6          1 - TR6, german, option 18 */
/*#define ATT5E          att 5ess, option 19 */
/*#define ATT4E          att 4ess, option 20 */
/*#define VN2            vn 2, france, option 21 */
/*#define VN3            vn 3, france, option 22 */
/*#define NTDMS250       northern telecom dms-250, option 23 */
/*#define BC303          bellcore tr-303, tmc and csc, option 24 */
/*#define BC303TMC       bellcore tr-303, tmc , option 25 */
/*#define BC303CSC       bellcore tr-303, csc, option 26 */
/*#define Q932           q.932 option, option 27 */
/*#define NI2            national isdn 2, north america, option 28 */ 
/*#define QSIG           etsi qsig, option 29 */
/*#define NTNI           nt ni, option 31 */
/*#define NTMCI          nt mci, option 32 */
/*#define NTSPRINT       nt dms-250 sprint */

/* variant, choose all */

#ifdef ATT              /* att */
#define ATT5E           /* att 5ess, option 19 */
#define ATT4E           /* att 4ess, option 20 */
#endif

#ifdef VN3              /* vn 3 */
#define VN              /* vn 2 and vn 3, france, option 13 */
#endif

#ifdef VN               /* vn */
#define VN2             /* vn 2, france, option 21 */
#define VN3             /* vn 3, france, option 22 */
#endif

#ifdef BC303            /* bellcore tr-303 */
#define BC303TMC        /* bellcore tr-303, tmc , option 25 */
#define BC303CSC        /* bellcore tr-303, csc, option 26 */
#endif

/* features, choose none or more */

/*#define ISDN_SEGMENT  1   message segmentation and reassembly option */
/*#define ISDN_BRI      1   basic rate interface option */
#define ISDN_PRI      1   /* primary rate interface option */
/*#define ISDN_ROUTE    1   routing procedures provided */
/*#define ISDN_OVERLAP  1   overlap sending/receiving provided */
/*#define ISDN_UTU      1   user to user procedures provided */
/*#define ISDN_FACILITY 1   facility procedures provided */
/*#define ISDN_SRV      1   service procedures provided */
/*#define ISDN_NFAS     1   nfas procedures provided */
/*#define ISDN_SUSPEND  1   suspend/resume procedures provided */
/*#define ISDN_HOLD     1   hold/retrieve procedures provided */
/*#define DECODCDSET    1   decode network and user specific codeset 6 and 7 */
                         /* elements into individual elements vs. string */
#define MF_IN         1  /* For MF purposes */

#ifdef NETSIDE 
#define ISDN_PTMPT    1  /* ISDN Point to Multipoint. */
#endif /* NETSIDE */

#ifdef Q932
#ifndef ISDN_HOLD
#define ISDN_HOLD     1  /* hold procedures provided */
#endif
#ifndef ISDN_FACILITY
#define ISDN_FACILITY 1  /* facility procedures provided */
#endif
#endif

#ifdef NI2
/*#define NI2_BCAS          NI2 B channel service procedure */
/*#define NI2_TREST         NI2 TREST timer */
/*#define IN_NW_NMB         pass network number (station id) to call control */
#endif 

/*#define ISDN_RLNK         send STATENQ msg after date link reestablishment */
/*#define ISDN_SNDRSTIND    send IntRstInd to layer 4 after recving RST msg */
/*#define IN_RSCIND         send resource indication to QW */
/*#define IN_INSRV_ALARM    send alarm to LM when a D chan becomes IN SRV */

/*#define IN_FTHA           Enables SHT interface for Q.930/Q.931 */

/* data link interface type, choose one */
/* if applicable, must agree with lapb, lapd, lapb and lapd, basic frame
   relay or extended frame relay data link interface type */

#define DATINT1      /* data link interface 1 */
/* #define DATINT2       data link interface 2 */

#endif /* IN */

#ifdef ZQ       /* PSF - Q.931 (FT/HA) */
/**************************************************************************
   PSF - Q.931 parameters
**************************************************************************/

#define ISDN_3_10_PLUS      /* Q.930/Q.931 code version 3.11 and above */
/* management interface, lzq */

/* #define LCZQMILZQ        PSF-ISDN loosely coupled to stack manager */

#endif /*ZQ*/


#ifdef FN       /* Q.933/LMI */
/**************************************************************************
   Q.933/LMI parameters
**************************************************************************/

/* product version, choose one */
 

/* interfaces */

/* upper interface, Q.933 network, choose none or both */

/* #define LCUICMINT      loosely coupled, Q.933/Q.930 common functions */
/* #define LCFNUIFNT      loosely coupled, Q933 network layer */
#ifdef LCFNUIFNT
#define LCANLIFNT        /* Loosely coupled layer4 to FN */
#endif

/* lower interface, data link, choose none or more */

/* Select one or both */
/* #define LCFRLIFRD      loosely coupled, any layer to FR layer, 
                          common functions */
/* #define LCFRUIFRD      loosely coupled, layer 2 to any layer */

#ifdef LCFRUIFRD
#ifndef LCFR
#define LCFR              /* enable LCFR - loosely coupled flag */
#endif
#endif /* #ifdef LCFRUIFRD */

#ifdef LCFRLIFRD
#ifndef LCFR
#define LCFR              /* enable LCFR - loosely coupled flag */
#endif
#endif /* #ifdef LCFRLIFRD */

/* layer management options */

⌨️ 快捷键说明

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