Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00047 #ifndef _CFG_CORE_H
00048 #define _CFG_CORE_H
00049
00050 #include "cfg/cfg.h"
00051
00052 extern void *core_cfg;
00053
00055 struct cfg_group_core {
00056 int debug;
00057 int log_facility;
00058 int memdbg;
00059 #ifdef USE_DST_BLACKLIST
00060
00061 int use_dst_blacklist;
00062 unsigned int blst_timeout;
00063 unsigned int blst_max_mem;
00065 unsigned int blst_udp_imask;
00066 unsigned int blst_tcp_imask;
00067 unsigned int blst_tls_imask;
00068 unsigned int blst_sctp_imask;
00069 #endif
00070
00071 int dns_try_ipv6;
00072 int dns_try_naptr;
00073 int dns_udp_pref;
00074 int dns_tcp_pref;
00075 int dns_tls_pref;
00076 int dns_sctp_pref;
00077 int dns_retr_time;
00078 int dns_retr_no;
00079 int dns_servers_no;
00080 int dns_search_list;
00081 int dns_search_fmatch;
00082 int dns_reinit;
00083
00084 #ifdef USE_DNS_CACHE
00085 int use_dns_cache;
00086 int dns_cache_flags;
00087 int use_dns_failover;
00088 int dns_srv_lb;
00089 unsigned int dns_neg_cache_ttl;
00090 unsigned int dns_cache_min_ttl;
00091 unsigned int dns_cache_max_ttl;
00092 unsigned int dns_cache_max_mem;
00093 int dns_cache_del_nonexp;
00094 int dns_cache_rec_pref;
00095 #endif
00096 #ifdef PKG_MALLOC
00097 int mem_dump_pkg;
00098 #endif
00099 #ifdef SHM_MEM
00100 int mem_dump_shm;
00101 #endif
00102 int max_while_loops;
00103 int udp_mtu;
00104 int udp_mtu_try_proto;
00105 int udp4_raw;
00106 int udp4_raw_mtu;
00107 int udp4_raw_ttl;
00108 int force_rport;
00109 int memlog;
00110 int mem_summary;
00111 int mem_safety;
00112 int mem_join;
00113 int corelog;
00114 int latency_log;
00115 int latency_limit_db;
00116 int latency_limit_action;
00117 };
00118
00119 extern struct cfg_group_core default_core_cfg;
00120 extern cfg_def_t core_cfg_def[];
00121
00122 #endif