📄 gen.h
字号:
#define AM_CV_AALPARMUNSUPP 93 /* UNI 3.0:AAL paramteres cannot be supported */
#define AM_CV_INFOELMSSG 96 /* mandatory info element is missing */
#define AM_CV_MSGTYPNOTIMPL 97 /* message type not implemented */
#define AM_CV_INFOELNOTIMPL 99 /* info element not implemented */
#define AM_CV_INVINFOEL 100 /* invalid info element */
#define AM_CV_MSGNOTCOMP 101 /* msg type not compatible with call st */
#define AM_CV_TMRRCVRY 102 /* recovery on timer expiry */
#define AM_CV_INVMSGLEN 104 /* incorrect message length */
#define AM_CV_PROTERR 111 /* protocol error, unspecified */
#define AM_CV_OPTELMERR 127 /* opt info el content error (non-std) */
#define AM_CV_NOROUTNEXTNODE 128 /* next node unreachable */
#define AM_CV_DTLNOTMYNODE 160 /* DTL Transit not my node ID */
/* AAL type */
#define AM_AALTYP_0 0x00 /* AAL for voice */
#define AM_AALTYP_1 0x01 /* AAL type 1 */
#define AM_AALTYP_2 0x02 /* AAL type 2 */
#define AM_AALTYP_34 0x03 /* AAL type 3/4 */
#define AM_AALTYP_5 0x05 /* AAL type 5 */
#define AM_AALTYP_USR 0x10 /* user defined AAL */
/* AAL type 1 - identifiers */
#define AM_AAL1_ID_STYPE 0x85 /* AAL Subtype ID */
#define AM_AAL1_ID_CBR 0x86 /* CBR Rate ID */
#define AM_AAL1_ID_MULT 0x87 /* Multiplier Identifier */
#define AM_AAL1_ID_SCFRM 0x88 /* Source Clock Freq. Recovery Method Id */
#define AM_AAL1_ID_ECM 0x89 /* Error correction Method Id */
#define AM_AAL1_ID_SDTB 0x8A /* Structured Data Transfer Blocksize Id */
#define AM_AAL1_ID_PFC 0x8B /* Partially filled cells Id */
/* AAL type 1 subtypes */
#define AM_AAL1_STYPE_NULL 0x00 /* Null/Empty */
#define AM_AAL1_STYPE_VOICE 0x01 /* Voice-band based on 64 kbit/s */
#define AM_AAL1_STYPE_SCKT 0x02 /* Synchronous circuit Emulation */
#define AM_AAL1_STYPE_ACKT 0x03 /* Asynchronous circuit Emulation */
#define AM_AAL1_STYPE_HQAUD 0x04 /* High Quality Audio */
#define AM_AAL1_STYPE_VIDEO 0x05 /* Video */
/* AAL type 1 CBR rates */
#define AM_AAL1_CBR_64 0x01 /* 64 kbit/s */
#define AM_AAL1_CBR_1544 0x04 /* 1544 kbit/s (DS1) */
#define AM_AAL1_CBR_6312 0x05 /* 6312 kbit/s (DS2) */
#define AM_AAL1_CBR_32064 0x06 /* 32064 kbit/s */
#define AM_AAL1_CBR_44736 0x07 /* 44736 kbit/s (DS3) */
#define AM_AAL1_CBR_97728 0x08 /* 97728 kbit/s */
#define AM_AAL1_CBR_2048 0x10 /* 2048 kbit/s (E1) */
#define AM_AAL1_CBR_8448 0x11 /* 8448 kbit/s (E2) */
#define AM_AAL1_CBR_34368 0x12 /* 34368 kbit/s (E3) */
#define AM_AAL1_CBR_139264 0x13 /* 139264 kbit/s */
#define AM_AAL1_CBR_nx64 0x40 /* n x 64 kbit/s */
#define AM_AAL1_CBR_nx8 0x41 /* n x 8 kbit/s */
/* AAL type 1 Clock recovery types */
#define AM_AAL1_SCFRM_NULL 0x00 /* Null */
#define AM_AAL1_SCFRM_SRTS 0x01 /* Synchronous Residual Time Stamp */
#define AM_AAL1_SCFRM_ACR 0x02 /* Adaptive clock Recovery */
/* AAL type 1 Error Correction types */
#define AM_AAL1_ECM_NULL 0x00 /* NULL */
#define AM_AAL1_ECM_FEC 0x01 /* Interleaved FEC */
#define AM_AAL1_ECM_DSST 0x02 /* For delay sensitive signal transport */
/* AAL type 1 Structured Data Transfer */
#define AM_AAL1_SDTB_NULL 0x00 /* NULL */
#define AM_AAL1_SDTB_SDT 0x01 /* Structured Data Transfer */
/* AAL type 5 & 3/4 - identifiers */
#define AM_AAL5_ID_FMSDU 0x8c /* forward maximum CPCS SDU size id */
#define AM_AAL5_ID_BMSDU 0x81 /* backward maximum CPCS SDU size id */
#define AM_AAL5_ID_MIDRNG 0x82 /* Mid Range Id */
#define AM_AAL5_ID_MODE 0x83 /* mode identifier */
#define AM_AAL5_ID_SSCS 0x84 /* SSCS type identifier */
/* AAL type 5 & 3/4 - mode of operation */
#define AM_AAL5_MODE_MSG 0x01 /* message mode */
#define AM_AAL5_MODE_STREAM 0x02 /* streaming mode */
/* AAL type 5 - SSCS type */
#define AM_AAL5_SSCS_NULL 0x00 /* null SSCS */
#define AM_AAL5_SSCS_SSCOP_A 0x01 /* SSCOP assured mode SSCS */
#define AM_AAL5_SSCS_SSCOP_N 0x02 /* SSCOP non-assured mode SSCS */
#define AM_AAL5_SSCS_FR 0x04 /* frame relay SSCS */
/* bearer class */
#define AM_BCOB_A 0x01 /* bearer class A */
#define AM_BCOB_C 0x03 /* bearer class C */
#define AM_BCOB_X 0x10 /* bearer class X */
/* timing requirement */
#define AM_TMGREQ_NOIND 0 /* no indication */
#define AM_TMGREQ_ETOEREQ 1 /* end-to-end timing required */
#define AM_TMGREQ_ETOENOTREQ 2 /* end-to-end timing not required */
/* traffic type */
#define AM_TFCTYP_NOIND 0 /* no indication */
#define AM_TFCTYP_CBR 1 /* constant bit rate */
#define AM_TFCTYP_VBR 2 /* variable bit rate */
/* user plane connection configuration */
#define AM_CONCFG_PTPT 0 /* point to point */
#define AM_CONCFG_PTMPT 1 /* point to multipoint */
/* susceptability to clipping */
#define AM_SUSCLP_NO 0 /* not susceptible to clipping */
#define AM_SUSCLP_YES 1 /* susceptible to clipping */
/* layer 1 identity */
#define AM_L1_IDENT 0x01 /* layer 1 identity */
/* layer 2 identity */
#define AM_L2_IDENT 0x02 /* layer 2 identity */
/* layer 3 identity */
#define AM_L3_IDENT 0x03 /* layer 3 identity */
/* user information layer 1 */
#define AM_UIL1_CCITTV110 0x01 /* CCITT Standardized Rate Adaptation V.110/X.30. */
#define AM_UIL1_G711ULAW 0x02 /* Reccomendation G.711 u-Law */
#define AM_UIL1_G711ALAW 0x03 /* Recommendation G.711 A-Law */
#define AM_UIL1_G721ADCPM 0x04 /* Recommendation G.721 32 kbit/s ADCPM and */
/* Recommendation I.460 */
#define AM_UIL1_G722G725 0x05 /* Recommendation G.722 and G.725 - 7kHz Audio */
#define AM_UIL1_H261 0x06 /* Recommendation H.261 - 384 kbit/s Video */
#define AM_UIL1_NONCCITT 0x07 /* Non-CCITT standardized Rate adaptation */
#define AM_UIL1_CCITTV120 0x08 /* CCITT Standardized Rate Adaptation V.120 */
#define AM_UIL1_CCITTX31 0x09 /* CCITT Standardized Rate Adaptation X.31 HDLC */
/* user information layer 2 protocol */
#define AM_UIL2_BASIC 0x01 /* basic mode - ISO 1745 */
#define AM_UIL2_Q921 0x02 /* CCITT Recommendation Q.921 */
#define AM_UIL2_X25SLP 0x06 /* CCITT Recommendation X.25, single link */
#define AM_UIL2_X25MLP 0x07 /* CCITT Recommendation X.25, multi link */
#define AM_UIL2_T71 0x08 /* extended LAPB for half duplex, */
/* CCITT Recommendation T.71 */
#define AM_UIL2_HDLCARM 0x09 /* HDLC ARM - ISO 4335 */
#define AM_UIL2_HDLCNRM 0x0a /* HDLC NRM - ISO 4335 */
#define AM_UIL2_HDLCABM 0x0b /* HDLC ABM - ISO 4335 */
#define AM_UIL2_LANLLC 0x0c /* LAN LLC - ISO 8802/2 */
#define AM_UIL2_X75SLP 0x0d /* CCITT Recommendation X.75, single link */
#define AM_UIL2_Q922 0x0e /* CCITT Recommendation Q.922 */
#define AM_UIL2_USRSPEC 0x10 /* CCITT User specified */
#define AM_UIL2_T90 0x11 /* CCITT T.90 */
/* Layer 2/3 Operation Mode */
#define AM_LOLYR_OPR_NORM 0x01 /* Normal mode of operation */
#define AM_LOLYR_OPR_EXT 0x02 /* Extended mode of operation */
/* user information layer 3 protocol */
#define AM_UIL3_Q931 0x02 /* CCITT Recommendation Q.931 */
#define AM_UIL3_T90 0x05 /* CCITT T.90 */
#define AM_UIL3_X25PLP 0x06 /* CCITT Recommendation X.25, packet layer */
#define AM_UIL3_ISO8208 0x07 /* ISO 8208 */
#define AM_UIL3_ISO8348 0x08 /* ISO 8348 */
#define AM_UIL3_ISO8473 0x09 /* ISO 8473 */
#define AM_UIL3_T70 0x0a /* CCITT Recommendation T.70 */
#define AM_UIL3_ISO9577 0x0b /* ISO/IEC TR 9577 */
#define AM_UIL3_USRSPEC 0x10 /* CCITT User specified */
/* presentation method of protocol profile */
#define AM_PM_VAL1 0x01 /* value 1 */
/* information transfer mode */
#define AM_TM_CIRCUIT 0x00 /* circuit mode */
#define AM_TM_PACKET 0x02 /* packet mode */
/* information transfer capability */
#define AM_ITC_SPEECH 0x00 /* speech */
#define AM_ITC_UNRDIG 0x08 /* unrestricted digital information */
#define AM_ITC_RESDIG 0x09 /* restricted digital information */
#define AM_ITC_A31KHZ 0x10 /* 3.1kHz audio */
#define AM_ITC_A7KHZ 0x11 /* 7 kHz audio */
#define AM_ITC_A15KHZ 0x12 /* 15 kHz audio */
#define AM_ITC_VIDEO 0x18 /* video */
/* information transfer rate */
#define AM_ITR_PKT 0x00 /* packet mode */
#define AM_ITR_64KBIT 0x10 /* circuit mode - 64 kbits */
#define AM_ITR_2X64KBIT 0x11 /* circuit mode - 2 X 64 kbits */
#define AM_ITR_384KBIT 0x13 /* circuit mode - 384 kbits */
#define AM_ITR_1472KBIT 0x14 /* circuit mode - 1472 kbits */
#define AM_ITR_1536KBIT 0x15 /* circuit mode - 1536 kbits */
#define AM_ITR_1920KBIT 0x17 /* circuit mode - 1920 kbits */
#define AM_ITR_MULIRATE 0x18 /* circuit mode - multi rate */
/* symmetry */
#define AM_S_BISYM 0x00 /* bidirectional symmetry */
/* structure */
#define AM_S_DEF 0x00 /* default */
#define AM_S_8KHZINTEG 0x01 /* 8 khz integrity */
#define AM_S_SDUINTEG 0x04 /* service data unit integrity */
#define AM_S_UNSTRUCT 0x07 /* unstructured */
/* intermediate rate */
#define AM_IR_NONE 0x00 /* none specified */
#define AM_IR_8KBIT 0x01 /* 8 kbits */
#define AM_IR_16KBIT 0x02 /* 16 kbits */
#define AM_IR_32KBIT 0x03 /* 32 kbits */
/* negotiation */
#define AM_N_IBNOTPOSS 0x00 /* inband not possible */
#define AM_N_IBPOSS 0x01 /* inband possible */
/* negotiation indicator */
#define AM_N_OBNOTPOSS 0x00 /* outband not possible */
#define AM_N_OBPOSS 0x01 /* outband possible */
/* synchronous/asynchronous */
#define AM_SA_SYNC 0x00 /* synchronous */
#define AM_SA_ASYNC 0x01 /* asynchronous */
/* assignor/assignee */
#define AM_AA_ORGASGNEE 0x00 /* originator is assignee */
#define AM_AA_ORGASGNOR 0x01 /* originator is assignor */
/* duplex mode */
#define AM_DUPMODE_HALF 0x00 /* half duplex */
#define AM_DUPMODE_FULL 0x01 /* full duplex */
/* mode of operation */
#define AM_MOO_BITTRANS 0x00 /* bit transparent */
#define AM_MOO_PROTSEN 0x01 /* protocol sensitive */
/* multiple frame establishment */
#define AM_MFE_NOTSUP 0x00 /* not supported */
#define AM_MFE_SUP 0x01 /* supported */
/* logical link identifier */
#define AM_LLI_DEF 0x00 /* default */
#define AM_LLI_FULLNEG 0x01 /* full protocol negotiation */
/* inband/outband negotiation */
#define AM_ION_USRINFO 0x00 /* negotiation with user info messages */
#define AM_ION_LL0 0x01 /* negotiation in band using logical link 0 */
/* narrow band coding standards */
#define AM_CSTD_CCITT 0x00 /* CCITT standards */
#define AM_CSTD_INT 0x01 /* Other International Standards */
#define AM_CSTD_NAT 0x02 /* National Standard */
#define AM_CSTD_NET 0x03 /* Network Standard */
/* coding standard */
#define AM_CODESTD_CCITT 0 /* ITU-TS (CCITT) standardized */
#define AM_CODESTD_NET 3 /* ATM Forum specific */
/* location */
#define AM_LOCN_USER 0x00 /* user */
#define AM_LOCN_PRVNETLOC 0x01 /* private network serving local user */
#define AM_LOCN_PUBNETLOC 0x02 /* public network serving local user */
#define AM_LOCN_TRNSNET 0x03 /* transit network */
#define AM_LOCN_PUBNETRMT 0x04 /* public network serving remote user */
#define AM_LOCN_PRVNETRMT 0x05 /* private network serving remote user */
#define AM_LOCN_INTNET 0x07 /* international network */
#define AM_LOCN_NETINTWRK 0x0a /* network beyond interworking point */
/* extended high layer characteristics */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -