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

📄 nat.h

📁 vxworks下ppp的实现源码
💻 H
字号:
/* nat.h - Network Address Translation module header *//* Copyright 2000-2003 Wind River Systems, Inc. *//* @format.tab-size 4, @format.use-tabs true, @format.new-line lf *//*modification history--------------------01e,25apr03,myz  added more NAT internal global function prototypes.01d,24apr03,zhu  updated copyright01c,21apr03,myz  added function prototypes and some header files.01b,24sep02,vvv  added list access macros01a,23sep02,vvv  added macros to improve performance*/#ifndef __INCnath#define __INCnath#ifdef __cplusplusextern "C" {#endif/* ANSI headers */#include <stdlib.h>		/* free() prototype */#include <ctype.h>/* VxWorks headers */#include <vxWorks.h>#include <inetLib.h>#include <dllLib.h>#include <taskLib.h>/* RouterWare headers */#include <rwos.h>#include <rwproto.h>#include <v8022str.h>#include "nat_packet_structures.h"#include "nat_constants.h"#include "nat_structures.h"#include "nat_tcp_state_structures.h"#include "nat_globals.h"#include "nat_icmp.h"/* macros */#define lstFirst(list)      ((list)->node.next)#define lstNext(node)       ((node)->next)/* external functions */#if defined(__STDC__) || defined(__cplusplus)extern STATUS natTaskDelete (void);extern void nat_task_initialize(const char *);extern void dllFreeList (DL_LIST *);extern void * natOneShotTimerEvtCreate(ULONG,FUNCPTR,void *);extern void * natTimerEvtCreate(ULONG,FUNCPTR,void *);extern STATUS natEvtActivate (void *);extern STATUS natEvtRemove   (void *);#elseextern STATUS natTaskDelete ();extern void nat_task_initialize();extern void dllFreeList ();extern void * natOneShotTimerEvtCreate();extern void * natTimerEvtCreate();extern STATUS natEvtActivate ();extern STATUS natEvtRemove   ();#endif  /* __STDC__ */#ifdef __cplusplus}#endif#endif	/* Don't add anything after this line */

⌨️ 快捷键说明

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