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

📄 envopt.h

📁 中国石油二期加油站IC系统后台通讯软件
💻 H
📖 第 1 页 / 共 5 页
字号:
/* 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 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 LamCfgReq */
/* #define AMOPT_PART_MSG_DEC  1  Enable partial decoding */

#ifdef AMOPT_PART_MSG_DEC
#define AM_PART_MSG_DEC  1  /* Enable 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 is disabled */

/* #define DBECLIAAL     debug output enabled for lower interface */

/* management interface, lec, choose none or more */

/* #define LCECMILEC     loosely coupled, layer management */

/* 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 LCECLM     1    /* loosely coupled, layer management */
#else
#ifdef TCLM             /* backward compatilbility, layer management */
/* choose all */

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

/* #define TCECLM           tightly coupled, layer management */
#define LCECLM  1       /* loosely coupled, layer management */
#endif
#endif

/* debug mngmt interface, choose one or none, default is debug output disabled */

/* #define DBECMILEC     debug output enabled for mngmt interface */

/* interface flags, chosen automatically */

#ifdef LCECUIECM

#ifndef LCECM    
#define LCECM      1    /* define LC flag for ECM interface */
#endif

#endif /* LCECUIECM */

#ifdef LCECLIAMT

#ifndef LCAMT    
#define LCAMT      1    /* define LC flag for AMT interface */
#endif

#endif /* LCECLIAMT */

#ifdef LCECLIAAL

#ifndef LCAAL
#define LCAAL  1    /* define LC flag for AAL interface */
#endif

#endif /* LCECLIAAL */

#if (LCECM || LCAMT || LCAAL || LCECLM)

#ifndef LCATM
#define LCATM      1    /* define LC flag for ATM stack */
#endif

#endif

/* product specific options */

/* type, chosen automatically */

#ifndef ATM
#define ATM 1              /* ATM stack */
#endif

/* #define EC_PROXY               enable proxy interface */

/* #define EC_SRC_ROUTE           enable source routing */

/* #define EC_SRC_LEARN           enable source learning */

/* #define EC_GEN_NARPREQ         enable NARP request generation */

#endif /* EC */

#ifdef ES       /* ATM LAN Emulation Services (LE Services) */

/**************************************************************************
   ATM LAN Emulation Services (LE Services) parameters
**************************************************************************/

/* interfaces */

/* layer management options, choose none */
 
#ifndef LMINT2
#define LMINT2          /* layer management interface 2 */
#endif

/* lower Q.93B interface, choose one or none, default is tightly coupled */

/* #define LCESLIAMT     loosely coupled Q.93B layer */

/* debug lower Q.93B interface, choose one or none, default is disabled */

/* #define DBESLIAMT     debug output enabled for lower Q.93B interface */

/* lower AAL interface, choose one or none, default is tightly coupled */

/* #define LCESLIAAL     loosely coupled AAL layer */

/* debug lower AAL interface, choose one or none, default is disabled */

/* #define DBESLIAAL     debug output enabled for lower AAL interface */

/* management interface, les, choose none or more */

/* #define LCESMILES     loosely coupled, layer management */

/* 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 LCESLM     1    /* loosely coupled, layer management */
#else
#ifdef TCLM             /* backward compatilbility, layer management */
/* choose all */

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

/* #define TCESLM           tightly coupled, layer management */
#define LCESLM  1       /* loosely coupled, layer management */
#endif
#endif

/* debug mngmt interface, choose one or none, default is debug output disabled */

/* #define DBESMILES     debug output enabled for mngmt interface */

/* interface flags, chosen automatically */

#ifdef LCESLIAMT

#ifndef LCAMT    
#define LCAMT      1    /* define LC flag for AMT interface */
#endif

#endif /* LCESLIAMT */

#ifdef LCESLIAAL

#ifndef LCAAL
#define LCAAL  1    /* define LC flag for AAL interface */
#endif

#endif /* LCESLIAAL */

#if (LCAMT || LCAAL || LCESLM)

#ifndef LCATM
#define LCATM      1    /* define LC flag for ATM stack */
#endif

#endif

/* product specific options */

/* type, chosen automatically */

#ifndef ATM
#define ATM 1              /* ATM stack */
#endif

#endif /* ES */

#ifdef UM       /* ume */

/**************************************************************************
   ATM UME layer parameters
**************************************************************************/

⌨️ 快捷键说明

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