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

📄 aal2tabledefs.h

📁 摩托罗拉Motolola公司网络处理器C3的示范代码.实现了ATM的AAL2层交换功能.想了解网络处理器的可以
💻 H
字号:
/* *  aal2TableDefs.h - AAL2 Switch Table definitions *//* *  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 AAL2TABLEDEFS_H#define AAL2TABLEDEFS_H#include <dcpTypes.h>#include <dcpTableSvcs.h>typedef struct{    /* first 32 bits */    int16u    queueId;    int16u    vcIndex;    /* second 32 bits */    int32u    atmEgressKey; /* VPI <20:31>, VCI <4:19> and Port# <0:3> */    /* third 32 bits */    int8u     cid;    int8u     pad1;    int16u    pad2;} CidTabEntryData;typedef struct{    int32u           index;    CidTabEntryData  data;} CidTabEntry;#define composeCidIndex(vcIndex, cid) (((vcIndex) << 8) | (cid))#define AAL2_DMEM_TABLE_INDEX_MASK  0x01FF#define POWER_OF_2_SHIFT 9#endif /* AAL2TABLEDEFS_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -