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

📄 nat_configuration.h

📁 vxworks下ppp的实现源码
💻 H
📖 第 1 页 / 共 2 页
字号:
		NULL,	"NAT UDP Timer =",		(ULONG) offsetof (NAT_CLASS, udp_translation_entry_timer),		(ULONG) &nat,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_ulong_decimal_value,		NULL,	"NAT ICMP Timer =",		(ULONG) offsetof (NAT_CLASS, icmp_translation_entry_timer),		(ULONG) &nat,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_enum_enable,		NULL,	"NAT Filter Non Corporate Addresses =",		(ULONG) offsetof (NAT_CLASS, filter_non_corporate_addresses),		(ULONG) &nat,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_enum_enable,		NULL,	"NAT Static Entries Enabled =",		(ULONG) offsetof (NAT_CLASS, static_entries_enabled),		(ULONG) &nat,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_variable_port_and_ip_address,		NULL,	"NAT Static Entry Local Address =",		(ULONG) offsetof (NAT_CLASS, static_entries[0].local_address),		(ULONG) &nat,		sizeof (NAT_IP_STATIC_ENTRY)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_variable_port_and_ip_address,		NULL,	"NAT Static Entry Global Address =",		(ULONG) offsetof (NAT_CLASS, static_entries[0].global_address),		(ULONG) &nat,		sizeof (NAT_IP_STATIC_ENTRY)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_variable_port_and_ushort_decimal_value,		NULL,	"NAT Static TCP Global Port =",		(ULONG) offsetof (NAT_CLASS, tcp_static_entries[0].global_port_number),		(ULONG) &nat,		sizeof (NAT_PORT_STATIC_ENTRY)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_variable_port_and_ushort_decimal_value,		NULL,	"NAT Static TCP Server Port =",		(ULONG) offsetof (NAT_CLASS, tcp_static_entries[0].local_port_number),		(ULONG) &nat,		sizeof (NAT_PORT_STATIC_ENTRY)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_variable_port_and_ip_address,		NULL,	"NAT Static TCP Server Address =",		(ULONG) offsetof (NAT_CLASS, tcp_static_entries[0].local_address),		(ULONG) &nat,		sizeof (NAT_PORT_STATIC_ENTRY)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_variable_port_and_ushort_decimal_value,		NULL,	"NAT Static UDP Global Port =",		(ULONG) offsetof (NAT_CLASS, udp_static_entries[0].global_port_number),		(ULONG) &nat,		sizeof (NAT_PORT_STATIC_ENTRY)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_variable_port_and_ushort_decimal_value,		NULL,	"NAT Static UDP Server Port =",		(ULONG) offsetof (NAT_CLASS, udp_static_entries[0].local_port_number),		(ULONG) &nat,		sizeof (NAT_PORT_STATIC_ENTRY)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_variable_port_and_ip_address,		NULL,	"NAT Static UDP Server Address =",		(ULONG) offsetof (NAT_CLASS, udp_static_entries[0].local_address),		(ULONG) &nat,		sizeof (NAT_PORT_STATIC_ENTRY)	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_enum_enable,		NULL,	"NAT Printf =",		(ULONG) offsetof (NAT_CLASS, printing_enabled),		(ULONG) &nat,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_enum_enable,		NULL,	"NAT Printf Debug =",		(ULONG) offsetof (NAT_CLASS, printing_debug),		(ULONG) &nat,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_enum_enable,		NULL,	"NAT Printf Initialization =",		(ULONG) offsetof (NAT_CLASS, initialization_printing_enabled),		(ULONG) &nat,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_enum_enable,		NULL,	"NAT Printf Data =",		(ULONG) offsetof (NAT_CLASS, data_printing_enabled),		(ULONG) &nat,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_enum_enable,		NULL,	"NAT Printf Trace =",		(ULONG) offsetof (NAT_CLASS, trace_printing_enabled),		(ULONG) &nat,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_enum_enable,		NULL,	"NAT Printf Error =",		(ULONG) offsetof (NAT_CLASS, error_printing_enabled),		(ULONG) &nat,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_enum_enable,		NULL,	"NAT Logging =",		(ULONG) offsetof (NAT_CLASS, logging_enabled),		(ULONG) &nat,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_enum_enable,		NULL,	"NAT Logging Initialization =",		(ULONG) offsetof (NAT_CLASS, initialization_logging_enabled),		(ULONG) &nat,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_enum_enable,		NULL,	"NAT Logging Data =",		(ULONG) offsetof (NAT_CLASS, data_logging_enabled),		(ULONG) &nat,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_enum_enable,		NULL,	"NAT Logging Trace =",		(ULONG) offsetof (NAT_CLASS, trace_logging_enabled),		(ULONG) &nat,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		(void (*) (char *cptr_start_of_configuration_string,ULONG parameter_1,ULONG ulptr_parameter_2,ULONG parameter_3))		set_enum_enable,		NULL,	"NAT Logging Error =",		(ULONG) offsetof (NAT_CLASS, error_logging_enabled),		(ULONG) &nat,		(ULONG) NULL	},/* _____________________________________________________________________________________________ */	{		NULL,		NULL,	"",		(ULONG) NULL,		(ULONG) NULL,		(ULONG) NULL	}	} };#endif /* Don't add anything after this line */

⌨️ 快捷键说明

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