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

📄 mplstype.h

📁 路由器协议平台mpls协议的设计与实现源代码。
💻 H
字号:
#ifndef MPLSTYPE_H
#define MPLSTYPE_H
#include <types.h>
#include "myassert.h"

 #ifndef uchar
  #define uchar unsigned char
 #endif
 #ifndef ushort
  #define ushort unsigned short
 #endif
 #ifndef ulong
  #define ulong unsigned long
 #endif
 #ifndef UCHAR
  #define UCHAR unsigned char
 #endif
 #ifndef USHORT
  #define USHORT unsigned short
 #endif
 #ifndef ULONG
  #define ULONG unsigned long
 #endif

#ifndef BOOL
    typedef	unsigned char		   	BOOL;
#endif

#ifndef __VBOOL
#define __VBOOL
    typedef	volatile unsigned char		   	VBOOL;
#endif

#ifndef __VCHAR
#define __VCHAR
    typedef	volatile char		   	VCHAR;
#endif

#ifndef __VUCHAR
#define __VUCHAR
    typedef volatile unsigned char 	VUCHAR;	
#endif

#ifndef __VSHORT
#define __VSHORT
    typedef	volatile short		   	VSHORT;	
#endif

#ifndef __VUSHORT
#define __VUSHORT
    typedef	volatile unsigned short	VUSHORT;	
#endif

#ifndef __VLONG
#define __VLONG
    typedef	volatile long		   	VLONG;		
#endif

#ifndef __VULONG
#define __VULONG
    typedef volatile unsigned long 	VULONG;	
#endif



/* move from netcomm */

#define ON		1
#define OFF		0


#define INIT_STATE                 (unsigned char)0     /* process initial state */

#define MPLS_TIMER1                     (unsigned char)0
#define MPLS_TIMER2                     (unsigned char)1
#define MPLS_TIMER3                     (unsigned char)2
#define MPLS_TIMER4                     (unsigned char)3
#define MPLS_TIMER5                     (unsigned char)4
#define MPLS_TIMER6                     (unsigned char)5
#define MPLS_TIMER7                     (unsigned char)6
#define MPLS_TIMER8                     (unsigned char)7


 
#endif

⌨️ 快捷键说明

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