📄 envopt.h
字号:
/* upper interface, data link, choose none or more */
/* #define LCASUIASD 1 loosely coupled, data link layer */
/* upper interface, Q.2110, choose none or more */
/* #define LCASUIASI 1 loosely coupled, Q.2110 layer */
/* lower interface, aal, choose none or more */
/* #define LCASLIAAL 1 loosely coupled, aal layer */
/* management interface, las, choose none or more */
/* #define LCASMILAS 1 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 LCASLM 1 /* loosely coupled, layer management */
#else
#ifdef TCLM /* backward compatilbility, layer management */
/* choose all */
#define TCASLM /* tightly coupled, layer management */
#else /* tightly or loosely coupled, layer management */
/* choose none or one */
/* #define TCASLM tightly coupled, layer management */
/* #define LCASLM 1 loosely coupled, layer management */
#endif
#endif
/* interface flags, chosen automatically */
#ifdef LCASUIASD
#ifndef LCASD
#define LCASD 1 /* define LC flag for ASD interface */
#endif
#endif /* LCASUIASD */
#ifdef LCASUIASI
#ifndef LCASI
#define LCASI 1 /* define LC flag for ASI interface */
#endif
#endif /* LCASUIASI */
#ifdef LCASLIAAL
#ifndef LCAAL
#define LCAAL 1 /* define LC flag for AAL interface */
#endif
#endif /* LCASLIAAL */
#ifdef LCASMILAS
#ifndef LCLAS
#define LCLAS 1 /* define LC flag for layer management interface */
#endif
#endif /* LCASLILAS */
#if (LCASD || LCASI || LCAAL || LCASLM)
#ifndef LCATM
#define LCATM 1 /* define LC flag for ATM stack */
#endif
#endif
/* product specific options */
/* q.saal option to expose Q.2110 interface, choose one or none */
#define ASOPT_EXPOSE_Q2110 1 /* q.saal option to expose Q.2110 interface */
/* q.saal option to allow power-up robustness as defined in atmf/97-0216 */
#define AS_POWER_UP_ROBUST 1
/* q.saal option to compile UNI3.0 code*/
#define ASOPT_QSAAL1_2 1 /* q.saal option to compile UNI3.0 code*/
/* q.saal option to compile UNI3.1 code*/
#define ASOPT_Q21x0 1 /* q.saal option to compile UNI3.1 code*/
/* q.saal option to compile IDLE state of dlc */
#define ASOPT_IDLE_LINK 1 /* q.saal option to compile IDLE state of dlc */
/* type, chosen automatically */
#ifndef ATM
#define ATM 1 /* ATM stack */
#endif
#ifdef LMINT3
#ifdef AS_LMINT3
#undef AS_LMINT3
#define AS_LMINT3 1
#endif /* AS_LMINT3 */
#endif /* LMINT3 */
/* use old bind method */
/* #define AS_OLD_BIND 1*/
#endif /* AS */
#ifdef PN /* PNNI */
/**************************************************************************
ATM PNNI parameters
**************************************************************************/
#undef PN
#define PN 1
/* Q.93B Upper Interface */
/* #define AMT2 1 AMT2 interface with bind confirm */
/* PNNI Upper Interface */
/* #define PCI2 1 PCI2 interface with bind confirm */
/* AAL Upper Interface */
/* #define AALINT3 1 AAL upper interface with bind confirm*/
/*** Interface Backward Compatibility Options ***/
/* #define PN_LMINT3 PN uses LMINT3 code */
/* If this flag is enabled, enable SMPN_LMINT3
* in #ifdef SM section
* If this flag is disabled, disable SMPN_LMINT3
* in #ifdef SM section
*
* This flag should be turned off for pre LMINT3
* interface.
*/
#ifdef LMINT3
#ifdef PN_LMINT3
#undef PN_LMINT3
#define PN_LMINT3 1
#endif /* PN_LMINT3 */
#endif /* LMINT3 */
/* layer management options, choose none */
#ifndef LMINT2
#define LMINT2 /* layer management interface 2 */
#endif
/* PGL capable pnni */
/* #define PGLCAPABLE 1 PGL capable pnni */
/* Border Node capable pnni */
/* #define BORDERNODE 1 Border Node capable pnni */
/* Specify Port number in DTL or not */
/* #define SPEC_PORT_IN_DTL 1 Specify port in DTL ?? */
/* lower interface, amt, choose none or more */
/* #define LCPNLIAMT 1 loosely coupled, amt layer */
/* lower interface, aal, choose none or more */
/* #define LCPNLIAAL 1 loosely coupled, aal layer */
/* upper interface, pci, choose none or more */
/* #define LCPNUIPCI 1 loosely coupled, pci layer */
/* management interface, lpn, choose none or more */
/* #define LCPNMILPN 1 loosely coupled, layer management */
/* interface flags, chosen automatically */
#ifdef LCPNLIAMT
#ifndef LCAMT
#define LCAMT 1 /* define LC flag for AMT interface */
#endif
#endif /* LCPNLIAMT */
#ifdef LCPNLIAAL
#ifndef LCAAL
#define LCAAL 1 /* define LC flag for AAL interface */
#endif
#endif /* LCPNLIAAL */
#ifdef LCPNUIPCI
#ifndef LCPCI
#define LCPCI 1 /* define LC flag for PCI interface */
#endif
#endif /* LCPNLIPCI */
#ifdef LCPNMILPN
#ifndef LCLPN
#define LCLPN 1 /* define LC flag for AAL interface */
#endif
#endif /* LCPNLILPN */
#if (LCAMT || LCAAL || LCLPN || LCPCI)
#ifndef LCATM
#define LCATM 1 /* define LC flag for ATM stack */
#endif
#endif
/* product specific options */
/* debugging flags: compiles in dump functions */
/* #define DBGTDSPN 1 */
/* type, chosen automatically */
/* #define HASH_OPEN_ADDRESSING 1 use hash function with open addressing */
#ifndef ATM
#define ATM 1 /* ATM stack (Q.93B, Q.SAAL, UME, AAL) */
#endif
#ifndef SIG_PNNI
#define SIG_PNNI 1
#define DEF_SIG_PNNI 1
#endif
#endif /* PN */
#ifdef PU /* ATM PNNI User */
/**************************************************************************
ATM PNNI User parameters
**************************************************************************/
#undef PU
#define PU 1
/* interfaces */
/* lower interface, AMT, choose none or more */
/* #define LCPULIAMT loosely coupled, signalling lower layer */
/* lower interface, data link, choose none or more */
#ifdef LCPULIAMT
#ifndef LCAMT
#define LCAMT 1
#endif
#endif /* LCPULIAMT */
/* lower interface, data link, choose none or more */
/* #define LCPULIPCI loosely coupled, dummy pnni user lower layer */
#ifdef LCPULIPCI
#ifndef LCPCI
#define LCPCI 1
#endif
#endif /* LCPULIPCI */
#if (LCPCI)
#ifndef LCATM
#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 */
/* 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 */
/* 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 */
/* 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -