aal2desc.h

来自「摩托罗拉Motolola公司网络处理器C3的示范代码.实现了ATM的AAL2层交」· C头文件 代码 · 共 86 行

H
86
字号
/* *  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 + =
减小字号Ctrl + -
显示快捷键?