jabberd2
2.7.0
|
#include <router.h>
Data Fields | |
const char * | id |
our id More... | |
config_t | config |
config More... | |
xht | users |
user table More... | |
time_t | users_load |
acl_t | filter |
user table More... | |
time_t | filter_load |
log_t | log |
logging More... | |
log_type_t | log_type |
log data More... | |
const char * | log_facility |
const char * | log_ident |
const char * | local_ip |
how we listen for stuff More... | |
int | local_port |
const char * | local_secret |
const char * | local_pemfile |
const char * | local_private_key_password |
const char * | local_ciphers |
int | io_max_fds |
max file descriptors More... | |
access_t | access |
access controls More... | |
int | conn_rate_total |
connection rates More... | |
int | conn_rate_seconds |
int | conn_rate_wait |
xht | conn_rates |
int | byte_rate_total |
default byte rates (karma) More... | |
int | byte_rate_seconds |
int | byte_rate_wait |
sx_env_t | sx_env |
sx environment More... | |
sx_plugin_t | sx_ssl |
sx_plugin_t | sx_sasl |
mio_t | mio |
managed io More... | |
mio_fd_t | fd |
listening socket More... | |
int | check_interval |
time checks More... | |
int | check_keepalive |
time_t | next_check |
xht | components |
attached components, key is 'ip:port', var is component_t More... | |
xht | routes |
valid routes, key is route name (packet "to" address), var is component_t More... | |
const char * | default_route |
default route, only one More... | |
xht | log_sinks |
log sinks, key is route name, var is component_t More... | |
alias_t | aliases |
configured aliases More... | |
xht | aci |
access control lists More... | |
jqueue_t | dead |
list of sx_t waiting to be cleaned up More... | |
jqueue_t | closefd |
list of mio_fd_t waiting to be closed More... | |
jqueue_t | deadroutes |
list of routes_t waiting to be cleaned up More... | |
int | message_logging_enabled |
simple message logging More... | |
const char * | message_logging_file |
const char* router_st::id |
config_t router_st::config |
config
Definition at line 74 of file router.h.
Referenced by _router_config_expand(), _router_pidfile(), aci_load(), filter_load(), JABBER_MAIN(), and user_table_load().
xht router_st::users |
user table
Definition at line 77 of file router.h.
Referenced by _router_sx_sasl_callback(), user_table_load(), and user_table_unload().
time_t router_st::users_load |
Definition at line 78 of file router.h.
Referenced by user_table_load().
acl_t router_st::filter |
user table
Definition at line 81 of file router.h.
Referenced by _router_process_route(), filter_load(), filter_packet(), and filter_unload().
time_t router_st::filter_load |
Definition at line 82 of file router.h.
Referenced by filter_load().
log_t router_st::log |
logging
Definition at line 85 of file router.h.
Referenced by _route_add(), _router_accept_check(), _router_pidfile(), _router_process_bind(), _router_process_route(), _router_process_throttle(), _router_process_unbind(), _router_route_unbind_walker(), _router_sx_callback(), filter_load(), filter_packet(), JABBER_MAIN(), message_log(), router_mio_callback(), and user_table_load().
log_type_t router_st::log_type |
log data
Definition at line 88 of file router.h.
Referenced by _router_config_expand(), and JABBER_MAIN().
const char* router_st::log_facility |
Definition at line 89 of file router.h.
Referenced by _router_config_expand(), and JABBER_MAIN().
const char* router_st::log_ident |
Definition at line 90 of file router.h.
Referenced by _router_config_expand(), and JABBER_MAIN().
const char* router_st::local_ip |
how we listen for stuff
Definition at line 93 of file router.h.
Referenced by _router_config_expand().
int router_st::local_port |
Definition at line 94 of file router.h.
Referenced by _router_config_expand().
const char* router_st::local_secret |
Definition at line 95 of file router.h.
Referenced by _router_config_expand(), _router_process_handshake(), and _router_sx_callback().
const char* router_st::local_pemfile |
Definition at line 96 of file router.h.
Referenced by _router_config_expand(), and JABBER_MAIN().
const char* router_st::local_private_key_password |
Definition at line 97 of file router.h.
Referenced by _router_config_expand(), and JABBER_MAIN().
const char* router_st::local_ciphers |
Definition at line 98 of file router.h.
Referenced by _router_config_expand(), and JABBER_MAIN().
int router_st::io_max_fds |
max file descriptors
Definition at line 101 of file router.h.
Referenced by _router_config_expand().
access_t router_st::access |
access controls
Definition at line 104 of file router.h.
Referenced by _router_accept_check(), and _router_config_expand().
int router_st::conn_rate_total |
connection rates
Definition at line 107 of file router.h.
Referenced by _router_accept_check(), and _router_config_expand().
int router_st::conn_rate_seconds |
Definition at line 108 of file router.h.
Referenced by _router_accept_check(), and _router_config_expand().
int router_st::conn_rate_wait |
Definition at line 109 of file router.h.
Referenced by _router_accept_check(), and _router_config_expand().
xht router_st::conn_rates |
Definition at line 111 of file router.h.
Referenced by _router_accept_check(), and JABBER_MAIN().
int router_st::byte_rate_total |
default byte rates (karma)
Definition at line 114 of file router.h.
Referenced by _router_config_expand(), and router_mio_callback().
int router_st::byte_rate_seconds |
Definition at line 115 of file router.h.
Referenced by _router_config_expand(), and router_mio_callback().
int router_st::byte_rate_wait |
Definition at line 116 of file router.h.
Referenced by _router_config_expand(), and router_mio_callback().
sx_env_t router_st::sx_env |
sx environment
Definition at line 119 of file router.h.
Referenced by JABBER_MAIN(), and router_mio_callback().
sx_plugin_t router_st::sx_ssl |
Definition at line 120 of file router.h.
Referenced by JABBER_MAIN().
sx_plugin_t router_st::sx_sasl |
Definition at line 121 of file router.h.
Referenced by JABBER_MAIN().
mio_t router_st::mio |
mio_fd_t router_st::fd |
int router_st::check_interval |
int router_st::check_keepalive |
Definition at line 131 of file router.h.
Referenced by _router_config_expand(), and _router_time_checks().
xht router_st::components |
attached components, key is 'ip:port', var is component_t
Definition at line 136 of file router.h.
Referenced by _router_process_route(), _router_time_checks(), JABBER_MAIN(), and router_mio_callback().
xht router_st::routes |
valid routes, key is route name (packet "to" address), var is component_t
Definition at line 139 of file router.h.
Referenced by _router_advertise(), _router_process_bind(), _router_process_route(), _router_process_unbind(), _router_route_unbind_walker(), _router_sx_callback(), and JABBER_MAIN().
const char* router_st::default_route |
default route, only one
Definition at line 142 of file router.h.
Referenced by _router_process_bind(), _router_process_route(), _router_process_unbind(), and _router_route_unbind_walker().
xht router_st::log_sinks |
log sinks, key is route name, var is component_t
Definition at line 145 of file router.h.
Referenced by _router_process_bind(), _router_process_route(), _router_process_unbind(), _router_route_unbind_walker(), and JABBER_MAIN().
alias_t router_st::aliases |
configured aliases
Definition at line 148 of file router.h.
Referenced by _router_config_expand(), _router_process_bind(), and _router_sx_callback().
xht router_st::aci |
access control lists
Definition at line 151 of file router.h.
Referenced by _router_process_bind(), and JABBER_MAIN().
jqueue_t router_st::dead |
list of sx_t waiting to be cleaned up
Definition at line 154 of file router.h.
Referenced by JABBER_MAIN().
jqueue_t router_st::closefd |
list of mio_fd_t waiting to be closed
Definition at line 157 of file router.h.
Referenced by _router_sx_callback(), and JABBER_MAIN().
jqueue_t router_st::deadroutes |
list of routes_t waiting to be cleaned up
Definition at line 160 of file router.h.
Referenced by _route_remove(), and JABBER_MAIN().
int router_st::message_logging_enabled |
simple message logging
Definition at line 163 of file router.h.
Referenced by _router_config_expand(), and _router_process_route().
const char* router_st::message_logging_file |
Definition at line 164 of file router.h.
Referenced by _router_config_expand(), _router_process_route(), and message_log().