Files
2026-07-30 11:19:44 +05:30

75 lines
2.3 KiB
C

/*
******************************************************************************
* INTERPEAK CONFIGURATION HEADER FILE
*
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipradius_config.h,v $ $Revision: 1.14.10.1 $
* $Source: /home/interpeak/CVSRoot/ipradius/config/ipradius_config.h,v $
* $Author: tluo $ $Date: 2012-02-21 23:25:10 $
* $State: Exp $ $Locker: $
*
* INTERPEAK_COPYRIGHT_STRING
* Design and implementation by Lennart Bang <lob@interpeak.se>
******************************************************************************
*/
#ifndef IPRADIUS_CONFIG_H
#define IPRADIUS_CONFIG_H
/*
****************************************************************************
* 1 DESCRIPTION
****************************************************************************
*/
/*
****************************************************************************
* 2 INCLUDE FILES
****************************************************************************
*/
#ifdef __cplusplus
extern "C" {
#endif
/*
****************************************************************************
* 3 DEFINES
****************************************************************************
*/
/* Maximum size of access request attribute field. 2048 required for EAP (EAPoL over ethernet) + additional attributes. */
#define IPRADIUS_access_request_attribute_size 2048
/* Maximum size of accounting request attribute field. */
#define IPRADIUS_accounting_request_attribute_size 500
/* Initial system priority. */
#if defined(_WRS_CONFIG_IPRADIUS_SYSLOG_PRIORITY)
#define IPRADIUS_SYSTEM_PRIORITY _WRS_CONFIG_IPRADIUS_SYSLOG_PRIORITY
#else
#define IPRADIUS_SYSTEM_PRIORITY IPCOM_LOG_WARNING
#endif
/* Max poll delay in seconds. */
#define IPRADIUS_MAX_POLL_DELAY 600
/* Minium accounting interval in seconds */
#if defined(IP_DEBUG) || defined(IPTESTENGINE)
#define IPRADIUS_MIN_ACCT_INTERVAL 3
#else
#define IPRADIUS_MIN_ACCT_INTERVAL 60
#endif
#ifdef __cplusplus
}
#endif
#endif
/*
****************************************************************************
* END OF FILE
****************************************************************************
*/