103 lines
3.3 KiB
C
103 lines
3.3 KiB
C
/*
|
|
******************************************************************************
|
|
* INTERPEAK CONFIGURATION HEADER FILE
|
|
*
|
|
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmipha_config.h,v $ $Revision: 1.15 $
|
|
* $Source: /home/interpeak/CVSRoot/ipmipha/config/ipmipha_config.h,v $
|
|
* $Author: jhorteli $ $Date: 2009-04-01 18:33:43 $
|
|
* $State: Exp $ $Locker: $
|
|
*
|
|
* Copyright Interpeak AB 2000-2003 <www.interpeak.se>. All rights reserved.
|
|
* Design and implementation by Niklas Lundberg <n@interpeak.se>
|
|
******************************************************************************
|
|
*/
|
|
#ifndef IPMIPHA_CONFIG_H
|
|
#define IPMIPHA_CONFIG_H
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 1 DESCRIPTION
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 2 INCLUDE FILES
|
|
****************************************************************************
|
|
*/
|
|
#include <ipmip4_config.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 3 DEFINES
|
|
****************************************************************************
|
|
*/
|
|
#ifdef IP_DEBUG
|
|
#define IPMIPHA_EVENT_BACKLOG 300
|
|
#else
|
|
#define IPMIPHA_EVENT_BACKLOG 100
|
|
#endif
|
|
|
|
/*
|
|
*===========================================================================
|
|
* IPMIPHA_PENDING_TIMEOUT
|
|
*===========================================================================
|
|
* Mobile node timeout in seconds before destroying and freeing allocated
|
|
* information; used when recoverable errors are encountered, such as
|
|
* reverse tunneling, lifetime too long, id errors.
|
|
*/
|
|
#define IPMIPHA_PENDING_TIMEOUT 10
|
|
|
|
/*
|
|
*===========================================================================
|
|
* IPMIPHA_RADIUS_ENABLE
|
|
*===========================================================================
|
|
* Enable radius support. For this to work properly; Radius support MUST be
|
|
* added to the base library.
|
|
*/
|
|
#ifdef IPRADIUS
|
|
#define IPMIPHA_RADIUS_ENABLE 1
|
|
#endif
|
|
|
|
/*
|
|
*===========================================================================
|
|
* IPMIPHA_DIAMETER_ENABLE
|
|
*===========================================================================
|
|
* Enable diameter support. For this to work properly; Diameter support MUST be
|
|
* added to the base library.
|
|
*/
|
|
#ifdef IPDIAMETER
|
|
#define IPMIPHA_DIAMETER_ENABLE 1
|
|
#endif
|
|
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 4 TYPES
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 5 FUNCTIONS
|
|
****************************************************************************
|
|
*/
|
|
extern Ipmip_init_func_t ipmipha_function_registrations[];
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
/*
|
|
****************************************************************************
|
|
* END OF FILE
|
|
****************************************************************************
|
|
*/
|