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

📄 ospf_configuration.h

📁 vxworks下ospf协议栈
💻 H
📖 第 1 页 / 共 3 页
字号:
/* ospf_configuration.h *//* Copyright 2000-2003 Wind River Systems, Inc. *//*modification history-------------------02a,29may03,agi Modified RWOS calls to OSPF calls as part of RWOS removal24,20feb03,kc              Fixed SPR#86319 - rename inject_default_route_if_stub_area                            to inject_summary_lsa_into_stub_area. Rename staic keyword                            "OSPF Area Inject Default Route Into Stub Area" to                            "OSPF Area Inject Summary LSA Into Stub Area". 23,10April02,bt		    added "OSPF Port NBMA or PTMP Neighbor Address =" 22,24july01,jkw			Removed WINROUTER preproc 21,23july01,jkw			Added new configuration variables for ignoring tos and demand circuit 20,26september00,reshma	Added WindRiver CopyRight 19,25september00,reshma	RFC-1587 implementation for OSPF NSSA Option, also tested against ANVL. 18,20july00,reshma			Unix compatibility related changes. 17,06july00,reshma			Removed unnecessary header files and defines. 16,04april00,reshma		Added some MIB support (Read only).							Passed all important ANVL OSPF tests. 15,23february00,reshma		Changes for ospf mib 14,23december99,reshma		Compatibility with VxWorks-IP and VxWorks RTM-interface 13,03june99,jack			Added missing config parameter inject_default_route_if_stub_area in							stub area case. 12,17may99,jack			Added new include file ospf_patricia_32_bits_key_prototypes.h 11,28december98,jack		Compiled and added some comments 10,13november98,jack		Changes related to introducing queuing in OSPF to RTM interface and bug							fix on the external route additions path (to RTM) 09,11november98,jack		Config changes, linted and big endian changes 08,30october98,jack		Incorporate changes for compilation on Vxworks 07,23august98,jack			ANVL tested OSPF with PATRICIA tree route table and no recursion 06,10august98,jack			PATRICIA Route Table Based OSPF Code Base 05,04june98,jack			Integration with RTM and BGP 04,10july97,cindy			Pre-release v1.52b 03,10february97,cindy		Release Version 1.52 02,22october97,cindy		Release Version 1.50 01,05june96,cindy			First Beta Release*/#if !defined (_OSPF_CONFIGURATION_H_)#define _OSPF_CONFIGURATION_H_#if defined (__OSPF_VIRTUAL_STACK__)#include "ospf_vs_lib.h"#endif /* __OSPF_VIRTUAL_STACK__ *//********************************************************************************************************************************/#if !defined (__OSPF_VIRTUAL_STACK__)OSPF_CONFIGURATION_TABLE ospf_configuration_table ={	1,	{/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_enum_enable,		NULL,		"OSPF =",		(ULONG) offsetof (OSPF_CLASS,protocol_enabled),		(ULONG ) &ospf,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_default_values,		NULL,		"OSPF Use Default Values ="	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_ip_address,		NULL,		"OSPF Router ID =",		(ULONG) offsetof (OSPF_CLASS,router_id),		(ULONG) &ospf,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_enum_enable,		NULL,		"OSPF Type of Service Capability =",		(ULONG) offsetof (OSPF_CLASS,type_of_service_capability),		(ULONG ) &ospf,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_enum_enable,		NULL,		"OSPF Autonomous System Border Router =",		(ULONG) offsetof (OSPF_CLASS,autonomous_system_border_router),		(ULONG ) &ospf,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_enum_enable,		NULL,		"OSPF IP Multicast =",		(ULONG) offsetof (OSPF_CLASS,ip_multicast),		(ULONG ) &ospf,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_ulong_decimal_value,		NULL,	"OSPF Number of Areas =",		(ULONG) offsetof (OSPF_CLASS, number_of_areas),		(ULONG) &ospf,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ip_address,		NULL,	"OSPF Area ID =",		(ULONG) offsetof (OSPF_CLASS, area[0].config.area_id),		(ULONG) &ospf,		sizeof (OSPF_AREA_CLASS)	},/* RFC 2178 G.3 *//* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_ulong_decimal_value,		NULL,	"OSPF Total Number of Area Address Ranges =",		(ULONG) offsetof (OSPF_CLASS, number_of_area_address_ranges),		(ULONG) &ospf,		(ULONG) NULL	},/* RFC 2178 G.3 Multiple Area Address ranges*//* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ip_address,		NULL,	"OSPF Area Address Range Address =",		(ULONG) offsetof (OSPF_CLASS, area_address_range[0].config.network),		(ULONG) &ospf,		sizeof (OSPF_AREA_ADDRESS_RANGE_CLASS)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ip_address,		NULL,	"OSPF Area Address Range Mask =",		(ULONG) offsetof (OSPF_CLASS, area_address_range[0].config.mask),		(ULONG) &ospf,		sizeof (OSPF_AREA_ADDRESS_RANGE_CLASS)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_enable,		NULL,	"OSPF Area Address Range Advertise =",		(ULONG) offsetof (OSPF_CLASS, area_address_range[0].config.advertise),		(ULONG) &ospf,		sizeof (OSPF_AREA_ADDRESS_RANGE_CLASS)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ip_address,		NULL,	"OSPF Area Address Range Area ID =",		(ULONG) offsetof (OSPF_CLASS, area_address_range[0].config.area_id),		(ULONG) &ospf,		sizeof (OSPF_AREA_ADDRESS_RANGE_CLASS)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_enable,		NULL,	"OSPF Area External Routing Capability =",		(ULONG) offsetof (OSPF_CLASS, area[0].config.external_routing_capability_enabled),		(ULONG) &ospf,		sizeof (OSPF_AREA_CLASS)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_enable,		NULL,	"OSPF Area NSSA option =",		(ULONG) offsetof (OSPF_CLASS, area[0].config.nssa_enabled),		(ULONG) &ospf,		sizeof (OSPF_AREA_CLASS)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_enable,		NULL,	"OSPF Area Inject Summary LSA Into Stub Area =",		(ULONG) offsetof (OSPF_CLASS, area[0].config.inject_summary_lsa_into_stub_area),		(ULONG) &ospf,		sizeof (OSPF_AREA_CLASS)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ulong_decimal_value,		NULL,	"OSPF Area Stub Default Cost =",		(ULONG) offsetof (OSPF_CLASS, area[0].config.stub_default_cost),		(ULONG) &ospf,		sizeof (OSPF_AREA_CLASS)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_ulong_decimal_value,		NULL,	"OSPF Number of Ports =",		(ULONG) offsetof (OSPF_CLASS, number_of_ports),		(ULONG) &ospf,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_enable,		NULL,	"OSPF Port =",		(ULONG) offsetof (OSPF_CLASS, port[0].config.port_enabled),		(ULONG) &ospf,		sizeof (OSPF_PORT_CLASS)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ip_address,		NULL,	"OSPF Port Address =",		(ULONG) offsetof (OSPF_CLASS, port[0].config.ip_address),		(ULONG) &ospf,		sizeof (OSPF_PORT_CLASS)	},#if defined (__UNNUMBERED_LINK__)	/* -bt- *//* __________________________________________________________ unnumbered dest ip */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ip_address,		NULL,	"OSPF Port Unnumbered Dest IP =",		(ULONG) offsetof (OSPF_CLASS, port[0].config.unnumbered_dest_ip),		(ULONG) &ospf,		sizeof (OSPF_PORT_CLASS)	},#endif	/* __UNNUMBERED_LINK__ -bt- *//* __________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ip_address,		NULL,	"OSPF Port NBMA or PTMP Neighbor Address =",		(ULONG) offsetof (OSPF_CLASS, port[0].config.nbma_ptmp_neighbor_address),	/* __NBMA_PTMP__ */

⌨️ 快捷键说明

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