?? zl5011xpktprotocol.h
字號:
/******************************************************************************
*
* File name: zl5011xPktProtocol.h
*
* Version: 2
*
* Author: APL
*
* Date created: 28/01/2005
*
* Copyright 2002, 2003, 2004, 2005, Zarlink Semiconductor Limited.
* All rights reserved.
*
* Module Description:
*
* This is the header file for the packet/protocol assist functions.
*
* Revision History:
*
* Rev: Date: Author: Comments:
* 1 28/01/2005 APL Initial revision
* 2 01/03/2005 APL Renamed functions
*
******************************************************************************/
#ifndef _ZL5011X_PKT_PROTOCOL_H
#define _ZL5011X_PKT_PROTOCOL_H
#ifdef __cplusplus
extern "C" {
#endif
/***************** COMPILE CONTROLS *****************************************/
/***************** INCLUDE FILES ******************************************/
#include "zl5011x.h"
/***************** MACROS ************************************************/
/***************** ENUMERATIONS AND STRUCTURES *****************************/
/* A type defining the individual parts of a protocol stack */
typedef enum
{
ZL5011X_PROTOCOL_NONE = 0,
ZL5011X_PROTOCOL_ETHERNET,
ZL5011X_PROTOCOL_CD,
ZL5011X_PROTOCOL_IP,
ZL5011X_PROTOCOL_UDP,
ZL5011X_PROTOCOL_RTP,
ZL5011X_PROTOCOL_RTCP,
ZL5011X_PROTOCOL_L2TPV2,
ZL5011X_PROTOCOL_L2TPV3,
ZL5011X_PROTOCOL_MPLS,
ZL5011X_PROTOCOL_ECID = ZL5011X_PROTOCOL_MPLS,
ZL5011X_PROTOCOL_PW,
ZL5011X_PROTOCOL_TS,
ZL5011X_PROTOCOL_CTRL
} zl5011xProtocolPartsE;
/***************** FUNCTION DECLARATIONS *********************************/
/* Function returning zero based index of protocol within stack */
Sint8T zl5011xFindProtocolInStack(zl5011xProtocolPartsE protocol, zl5011xProtocolTypeE protocolStack);
zl5011xBooleanE zl5011xProtocolIsInStack(zl5011xProtocolPartsE protocol, zl5011xProtocolTypeE protocolStack);
#ifdef __cplusplus
}
#endif
#endif /* _ZL5011X_PKT_PROTOCOL_H */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -