rcsdpaal2txapiif.h

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

H
56
字号
/* *  RcSdpAal2TxApi.h *//* *  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 thisprogram, without the express, prior written consent of C-Port *  Corporation or Motorola Incorporated is strictly prohibited. *//*---------------------------------------------------------------------------*/#ifndef _RCSDPAAL2TXAPI_H_#define _RCSDPAAL2TXAPI_H_/*---------------------------------------------------------------------------*//* Merge space structure used by AAL2 Tx Handler and TxByte processor */typedef struct{	int8u		PrevAtmSduRecirBytes[16];    int8u       cid;           int8u       li;  	int8u       uui;      int8u       hec;	int8u		CountAtmBytesRecir;	int8u		PositionStf1;	int8u		Stf1;	int8u		Stf2;	int8u		pad[40];} Aal2TxMergeSpace;typedef struct {    Aal2TxMergeSpace	Aal2TxMergeSpc;} MergeSpc;/* Extract space structure used by AAL2 Tx Forwarder and RxByte processor */typedef struct{    int8u       AtmSduBytesCount;	int8u		pad[63];} Aal2TxExtractSpace;typedef struct {        Aal2TxExtractSpace      Aal2TxExtSpc;} ExtractSpc;#define AAL2TX_TX_BYTE_CTRL_REG    ((int8u) &((SdpTxCregs*)NULL)->txCtl.byte[4])#define AAL2TX_RX_BYTE_CTRL_REG    ((int8u) &((SdpRxCregs*)NULL)->rxCtl.byte[4])#endif /* #define _RCSDPAAL2TXAPI_H_ */

⌨️ 快捷键说明

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