/* ****************************************************************************** * INTERPEAK CONFIGURATION HEADER FILE * * Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmipfa_config.h,v $ $Revision: 1.22 $ * $Source: /home/interpeak/CVSRoot/ipmipfa/config/ipmipfa_config.h,v $ * $Author: jhorteli $ $Date: 2009-04-23 14:31:52 $ * $State: Exp $ $Locker: $ * * INTERPEAK_COPYRIGHT_STRING * Design and implementation by Niklas Lundberg ****************************************************************************** */ #ifndef IPMIPFA_CONFIG_H #define IPMIPFA_CONFIG_H /* **************************************************************************** * 1 DESCRIPTION **************************************************************************** */ /* **************************************************************************** * 2 INCLUDE FILES **************************************************************************** */ #include #ifdef __cplusplus extern "C" { #endif /* **************************************************************************** * 3 DEFINES **************************************************************************** */ #ifdef IP_DEBUG #define IPMIPFA_EVENT_BACKLOG 300 #else #define IPMIPFA_EVENT_BACKLOG 100 #endif /* *=========================================================================== * IPMIPFA_CONF_CHALLENGE_LEN *=========================================================================== * Length, in octets, of the RFC3012 challenge. SHOULD be at least 4. */ #define IPMIPFA_CONF_CHALLENGE_LEN 8 /* *=========================================================================== * IPMIPFA_CONF_CHALLENGE_WINDOW *=========================================================================== * Number of challenges that are valid at any time. The default value is 2. */ #define IPMIPFA_CONF_CHALLENGE_WINDOW 2 /* *=========================================================================== * IPMIPFA_PENDING_REG_TIMEOUT *=========================================================================== * Mobile node timeout in seconds for unreplied pending RegReq packets. * Default 7 seconds. */ #define IPMIPFA_PENDING_REG_TIMEOUT 7 /* *=========================================================================== * IPMIPFA_PENDING_LLH_TIMEOUT *=========================================================================== * Mobile node timeout in seconds for unreplied pending LLH RegReq packets. * Default 1 seconds. */ #define IPMIPFA_PENDING_LLH_TIMEOUT 1 /* *=========================================================================== * IPMIPFA_RADIUS_ENABLE *=========================================================================== * Enable radius support. For this to work properly; Radius support MUST be * added to the base library. */ #ifdef IPRADIUS #define IPMIPFA_RADIUS_ENABLE 1 #endif /* *=========================================================================== * IPMIPFA_DIAMETER_ENABLE *=========================================================================== * Enable diameter support. For this to work properly; DIAMETER support MUST be * added to the base library. */ #ifdef IPDIAMETER #define IPMIPFA_DIAMETER_ENABLE 1 #endif /* **************************************************************************** * 4 TYPES **************************************************************************** */ extern Ipmip_init_func_t ipmipfa_function_registrations[]; /* **************************************************************************** * 5 FUNCTIONS **************************************************************************** */ #ifdef __cplusplus } #endif #endif /* **************************************************************************** * END OF FILE **************************************************************************** */