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

📄 ospf_vs_lib.c

📁 vxworks下ospf协议栈
💻 C
📖 第 1 页 / 共 4 页
字号:
	configuration_table->function[10].eptr_enable_string = NULL;	configuration_table->function[10].cptr_parameter_string = "OSPF Area Address Range Advertise =";	configuration_table->function[10].parameter_1 = (ULONG) offsetof (OSPF_CLASS, area[0].config.advertise_address_range);	configuration_table->function[10].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[10].parameter_3 = sizeof (OSPF_AREA_CLASS);	configuration_table->function[11].fptr_parameter_function = (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;	configuration_table->function[11].eptr_enable_string = NULL;	configuration_table->function[11].cptr_parameter_string = "OSPF Area Address Range Cost =";	configuration_table->function[11].parameter_1 = (ULONG) offsetof (OSPF_CLASS, area[0].config.address_range_cost);	configuration_table->function[11].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[11].parameter_3 = sizeof (OSPF_AREA_CLASS);	configuration_table->function[12].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_enable;	configuration_table->function[12].eptr_enable_string = NULL;	configuration_table->function[12].cptr_parameter_string = "OSPF Area Address Range Area ID =";	configuration_table->function[12].parameter_1 = (ULONG) offsetof (OSPF_CLASS, area[0].config.area_id);	configuration_table->function[12].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[12].parameter_3 = sizeof (OSPF_AREA_CLASS);#endif /*__RFC_2328__*/	configuration_table->function[13].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_enable;	configuration_table->function[13].eptr_enable_string = NULL;	configuration_table->function[13].cptr_parameter_string = "OSPF Area External Routing Capability =";	configuration_table->function[13].parameter_1 = (ULONG) offsetof (OSPF_CLASS, area[0].config.external_routing_capability_enabled);	configuration_table->function[13].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[13].parameter_3 = sizeof (OSPF_AREA_CLASS);	configuration_table->function[14].fptr_parameter_function = (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;	configuration_table->function[14].eptr_enable_string = NULL;	configuration_table->function[14].cptr_parameter_string = "OSPF Area Stub Default Cost =";	configuration_table->function[14].parameter_1 = (ULONG) offsetof (OSPF_CLASS, area[0].config.stub_default_cost);	configuration_table->function[14].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[14].parameter_3 = sizeof (OSPF_AREA_CLASS);	configuration_table->function[15].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_ulong_decimal_value;	configuration_table->function[15].eptr_enable_string = NULL;	configuration_table->function[15].cptr_parameter_string = "OSPF Number of Ports =";	configuration_table->function[15].parameter_1 = (ULONG) offsetof (OSPF_CLASS, number_of_ports);	configuration_table->function[15].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[15].parameter_3 = NULL;	configuration_table->function[16].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_enable;	configuration_table->function[16].eptr_enable_string = NULL;	configuration_table->function[16].cptr_parameter_string = "OSPF Port =";	configuration_table->function[16].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.port_enabled);	configuration_table->function[16].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[16].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[17].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ip_address;	configuration_table->function[17].eptr_enable_string = NULL;	configuration_table->function[17].cptr_parameter_string = "OSPF Port Address =";	configuration_table->function[17].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.ip_address);	configuration_table->function[17].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[17].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[18].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ip_address;	configuration_table->function[18].eptr_enable_string = NULL;	configuration_table->function[18].cptr_parameter_string = "OSPF Port Address Mask =";	configuration_table->function[18].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.subnetmask);	configuration_table->function[18].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[18].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[19].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ip_address;	configuration_table->function[19].eptr_enable_string = NULL;	configuration_table->function[19].cptr_parameter_string = "OSPF Port Area ID =";	configuration_table->function[19].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.area_id);	configuration_table->function[19].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[19].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[20].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ushort_decimal_value;	configuration_table->function[20].eptr_enable_string = NULL;	configuration_table->function[20].cptr_parameter_string = "OSPF Port Authentication Type =";	configuration_table->function[20].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.authentication_type);	configuration_table->function[20].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[20].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[21].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_parse_port_plain_text_or_md5_password;	configuration_table->function[21].eptr_enable_string = NULL;	configuration_table->function[21].cptr_parameter_string = "OSPF Port Plain Text Password =";	configuration_table->function[22].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_parse_port_plain_text_or_md5_password;	configuration_table->function[22].eptr_enable_string = NULL;	configuration_table->function[22].cptr_parameter_string = "OSPF Port MD5 Authentication Secret Key =";	configuration_table->function[23].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_parse_port_plain_text_or_md5_password;	configuration_table->function[23].eptr_enable_string = NULL;	configuration_table->function[23].cptr_parameter_string = "OSPF Port Authentication Secret =";	configuration_table->function[24].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ushort_decimal_value;	configuration_table->function[24].eptr_enable_string = NULL;	configuration_table->function[24].cptr_parameter_string = "OSPF Port Type =";	configuration_table->function[24].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.type);	configuration_table->function[24].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[24].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[25].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ip_address;	configuration_table->function[25].eptr_enable_string = NULL;	configuration_table->function[25].cptr_parameter_string = "OSPF Port Transit Area ID =";	configuration_table->function[25].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.transit_area_id);	configuration_table->function[25].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[25].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[26].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ip_address;	configuration_table->function[26].eptr_enable_string = NULL;	configuration_table->function[26].cptr_parameter_string = "OSPF Port Source Area ID =";	configuration_table->function[26].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.source_area_id_for_virtual_link);	configuration_table->function[26].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[26].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[27].fptr_parameter_function = (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;	configuration_table->function[27].eptr_enable_string = NULL;	configuration_table->function[27].cptr_parameter_string = "OSPF Port Router Dead Interval =";	configuration_table->function[27].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.router_dead_interval);	configuration_table->function[27].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[27].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[28].fptr_parameter_function = (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;	configuration_table->function[28].eptr_enable_string = NULL;	configuration_table->function[28].cptr_parameter_string = "OSPF Port Transmit Delay =";	configuration_table->function[28].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.transmit_delay);	configuration_table->function[28].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[28].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[29].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ushort_decimal_value;	configuration_table->function[29].eptr_enable_string = NULL;	configuration_table->function[29].cptr_parameter_string = "OSPF Port Priority =";	configuration_table->function[29].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.priority);	configuration_table->function[29].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[29].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[30].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ushort_decimal_value;	configuration_table->function[30].eptr_enable_string = NULL;	configuration_table->function[30].cptr_parameter_string = "OSPF Port Cost =";	configuration_table->function[30].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.cost);	configuration_table->function[30].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[30].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[31].fptr_parameter_function = (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;	configuration_table->function[31].eptr_enable_string = NULL;	configuration_table->function[31].cptr_parameter_string = "OSPF Port Hello Interval =";	configuration_table->function[31].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.hello_interval);	configuration_table->function[31].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[31].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[32].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ip_address;	configuration_table->function[32].eptr_enable_string = NULL;	configuration_table->function[32].cptr_parameter_string = "OSPF Port Virtual Neighbor Router ID =";	configuration_table->function[32].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.virtual_neighbor_rid);	configuration_table->function[32].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[32].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[33].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_variable_port_and_ip_address;	configuration_table->function[33].eptr_enable_string = NULL;	configuration_table->function[33].cptr_parameter_string = "OSPF Port Neighbor Router ID =";	configuration_table->function[33].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.virtual_neighbor_rid);	configuration_table->function[33].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[33].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[34].fptr_parameter_function = (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;	configuration_table->function[34].eptr_enable_string = NULL;	configuration_table->function[34].cptr_parameter_string = "OSPF Port Poll Interval =";	configuration_table->function[34].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.poll_interval);	configuration_table->function[34].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[34].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[35].fptr_parameter_function = (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;	configuration_table->function[35].eptr_enable_string = NULL;	configuration_table->function[35].cptr_parameter_string = "OSPF Port Retransmit Interval =";	configuration_table->function[35].parameter_1 = (ULONG) offsetof (OSPF_CLASS, port[0].config.retransmit_interval);	configuration_table->function[35].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[35].parameter_3 = sizeof (OSPF_PORT_CLASS);	configuration_table->function[36].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_enum_enable;	configuration_table->function[36].eptr_enable_string = NULL;	configuration_table->function[36].cptr_parameter_string = "OSPF Initialization Breakpoint =";	configuration_table->function[36].parameter_1 = (ULONG) offsetof (OSPF_CLASS, initialization_breakpoint);	configuration_table->function[36].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[36].parameter_3 = NULL;	configuration_table->function[37].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_enum_enable;	configuration_table->function[37].eptr_enable_string = NULL;	configuration_table->function[37].cptr_parameter_string = "OSPF Configuration Breakpoint =";	configuration_table->function[37].parameter_1 = (ULONG) offsetof (OSPF_CLASS, configuration_breakpoint);	configuration_table->function[37].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[37].parameter_3 = NULL;	configuration_table->function[38].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_enum_enable;	configuration_table->function[38].eptr_enable_string = NULL;	configuration_table->function[38].cptr_parameter_string = "OSPF Run Time Breakpoint =";	configuration_table->function[38].parameter_1 = (ULONG) offsetof (OSPF_CLASS, runtime_breakpoint);	configuration_table->function[38].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[38].parameter_3 = NULL;	configuration_table->function[39].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_enum_enable;	configuration_table->function[39].eptr_enable_string = NULL;	configuration_table->function[39].cptr_parameter_string = "OSPF Printf =";	configuration_table->function[39].parameter_1 = (ULONG) offsetof (OSPF_CLASS, printing_enabled);	configuration_table->function[39].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[39].parameter_3 = NULL;	configuration_table->function[40].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_enum_enable;	configuration_table->function[40].eptr_enable_string = NULL;	configuration_table->function[40].cptr_parameter_string = "OSPF Printf INTERFACE =";	configuration_table->function[40].parameter_1 = (ULONG) offsetof (OSPF_CLASS, interface_printing_enabled);	configuration_table->function[40].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[40].parameter_3 = NULL;	configuration_table->function[41].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_enum_enable;	configuration_table->function[41].eptr_enable_string = NULL;	configuration_table->function[41].cptr_parameter_string = "OSPF Printf NEIGHBOR =";	configuration_table->function[41].parameter_1 = (ULONG) offsetof (OSPF_CLASS, neighbor_printing_enabled);	configuration_table->function[41].ulptr_parameter_2 = (ULONG ) &ospf;	configuration_table->function[41].parameter_3 = NULL;	configuration_table->function[42].fptr_parameter_function = (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		ospf_set_enum_enable;

⌨️ 快捷键说明

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