📄 envopt.h
字号:
#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
/* Modified from IN to QN by Spine.zhang for support Windows platform */
#ifdef QN /* Q.93x */
/**************************************************************************
q.930/q.931 parameters
**************************************************************************/
/* product version, choose one */
#define ISDN_3_8_PLUS /* Code version 3.10 & above */
#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 */
/* #define LCUICMINT loosely coupled common functions. */
/* layer management options */
/* 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 LCINLM loosely coupled, layer management */
/*#else
#ifdef TCLM backward compatilbility, layer management */
/* choose all */
/*#define TCINLM tightly coupled, layer management */
/*#else tightly or loosely coupled, layer management */
/* choose none or one */
/*#define TCINLM tightly coupled, layer management */
/*#define LCINLM loosely coupled, layer management */
/*#endif
#endif*/
#ifdef LCINLM
#ifndef LCLIN
#define LCLIN 1
#endif /* LCLIN */
#endif /* LCINLM */
#ifdef IN_LMINT3
#undef IN_LMINT3
#define IN_LMINT3 1
#endif
/* 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 TR6 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 */
/* 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
/* 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
**************************************************************************/
/* management interface, lzq */
/* #define LCSMZQMILZQ stack manager loosely coupled to PSF-ISDN (FT/HA) */
/* #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 */
#define FN_LMINT3 /* FN uses LMINT3 code
* If this flag is enabled, enable SMFN_LMINT3
* in #ifdef SM section
* If this flag is disabled, disable SMFN_LMINT3
* in #ifdef SM section
*/
#ifdef LMINT3
#ifdef FN_LMINT3
#undef FN_LMINT3
#define FN_LMINT3 1
#endif /* FN_LMINT3 */
#endif /* LMINT3 */
/* #define LCFNMILFN loosely coupled, layer management */
/* Also enable LCSMFNMILFN under #ifdef SM if SM to FN is to
* be loosely coupled
*/
/* Options chosen must be consistent with product delivered */
/* PVC MANAGEMENT PRODUCT SPECIFIC OPTIONS */
/* Select only if LMI procedures are to be enabled */
/* #define FN_LMI enable LMI product operation */
#ifdef FN_LMI
/* Enable procedures at the switch */
#ifndef NETSIDE
#define NETSIDE /* network side options */
#endif /* #ifndef NETSIDE */
#ifdef NETSIDE
/* Select only if PVC multicast operation required */
#define FN_MCAST /* Multcast procedures */
/* Enable the flag FN_MULTIPLE_LMI_ENTITIES if using PVCs that switch
across multiple cards */
#define FN_MULTIPLE_LMI_ENTITIES
#endif /* #ifdef NETSIDE */
#endif /* #ifdef FN_LMI */
/* SIGNALLING PRODUCT SPECIFIC OPTIONS */
/* #define FN_SIG enable signalling product operation */
#ifdef FN_SIG
/* Select UNI signalling */
/* #define FN_UNI Enable UNI signalling */
#ifdef FN_UNI
/* Select Q933 Case and Case B signalling procedures */
#define FN_Q933SW /* Enable Q.933 procedures */
#ifdef FN_Q933SW
/* Select NFAS procedures */
/* #define FN_NFAS Enable NFAS operation */
#define Q933 1
#endif /* #ifdef FN_Q933SW */
/* Select X36 signalling procedures */
#define FN_X36 /* Enable X36 procedures */
#ifdef FN_X36
#define X36 1
#endif /* #ifdef FN_X36 */
/* Select FRF4 signalling procedures */
#define FN_FRF4 /* Enable FRF4 procedures */
#ifdef FN_FRF4
#define FRF4 1
#endif /* #ifdef FN_FRF4 */
#endif /* #ifdef FN_UNI */
/* Select NNI signalling */
/* #define FN_NNI Enable NNI signalling */
#ifdef FN_NNI
/* Select X76 signalling procedures */
#define FN_X76 /* Enable X76 procedures */
#ifdef FN_X76
#define X76 1
#endif /* #ifdef FN_X76 */
/* Select FRF10 signalling procedures */
#define FN_FRF10 /* Enable FRF10 procedures */
#ifdef FN_FRF10
#define FRF10 1
#endif /* #ifdef FN_FRF10 */
#endif /* #ifdef FN_NNI */
/* Enable User side procedures of UNI */
/* #define USRSIDE user side */
/* Enable Network side procedures of UNI */
#ifndef NETSIDE
/* #define NETSIDE network side */
#endif /* #ifndef NETSIDE */
/* Select to enable SAP routing procedures */
/* #define FN_ROUTE routing used */
/* Select to enable call Accounting procedures */
/* #define FN_ACNT Enable accounting code compilation */
#endif /* #ifdef FN_SIG */
/* Select following Debug option to enable message display */
/* #define FN_DBGMSGDSPLY Enable outgoing and incoming message display */
/* Select Debug option to enable message decode or encode error display */
/* #define FN_DBGMSGERR Enable message decode or encode error display */
#endif /* #ifdef FN */
#ifdef VF /* V5 Integrated Layer 3 */
/**************************************************************************
V5 Integrated Layer 3
**************************************************************************/
/* interfaces */
/* upper interface, choose none or more */
/* #define LCVFUIVFT loosely coupled, v5 Integarted Layer 3*/
/* lower interface, data link, choose none or more */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -