aal2init.h

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

H
39
字号
 /**  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 _AAL2_INIT_H_#define _AAL2_INIT_H_#ifdef AAL2_MAIN#define EXTERN  #else#define EXTERN extern#endiftypedef union {	AAL2_RX_CONTEXT		Aal2RxContext;	AAL2_TX_CONTEXT		Aal2TxContext;} AAL2_CONTEXT;typedef int8u PARITY_TABLE[128];/* Temporary storage areas in DMEM.  */typedef int8u     PDU[64];EXTERN AAL2_CONTEXT	ALIGNED128	gAal2Context;EXTERN int8u		        gAal2ParityTable[128];#define roundUp(value, powerOf2) (((value) + ((powerOf2) - 1)) & ~((powerOf2) - 1))#endif	/* #define _AAL2_INIT_H_ */

⌨️ 快捷键说明

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