#include "ip_addr.h"
#include "str.h"
#include "poll_types.h"


Go to the source code of this file.
Defines | |
| #define | DO_DNS 1 |
| #define | DO_REV_DNS 2 |
Variables | |
| int | auto_aliases |
| struct socket_info * | bind_address |
| int | cfg_errors |
| char * | cfg_file |
| int | check_via |
| int | children_no |
| char * | chroot_dir |
| int | config_check |
| str | default_global_address |
| str | default_global_port |
| int | disable_core_dump |
| int | disable_dns_blacklist |
| int | disable_dns_failover |
| int | dns_retr_no |
| int | dns_retr_time |
| int | dns_search_list |
| int | dns_servers_no |
| int | dont_fork |
| char * | group |
| int | is_main |
| int | max_while_loops |
| unsigned int | maxbuffer |
| int | memlog |
| int | mhomed |
| int | my_argc |
| char ** | my_argv |
| int | no_daemon |
| int | open_files_limit |
| char * | pgid_file |
| char * | pid_file |
| unsigned short | port_no |
| int | received_dns |
| int | reply_to_via |
| struct socket_info * | sendipv4 |
| struct socket_info * | sendipv6 |
| str | server_header |
| int | server_signature |
| unsigned long | shm_mem_size |
| int | sip_warning |
| int | sock_gid |
| char * | sock_group |
| int | sock_mode |
| int | sock_uid |
| char * | sock_user |
| char * | stat_file |
| int | tos |
| char * | user |
| str | user_agent_header |
| char * | working_dir |
Definition in file globals.h.
| #define DO_DNS 1 |
| #define DO_REV_DNS 2 |
| int auto_aliases |
if aliases should be automatically discovered and added during fixing listening sockets
Definition at line 288 of file main.c.
Referenced by fix_socket_list().
| struct socket_info* bind_address |
pointer to the crt. proc. listening address
pointer to the crt. proc. listening address
Definition at line 268 of file main.c.
Referenced by child_init_callid(), faked_env(), get_send_socket(), uac_init(), and udp_rcv_loop().
| int cfg_errors |
| char* cfg_file |
| int check_via |
check if reply first via host==us
Definition at line 211 of file main.c.
Referenced by forward_reply(), and main().
| int children_no |
number of children processing requests
Definition at line 182 of file main.c.
Referenced by init_multi_proc_support(), main(), and main_loop().
| char* chroot_dir |
| int config_check |
core dump limits
disable coredumps, by default enabled
Definition at line 243 of file main.c.
Referenced by daemonize(), and do_suid().
disable the DNS failover
Definition at line 63 of file proxy.c.
Referenced by mk_proxy(), and mk_shm_proxy().
| int dns_retr_no |
| int dns_retr_time |
| int dns_search_list |
| int dns_servers_no |
| int dont_fork |
Definition at line 201 of file main.c.
Referenced by init_multi_proc_support(), main(), main_loop(), and sig_usr().
| char* group |
Definition at line 238 of file main.c.
Referenced by allow_source_address_group(), ds_mark_dst(), ds_mi_set(), ds_options_callback(), and radius_is_user_in().
| int is_main |
flag = is this the "main" process?
Definition at line 314 of file main.c.
Referenced by internal_fork().
| int max_while_loops |
| unsigned int maxbuffer |
maximum buffer size we do not want to exceed during the auto-probing procedure; may be re-configured
Definition at line 178 of file main.c.
Referenced by main(), and probe_max_receive_buffer().
| int memlog |
debugging level for dumping memory status
debugging level for memory stats
Definition at line 213 of file main.c.
Referenced by cleanup(), handle_sigs(), qm_free(), qm_malloc(), qm_realloc(), qm_status(), and sig_usr().
| int mhomed |
looking up outbound interface ?
should Kamailio try to locate outbound interface on multihomed host? by default not -- too expensive
Definition at line 231 of file main.c.
Referenced by get_send_socket(), and sl_send_reply_helper().
| int my_argc |
| int open_files_limit |
| char* pgid_file |
| char* pid_file |
| unsigned short port_no |
default port
Definition at line 290 of file main.c.
Referenced by add_listen_iface(), fix_socket_list(), get_sock_hdr(), mi_mod_init(), and parse_uri().
| int received_dns |
use dns and/or rdns or to see if we need to add a ;received=x.x.x.x to via:
Definition at line 234 of file main.c.
Referenced by comp_ip(), and received_test().
| int reply_to_via |
a hint to reply modules whether they should send reply to IP advertised in Via or IP from which a request came
Definition at line 248 of file main.c.
Referenced by init_rb(), sl_send_reply_helper(), t_relay_to(), and w_as_relay_t().
| struct socket_info* sendipv4 |
ipv4 socket to use when msg. comes from ipv6
ipv4 socket to use when msg. comes from ipv6
Definition at line 270 of file main.c.
Referenced by get_send_socket().
| struct socket_info* sendipv6 |
Server header to be used when proxy generates request as UAS. Default is to use SERVER_HDR CRLF (assigned later).
Definition at line 223 of file main.c.
Referenced by build_res_buf_from_sip_req().
| int server_signature |
should localy-generated messages include server's signature?
Definition at line 219 of file main.c.
Referenced by ac_uac_req(), build_dlg_ack(), build_local(), build_res_buf_from_sip_req(), build_uac_cancel(), and build_uac_req().
| unsigned long shm_mem_size |
shared memory (in MB)
Definition at line 304 of file main.c.
Referenced by init_shm_mallocs(), shm_getmem(), shm_mem_destroy(), and shm_mem_init().
| int sip_warning |
should replies include extensive warnings? by default yes, good for trouble-shooting
Definition at line 217 of file main.c.
Referenced by build_res_buf_from_sip_req().
| int sock_gid |
| char* sock_group |
| int sock_mode |
| int sock_uid |
| char* sock_user |
| char* stat_file |
| int tos |
| char* user |
Definition at line 237 of file main.c.
Referenced by add_path(), add_path_received(), authorize(), check_user_blacklist(), cr_load_user_carrier(), diameter_is_user_in(), do_action(), mi_cpl_get(), mi_cpl_remove(), msg_presentity_clean(), parse_uri(), preload_udomain(), pres_htable_restore(), query_xcap_update(), radius_authorize_sterman(), radius_is_user_in(), radius_load_callee_avps(), radius_load_caller_avps(), record_route(), record_route_preset(), refresh_watcher(), run_log(), SessionLog(), and subst_user_f().
User-Agent header to be used when proxy generates request as UAC. Default is to use USER_AGENT CRLF (assigned later).
Definition at line 227 of file main.c.
Referenced by build_dlg_ack(), build_local(), and build_uac_req().
| char* working_dir |
1.5.6