1 #ifndef __ACL_UDP_PARAMS_INCLUDE_H_ 2 #define __ACL_UDP_PARAMS_INCLUDE_H_ 4 #include "../stdlib/acl_define.h" 6 #ifndef ACL_CLIENT_ONLY 16 #define ACL_VAR_UDP_BUF_SIZE "udp_bufsize" 17 #define ACL_DEF_UDP_BUF_SIZE 4096 20 #define ACL_VAR_UDP_RW_TIMEOUT "udp_rw_timeout" 21 #define ACL_DEF_UDP_RW_TIMEOUT 30 24 #define ACL_VAR_UDP_USE_LIMIT "udp_use_limit" 25 #define ACL_DEF_UDP_USE_LIMIT 0 28 #define ACL_VAR_UDP_IDLE_LIMIT "udp_idle_limit" 29 #define ACL_DEF_UDP_IDLE_LIMIT 0 32 #define ACL_VAR_UDP_QUEUE_DIR "udp_queue_dir" 33 #define ACL_DEF_UDP_QUEUE_DIR "/opt/acl_master/var/queue" 36 #define ACL_VAR_UDP_PID_DIR "udp_pid_dir" 37 #define ACL_DEF_UDP_PID_DIR "/opt/acl_master/var/pid" 40 #define ACL_VAR_UDP_ACCESS_ALLOW "udp_access_allow" 41 #define ACL_DEF_UDP_ACCESS_ALLOW "0.0.0.0:255.255.255.255" 44 #define ACL_VAR_UDP_OWNER "udp_owner" 45 #define ACL_DEF_UDP_OWNER "root" 48 #define ACL_VAR_UDP_DELAY_SEC "udp_delay_sec" 49 #define ACL_DEF_UDP_DELAY_SEC 1 52 #define ACL_VAR_UDP_DELAY_USEC "udp_delay_usec" 53 #define ACL_DEF_UDP_DELAY_USEC 5000 56 #define ACL_VAR_UDP_EVENT_MODE "udp_event_mode" 57 #define ACL_DEF_UDP_EVENT_MODE "select" 60 #define ACL_VAR_UDP_DAEMON_TIMEOUT "udp_daemon_timeout" 61 #define ACL_DEF_UDP_DAEMON_TIMEOUT 1800 64 #define ACL_VAR_UDP_MASTER_MAXPROC "master_maxproc" 65 #define ACL_DEF_UDP_MASTER_MAXPROC 1 68 #define ACL_VAR_UDP_ENABLE_CORE "udp_enable_core" 69 #define ACL_DEF_UDP_ENABLE_CORE 1 72 #define ACL_VAR_UDP_DISABLE_CORE_ONEXIT "udp_disable_core_onexit" 73 #define ACL_DEF_UDP_DISABLE_CORE_ONEXIT 1 76 #define ACL_VAR_UDP_CORE_LIMIT "udp_core_limit" 77 #define ACL_DEF_UDP_CORE_LIMIT -1 80 #define ACL_VAR_UDP_LOG_DEBUG "master_debug" 81 #define ACL_DEF_UDP_LOG_DEBUG "" 84 #define ACL_VAR_UDP_MAX_DEBUG "master_debug_max" 85 #define ACL_DEF_UDP_MAX_DEBUG 1000 88 #define ACL_VAR_UDP_THREADS "udp_threads" 89 #define ACL_DEF_UDP_THREADS 1 92 #define ACL_VAR_UDP_THREADS_DETACHED "udp_threads_detached" 93 #define ACL_DEF_UDP_THREADS_DETACHED 1 96 #define ACL_VAR_UDP_FATAL_ON_BIND_ERROR "udp_fatal_on_bind_error" 97 #define ACL_DEF_UDP_FATAL_ON_BIND_ERROR 0 100 #define ACL_VAR_UDP_NON_BLOCK "master_nonblock" 101 #define ACL_DEF_UDP_NON_BLOCK 1 104 #define ACL_VAR_UDP_REUSEPORT "master_reuseport" 105 #define ACL_DEF_UDP_REUSEPORT "yes" 108 #define ACL_VAR_UDP_PRIVATE "master_private" 109 #define ACL_DEF_UDP_PRIVATE "n" char * acl_var_udp_reuse_port
char * acl_var_udp_private
int acl_var_udp_master_maxproc
int acl_var_udp_idle_limit
char * acl_var_udp_log_file
char * acl_var_udp_log_debug
int acl_var_udp_delay_usec
int acl_var_udp_rw_timeout
char * acl_var_udp_event_mode
char * acl_var_udp_pid_dir
char * acl_var_udp_access_allow
int acl_var_udp_threads_detached
int acl_var_udp_daemon_timeout
long long int acl_var_udp_core_limit
int acl_var_udp_enable_core
int acl_var_udp_disable_core_onexit
char * acl_var_udp_queue_dir
int acl_var_udp_fatal_on_bind_error
long long int acl_var_udp_use_limit
int acl_var_udp_non_block
int acl_var_udp_max_debug
char * acl_var_udp_procname
int acl_var_udp_delay_sec