atmstatus.h

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

H
53
字号
/* *  atmCellSwitch.h - Private declarations for ATM cell switch application. *//**  Copyright (c) 1998, 1999, 2000, 2001, 2002 C-Port Corporation, a Motorola Company  *  All Rights Reserved * *  The information contained in this file is C-Port Corporation 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 or Motorola Incorporated is strictly prohibited. */#ifndef ATMSTATUS_H#define ATMSTATUS_H#define ATM_CONTROL_PLANE_QUEUE 262#define ATM_SONET_MONITOR_QUEUE 261/* *  ATM transmit types */typedef enum {    atmPayloadTypeSwitched  = 0x00,    atmPayloadTypeOam       = 0x04,    atmPayloadTypeOamF4S    = 0x04,    atmPayloadTypeOamF4E    = 0x05,    atmPayloadTypeOamF5S    = 0x06,    atmPayloadTypeOamF5E    = 0x07,    atmPayloadTypeRm        = 0x08,    atmPayloadTypeAal5      = 0x80} AtmPayloadType;typedef struct {  int32u rxGoodCells;  int32u rxOamCells;  int32u enqueueFail;  int32u otherEnqueueFail;  int32u txCells;  int32u txOamCells;  int32u rsvd2;  int32u rsvd3;  int32u rxCongestDrops;  int32u rxHecErrored;  int32u rxInvalidVc;  int32u rsvd4;} AtmStats;#endif // ATMSTATUS_H

⌨️ 快捷键说明

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