📄 ospf_vs.h
字号:
/* ospf_vs.h - ospf virtual stack data *//* Copyright 2000 Wind River Systems, Inc. *//*modification history--------------------01c,12may03,asr Changes to make OSPF virtual stack compatible.01b,13aug01,kc Removed FP_OSPF_RECEIVE, FP_OSPF_SEND and OSPF_CALLBACK_IF.01a,7mar01,jkw written*/#ifndef __INCospf_vsh#define __INCospf_vsh/* includes */#include "vxWorks.h"#include "ospf.h"/* defines *//* typedefs *//* definitions from ospf_init.c */#if defined (__OSPF_VIRTUAL_STACK__)typedef struct ospfVs { /* definitions from ospf_init.c */ OSPF_CALLBACK_IF _OspfRegistrationInfo; /* definitions from ospf_system.c */ char _ospf_configuration_text[RWOS_MAXIMUM_FILE_SIZE + 1]; /* definitions from ospf_timer.c */ UINT _ten_seconds_counter; /* definitions from configuration.h */ CONFIGURATION_TABLE _ospf_configuration_table; /* definitions from ospf_globals.h */ OSPF_CLASS _ospf; RWOS_MUTEX _rwos_ospf_mutex; int _ospfRawInputTaskId; int _ipSock; ULONG _ospf_db_overflow_timer; } OSPF_VS;/* macros */#define OspfRegistrationInfo ospfVsTbl[myStackNum]->ospfGlobals._OspfRegistrationInfo#define ospf_configuration_text ospfVsTbl[myStackNum]->ospfGlobals._ospf_configuration_text#define ten_seconds_counter ospfVsTbl[myStackNum]->ospfGlobals._ten_seconds_counter#define ospf_configuration_table ospfVsTbl[myStackNum]->ospfGlobals._ospf_configuration_table#define ospf ospfVsTbl[myStackNum]->ospfGlobals._ospf#define ospf_vs_id ospf.ospf_vs_id#define rwos_ospf_mutex ospfVsTbl[myStackNum]->ospfGlobals._rwos_ospf_mutex#define ospfRawInputTaskId ospfVsTbl[myStackNum]->ospfGlobals._ospfRawInputTaskId#define ipSock ospfVsTbl[myStackNum]->ospfGlobals._ipSock#define ospf_db_overflow_timer ospfVsTbl[myStackNum]->ospfGlobals._ospf_db_overflow_timer#endif /* __OSPF_VIRTUAL_STACK__ */#endif /* __INCospf_vsh */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -