📄 aal2desc.h
字号:
/* * atmCellDesc.h - ATM cell switch descriptor *//* * Copyright (c) 2000, 2001, 2002 C-Port Corporation, a Motorola Company * All Rights Reserved * * The information contained in this file is confidential and proprietary. * Any reproduction, use or disclosure, in whole or in part, of this * program, including any attempt to obtain a human-readable version of this * program, without the express, prior written consent of C-Port * Corporation is strictly prohibited. */#ifndef AAL2CELLDESC_H#define AAL2CELLDESC_H#include <dcpTypes.h>#include <dcpBufferSvcs.h>#include <dcpTableSvcs.h>#include "atmCellDesc.h"/* Initialization descriptors */typedef struct{ TsTableId tableId; BsPoolId poolId; QsQueueId destId;} Aal2CpInitDesc;typedef union{ AtmAal2CpInitDesc atmParams; QosCpInitDesc qosParams; Aal2CpInitDesc aal2Params;} NewCpInitDesc;typedef struct _TimeoutDesc{ int8u seqNo; int16u vcIndex;} TimeoutDesc;#define TIMER_START_COMMAND 0typedef struct _TimerStartData{ int8u seqNo; int8u cpId; int16u vcIndex;} TimerStartData;typedef union _XpInQueueData{ TimerStartData timerStartCommand;} XpInQueueData;typedef struct _XpInQueueDesc{ int32u command; XpInQueueData data;} XpInQueueDesc;typedef struct cpsDescriptor { BsBufHandle cpsPckPayload; /* Pointer to payload of the CPS Packet */ int16u egressVcIndex; /* Egress VC index */ int8u cid; /* Channel ID */ int16u li : 6; /* Length Indicator */ int16u uui : 5; /* User-to-User Indication */ int16u pad : 5; /* Header Error Control */ int32u atmEgressKey; /* ATM Egress VPI <20:31>, VCI <4:19> and Port # <0:3> */} Aal2CpsDesc;#endif /* AAL2CELLDESC_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -