📄 envopt.acc
字号:
#define LCATM 1
#endif
#endif /* LCPCI */
/* type, chosen automatically */
#ifndef ATM
#define ATM /* for message functions */
#endif
#ifndef SIG_PNNI
#define SIG_PNNI 1
#define DEF_SIG_PNNI 1
#endif
#endif
#ifdef AM /* Q.93B */
/**************************************************************************
Q.93B parameters
**************************************************************************/
/* switch variants, choose none or more, default is ATM Forum UNI v3.0/1 */
/* must agree with options delivered */
/* Q.2931 option */
/* #define Q2931 ITU-T Q.2931 & Q.2971 code enabled */
#ifndef Q2931
#define DEF_Q2931 0
#else
#define DEF_Q2931 1
#endif /* Q2931 */
/* PNNI Signalling options */
/* #define SIG_PNNI PNNI Signalling code enabled */
#ifndef SIG_PNNI
#define DEF_SIG_PNNI 0
#else
#define DEF_SIG_PNNI 1
#endif /* SIG_PNNI */
/* AINI Signalling options */
/* #define SIG_AINI AINI Signalling code enabled */
#ifndef SIG_AINI
#define DEF_SIG_AINI 0
#else
#define DEF_SIG_AINI 1
#endif /* SIG_AINI */
/* UNI 4.0 option */
/* #define UNI40 ATM Forum UNI ver 4.0 enabled */
#ifndef UNI40
#define DEF_UNI40 0
#else
#define DEF_UNI40 1
/* #define LIJ Leaf Initiated Join capabiltity */
#ifndef LIJ
#define DEF_LIJ 0
#else
#define DEF_LIJ 1
#endif /* LIJ */
#endif /* UNI40 */
/* IISP - UNI 3.0 options */
/* #define IISP_UNI30 IISP based on UNI 3.0 */
#ifndef IISP_UNI30
#define DEF_IISP_UNI30 0
#else
#define DEF_IISP_UNI30 1
#endif /* IISP_UNI30 */
/* IISP - UNI 3.1 options */
/* #define IISP_UNI31 IISP based on UNI 3.1 */
#ifndef IISP_UNI31
#define DEF_IISP_UNI31 0
#else
#define DEF_IISP_UNI31 1
#endif /* IISP_UNI31 */
/* layer management options, choose none */
#ifndef LMINT2
#define LMINT2 /* layer management interface 2 */
#endif
/* upper interface, choose one or none, default is tightly coupled */
/* #define LCAMUIAMT loosely coupled upper layer */
/* lower interface, choose one or none, default is tightly coupled */
/* #define LCAMLIASD loosely coupled data link layer */
/* management interface, lam, choose none or more */
/* #define LCAMMILAM loosely coupled, layer management */
#ifdef LCAMMILAM
#ifdef LCLAM
#undef LCLAM
#endif
#define LCLAM 1 /* define LC flag for LAM interface */
#endif /* LCAMMILAM */
/* 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 */
#ifndef LCLAM
#define LCLAM 1 /* loosely coupled, layer management */
#endif
#else
#ifdef TCLM /* backward compatilbility, layer management */
/* Nothing to choose in Q.93B for TC flag! */
#endif
#endif
/* interface flags, chosen automatically */
#ifdef LCAMUIAMT
#ifndef LCAMT
#define LCAMT 1 /* define LC flag for AMT interface */
#endif
#endif /* LCAMUIAMT */
#ifdef LCAMLIASD
#ifndef LCASD
#define LCASD 1 /* define LC flag for ASD interface */
#endif
#endif /* LCAMLIASD */
#if (LCAMT || LCASD || LCLAM)
#ifndef LCATM
#define LCATM 1 /* define LC flag for ATM stack */
#endif
#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 to support Signalling of AAL2 Parameters for Q2931, UNI40
or PNNI (One of these must be selected for this option) */
/* #define AMOPT_AAL2 Option to support Signalling of AAL2 Parameters */
/* Option to support MDCR for UNI40, PNNI or AINI (One of these must be
* selected for this option) */
/* #define DEF_ADD_MDCR 1 Option to support MDCR */
/* Option to support Trillium CORE2 FT/HA */
/* #define AM_FTHA 1 Option to support CORE2 FT/HA */
/* Option to support soft PVC for PNNI or AINI (One of these must be
* selected for this option) */
/* #define SPVC_FR 1 Option to support soft PVC */
/* Option to send STATUS on optional IE error */
/* #define AMOPT_STAT_ON_OPT_ELEM_ERR 1 Send STATUS on optional IE error */
#ifdef AMOPT_STAT_ON_OPT_ELEM_ERR
/* #define AM_STAT_ON_OPT_ELEM_ERR 1 Send STATUS on optional IE error */
#endif /* AMOPT_STAT_ON_OPT_ELEM_ERR */
/* type, chosen automatically */
#ifndef ATM
#define ATM 1 /* ATM stack */
#endif
/* defines for message partial decoding */
/* #define AMOPT_PART_MSG_DEC 1 Enable partial decoding */
#ifdef AMOPT_PART_MSG_DEC
#define AM_PART_MSG_DEC 1 /* Enable partial decoding */
#else
#define AM_PART_MSG_DEC 0 /* Disable partial decoding */
#endif /* AMOPT_PART_MSG_DEC */
/* accounting enable option */
/* #define AM_ACNT enable accounting by Q.93B */
#ifndef AM_ACNT
#define DEF_AM_ACNT 0
#else
#define DEF_AM_ACNT 1
#endif /* AM_ACNT */
/* Option to enable routing feature between SAPs */
/* #define AMOPT_ROUTING */
#ifdef AMOPT_ROUTING
#define DEF_AMOPT_ROUTING 1
#else /* AMOPT_ROUTING */
#define DEF_AMOPT_ROUTING 0
#endif /* AMOPT_ROUTING */
/* Option to enable calling party number insertion feature */
/* #define AMOPT_CPTYINS */
#ifdef AMOPT_CPTYINS
#define DEF_AMOPT_CPTYINS 1
#else /* AMOPT_CPTYINS */
#define DEF_AMOPT_CPTYINS 0
#endif /* AMOPT_CPTYINS */
/* Option to avoid copying of message buffer before
* decoding incoming message, if message buffer implementation
* is such that whole message can be accessed same as contiguous
* array of U8
* Same is also true for encode side
*/
/* #define AMOPT_SINGLE_DBUF_MSG */
#ifdef AMOPT_SINGLE_DBUF_MSG
#define DEF_AMOPT_SINGLE_DBUF_MSG 1
#else /* AMOPT_SINGLE_DBUF_MSG */
#define DEF_AMOPT_SINGLE_DBUF_MSG 0
#endif /* AMOPT_SINGLE_DBUF_MSG */
/* Option to avoid following checks for outgoing calls
* (AmtXXXReq, AmtXXXRsp primitives)
* You can turn this flag on if you are sure that the
* layer 4 is reliable enough to avoid following error
* checks
* 1. Skip checking enumerated value associated with
* each token in AmAllPdu received from layer4.
* 2. Check if there is mismatch in pres flag of token
* and token's default value.
*/
/* #define AMOPT_XTRACHECKS */
#ifdef AMOPT_XTRACHECKS
#define DEF_AMOPT_XTRACHECKS 1
#else
#define DEF_AMOPT_XTRACHECKS 0
#endif /* AMOPT_XTRACHECKS */
/* Option to use SAddMsgRef system service call instead of
* SCpyMsgMsg call to make a copy of SETUP message for
* retransmission purpose when timer T303 expires.
*
* For details, refer System Services Service Definition
* documentation
*
* WARNING :- Please make 100% sure that your SAddMsgRef
* implementation does not do another copy before turning
* on this flag, otherwise performance will degrade.
*/
/* #define AMOPT_MSGREFIMPLTD */
/* Optional status handling, call not released on implementation
* dependent conditions. It gives status confirm to Service user,
* irrespective of the cause. Service user is responsible to decide
* whether to release the call if optional Ie is not implemented down
* the line.
*/
/* #define AMOPT_EXPOSE_STATHNDL Optional status handling, call not released
* on implementation dependent conditions
*/
/* Option to enable the IISP user
* side also to allocate a VCC. If not
* enabled then only the network
* side for the IISP can allocate the
* VCC, as per the specifications
*/
/* #define AMOPT_IISP_USRALLOCVCC */
/* interfaces */
/* LAM Interface options */
/*#define AM_LMINT3 */ /* AM uses LMINT3 code *
* If this flag is enabled, enable SMAM_LMINT3 *
* in #ifdef SM section */
#ifdef LMINT3
#ifdef AM_LMINT3
#undef AM_LMINT3
#define AM_LMINT3 1
#endif
#endif
/* AMT Interface options */
/* Option to share memory between service user and
* service provider (Q.93B)
*/
/* #define AMTOPT_ALLPDUSHM */
/* Option to implement Restart Response at the
* AMT Interface, The Layer4 will have to generate
* AmtRstRsp if this flag is turned on
*/
/* #define AMTOPT_RSTRSP */
/* AMT2 flag needs to be defined to enable
* the bind confirm primitive at AMT interface
* This enables acknowledgement of AmtBndReq
* Primitive
* Also with this option an additional parameter
* is needed for the AmtStaReq and AmtStaCfm
* Primitives to implement local status enquiry.
*/
/* #define AMT2 1 */
/* ASD Interface Options */
/* #define ASD2 1 */ /* Use ASD Interface with Bind Confirm implemented */
#endif /* AM */
#ifdef ZM /* PSF - Q.93B (FT/HA) */
/**************************************************************************
PSF - Q.93B parameters
**************************************************************************/
#undef ZM
#define ZM 1
/******************* section to be changed by CUSTOMERS ******************/
/* management interface, lzm */
/* #define LCZMMILZM loosely coupled, layer management */
/* The following flag must be turned-on if the customer chooses to
implement it's own packing-unpacking functions for update messages */
/* #define CUSTENV */
/* Note : Make sure that the flag AM_LMINT3 in #ifdef AM section
and SMAM_LMINT3 in #ifdef SM section above as well as
flag LMINT3 above are also turned-on */
#endif /* ZM */
#ifdef EC /* ATM LAN Emulation Client (LEC) */
/**************************************************************************
ATM LAN Emulation Client (LEC) parameters
**************************************************************************/
/* interfaces */
/* layer management options, choose none */
#ifndef LMINT2
#define LMINT2 /* layer management interface 2 */
#endif
/* upper interface, choose one or none, default is tightly coupled */
/* #define LCECUIECM loosely coupled upper layer */
/* debug upper interface, choose one or none, default is disabled */
/* #define DBECUIECM debug output enabled for upper interface */
/* lower Q.93B interface, choose one or none, default is tightly coupled */
/* #define LCECLIAMT loosely coupled data link layer */
/* debug lower Q.93B interface, choose one or none, default is disabled */
/* #define DBECLIAMT debug output enabled for lower interface */
/* lower AAL interface, choose one or none, default is tightly coupled */
/* #define LCECLIAAL loosely coupled data link layer */
/* debug lower AAL interface, choose one or none, default
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -