📄 ospf_globals.h
字号:
/* ospf_globals.h - OSPF globals *//* Copyright 2000-2003 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------02e,30may03,agi removed ospfRawInputTaskId02d,26may03,agi Removed RWOS-specific references02c,09may03,agi Added global OSPF semaphores02b,17feb02,ram SPR 81808 Added OSPF memory partition support02a,28jan03,ram SPR 85050 Added new mutex for external route queue01z,19nov02,mwv Merge TMS code SPR 8428401y,13oct01,kc Dynamic configuration changes.01x,26sep01,kc Cleaned up receive task related globals.01w,21sep01,kc Removed unused raw socket globals.01v,22aug01,kc Fixed compiler errors if VIRTUAL_STACK is defined.01u,14aug01,kc Added iterators for virtual interface and neighbor.01t,13aug01,kc Moved FP_OSPF_RECEIVE, FP_OSPF_SEND and OSPF_CALLBACK_IF declarations outside VIRTUAL_STACK defined.01s,26sep00,reshma Added WindRiver CopyRight01r,25sep00,reshma RFC-1587 implementation for OSPF NSSA Option, also tested against ANVL.01q,20jul00,reshma Unix compatibility related changes.01p,06jul00,reshma Removed unnecessary header files and defines.01o,04apr00,reshma Added some MIB support (Read only). Passed all important ANVL OSPF tests.01n,23dec99,reshma Compatibility with VxWorks-IP and VxWorks RTM-interface01m,19may99,jack redefined OSPF_PATRICIA_32_BITS_KEY_MAX_BIT_POSITION as per fixes in patricia01l,28dec98,jack Compiled and added some comments01k,11nov98,jack Config changes, linted and big endian changes01j,30oct98,jack Incorporate changes for compilation on Vxworks01i,23aug98,jack ANVL tested OSPF with PATRICIA tree route table and no recursion01h,10aug98,jack PATRICIA Route Table Based OSPF Code Base01g,04aug98,jack Enum types added in the definition of OSPF_LS_TYPE to facilitate processing of flags in LS_ROUTER - Added OSPF_LS_ROUTER_ABR and OSPF_LS_ROUTER_ASBR01f,08jul98,jack Patricia RT table related changes - need to be tested01e,04jun98,jack Integration with RTM and BGP01d,10jul97,cindy Pre-release v1.52b01c,10feb97,cindy Release Version 1.5201b,22oct97,cindy Release Version 1.5001a,05jun96,cindy First Beta Release*//* the meta structure */#if !defined (_OSPF_GLOBALS_H_)#define _OSPF_GLOBALS_H_typedef int (*FP_OSPF_RECEIVE) (register struct mbuf *message_block);typedef int (*FP_OSPF_SEND) (register struct mbuf *message_block);typedef struct OSPF_CALLBACK_IF{ int ospfEnabled; FP_OSPF_RECEIVE pOSpfReceive; FP_OSPF_SEND pOSpfSend;} OSPF_CALLBACK_IF;/* the following iterators needs to be defined regardless if __OSPF_VIRTUAL_STACK__ preproc * is used. */#if !defined (__OSPF_VIRTUAL_STACK__)extern OSPF_CLASS ospf;SEM_ID ospf_global_mutex;SEM_ID ospf_config_mutex;SEM_ID ospf_external_route_mutex;/*raw socket - Added socket for input jkw*/extern int ipSock;extern OSPF_CALLBACK_IF OspfRegistrationInfo;extern char ospf_configuration_text[OSPF_MAXIMUM_FILE_SIZE + 1];extern UINT ten_seconds_counter;/* SPR 81808 -- Begin */extern ULONG ospfMemPartId;/* SPR 81808 -- End */#endif /* __OSPF_VIRTUAL_STACK__ *//*RFC 1765*/extern ULONG ospf_db_overflow_timer;#endif /* _OSPF_GLOBALS_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -