📄 ipsec_class.h
字号:
/******************************************************************************//* Copyright 2000-2001 Wind River Systems, Inc. *//******************************************************************************//* ipsec_class.h - modification history---------------------------------------02b,21Feb03,rks(teamf1) removed filterHook fields from IPSEC_GLOBAL_CLASS02a,20Sep02,rks(teamf1) added MINIMUM_IP_V6_HEADER_LENGTH01b,25mar02,rpt removed "ipsec_retain_df_bit" config and moved it to the ipsec network interface class to support PMTU per itnerface, added func declaration for DF bit nvram configuration 01a,19mar02,rpt extracted from WindNet IPSec 1.1, added modification history*//******************************************************************************/#if !defined (__IPSEC_CLASS_H__)#define __IPSEC_CLASS_H__#include <taskLib.h>#define MINIMUM_IP_V4_HEADER_LENGTH 20#define MINIMUM_IP_V6_HEADER_LENGTH 40/******************************************************************************/typedef struct IPSEC_GLOBAL_CLASS { BOOL ipsec_enabled; BOOL ipsec_printing_enabled; BOOL ipsec_error_printing_enabled; BOOL ipsec_warning_printing_enabled; BOOL ipsec_initialization_printing_enabled; BOOL ipsec_debug_printing_enabled; WRSEC_LIST ipsec_network_interface_list; ULONG ipsecInputCount; ULONG ipsecInputCountDropped; ULONG ipsecOutputCount; ULONG ipsecOutputCountDropped; #if defined (__IPSEC_QUEUING__) MSG_Q_ID ipsecMsgQ; #endif /* __IPSEC_QUEUING__ */ } IPSEC_GLOBAL_CLASS;/******************************************************************************/void ipsecAttachIf_nvram ( char *cptr_ip_address );void ipsecDFBit_nvram ( char *cptr_df_bit_config );/******************************************************************************/#endif /*__IPSEC_CLASS_H__*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -