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

📄 aal2desc.h

📁 摩托罗拉Motolola公司网络处理器C3的示范代码.实现了ATM的AAL2层交换功能.想了解网络处理器的可以
💻 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 + -