📄 radius_configuration.h
字号:
/* radius_configuration.h *//* Definitions of configuration table with each entry representing *//* one RADIUS configuration parameter. *//* Copyright 1984 - 2000 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history____________________01c,12mar02,md Enhancement - Remove the following configured parameters: RADIUS receive packet rate per second RADIUS maximum packets per receive interval01b,08feb01,tk add a new member in the CONFIGURATION_TABLE01a,19dec00,md merged from visual source safe*//************************************************************************//* Copyright (C) 1993 - 1999 RouterWare, Inc. *//* Unpublished - rights reserved under the Copyright Laws of the *//* United States. Use, duplication, or disclosure by the *//* Government is subject to restrictions as set forth in *//* subparagraph (c)(1)(ii) of the Rights in Technical Data and *//* Computer Software clause at 252.227-7013. *//* RouterWare, Inc., 3961 MacArthur Suite 212 Newport Beach, CA 92660 *//************************************************************************/#ifndef __INCradius_configurationh#define __INCradius_configurationh#include <vnvrmstr.h>CONFIGURATION_TABLE radius_configuration_table ={ TRUE,/* _____________________________________________________________________________________________ */ { /* RADIUS Configuration parameters *//* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_enum_enable, NULL, "RADIUS =", (ULONG) offsetof (RADIUS_CLASS, enabled), (ULONG) &radius, (ULONG) NULL },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_ip_address, NULL, "RADIUS client ip address =", (ULONG) offsetof (RADIUS_CLASS, client_ip_address), (ULONG) &radius, (ULONG) NULL },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_uint_decimal_value, NULL, "RADIUS Authentication Client Port =", (ULONG) offsetof (RADIUS_CLASS, authentication_client_port), (ULONG) &radius, (ULONG) NULL },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_uint_decimal_value, NULL, "RADIUS Accounting Client Port =", (ULONG) offsetof (RADIUS_CLASS, accounting_client_port), (ULONG) &radius, (ULONG) NULL },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) radius_parse_server_configuration_string, NULL, "RADIUS Server Configuration =", },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_uint_decimal_value, NULL, "RADIUS maximum receive packet size =", (ULONG) offsetof (RADIUS_CLASS, maximum_rx_packet_size), (ULONG) &radius, (ULONG) NULL },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_enum_enable, NULL, "RADIUS Printf =", (ULONG) offsetof (RADIUS_CLASS, printing_enabled), (ULONG) &radius, (ULONG) NULL },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_enum_enable, NULL, "RADIUS Printf Alarm =", (ULONG) offsetof (RADIUS_CLASS, alarm_printing_enabled), (ULONG) &radius, (ULONG) NULL },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_enum_enable, NULL, "RADIUS Printf Initialization =", (ULONG) offsetof (RADIUS_CLASS, initialization_printing_enabled), (ULONG) &radius, (ULONG) NULL },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_enum_enable, NULL, "RADIUS Printf Socket =", (ULONG) offsetof (RADIUS_CLASS, socket_printing_enabled), (ULONG) &radius, (ULONG) NULL },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_enum_enable, NULL, "RADIUS Printf Data =", (ULONG) offsetof (RADIUS_CLASS, data_printing_enabled), (ULONG) &radius, (ULONG) NULL },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_enum_enable, NULL, "RADIUS Printf Trace =", (ULONG) offsetof (RADIUS_CLASS, trace_printing_enabled), (ULONG) &radius, (ULONG) NULL },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_enum_enable, NULL, "RADIUS Disable Response Authentication =", (ULONG) offsetof (RADIUS_CLASS, disable_verify_response_authenticator), (ULONG) &radius, (ULONG) NULL },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_enum_enable, NULL, "RADIUS set default values =", (ULONG) offsetof (RADIUS_CLASS, set_default_values), (ULONG) &radius, (ULONG) NULL },#if defined (__RADIUS_BREAKPOINT__)/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_enum_enable, NULL, "RADIUS Initialization Breakpoint =", (ULONG) offsetof (RADIUS_CLASS, initialization_breakpoint), (ULONG) &radius, (ULONG) NULL },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_enum_enable, NULL, "RADIUS Runtime Breakpoint =", (ULONG) offsetof (RADIUS_CLASS, runtime_breakpoint), (ULONG) &radius, (ULONG) NULL },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_enum_enable, NULL, "RADIUS Configuration Breakpoint =", (ULONG) offsetof (RADIUS_CLASS, configuration_breakpoint), (ULONG) &radius, (ULONG) NULL },/* _____________________________________________________________________________________________ */ { (void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3)) set_enum_enable, NULL, "RADIUS Shutdown Breakpoint =", (ULONG) offsetof (RADIUS_CLASS, shutdown_breakpoint), (ULONG) &radius, (ULONG) NULL },#endif /* __RADIUS_BREAKPOINT__ *//* _____________________________________________________________________________________________ */ { NULL, NULL, "", (ULONG) NULL, (ULONG) NULL, (ULONG) NULL } } };#endif /*__INCradius_configurationh*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -