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

📄 zl5011xpktprotocol.h

📁 Zalink50114----TDMoIP芯片驱动源码
💻 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 + -