91 lines
2.6 KiB
C
91 lines
2.6 KiB
C
/*
|
|
******************************************************************************
|
|
* INTERPEAK CONFIGURATION HEADER FILE
|
|
*
|
|
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmip6_config.h,v $ $Revision: 1.8 $
|
|
* $Source: /home/interpeak/CVSRoot/ipmip6/config/ipmip6_config.h,v $
|
|
* $Author: jhorteli $ $Date: 2009-03-31 15:00:12 $
|
|
* $State: Exp $ $Locker: $
|
|
*
|
|
* INTERPEAK_COPYRIGHT_STRING
|
|
* Design and implementation by Joel Hortelius <joel.hortelius@interpeak.se>
|
|
******************************************************************************
|
|
*/
|
|
#ifndef IPMIP6_CONFIG_H
|
|
#define IPMIP6_CONFIG_H
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 1 DESCRIPTION
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 2 INCLUDE FILES
|
|
****************************************************************************
|
|
*/
|
|
|
|
#include <ipcom_err.h>
|
|
|
|
#include "ipmip_config.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 3 DEFINES
|
|
****************************************************************************
|
|
*/
|
|
|
|
/* These definitions dictate what default Loglevels should be use */
|
|
#ifdef IP_DEBUG
|
|
#define IPMIP6_SYSTEM_PRIORITY IPCOM_LOG_DEBUG2
|
|
#define IPMIP6_EVENT_PRIORITY IPCOM_LOG_DEBUG2
|
|
#else
|
|
#define IPMIP6_SYSTEM_PRIORITY IPCOM_LOG_WARNING
|
|
#define IPMIP6_EVENT_PRIORITY IPCOM_LOG_INFO
|
|
#endif
|
|
|
|
#ifdef IPCOM_SYSLOG_PRIORITY
|
|
#undef IPCOM_SYSLOG_PRIORITY
|
|
#endif
|
|
#define IPCOM_SYSLOG_PRIORITY IPMIP6_SYSTEM_PRIORITY
|
|
#ifdef IPCOM_SYSLOG_FACILITY
|
|
#undef IPCOM_SYSLOG_FACILITY
|
|
#endif
|
|
|
|
#define IPCOM_SYSLOG_FACILITY IPCOM_LOG_IPMIP
|
|
|
|
|
|
/* If defined, the MIP6 system will attempt to collect MIB statistics */
|
|
#define IPMIP6_USE_MIB 1
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 4 TYPES
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 5 FUNCTIONS
|
|
****************************************************************************
|
|
*/
|
|
IP_PUBLIC Ip_err ipmip6_configure(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
/*
|
|
****************************************************************************
|
|
* END OF FILE
|
|
****************************************************************************
|
|
*/
|