|
jabberd2
2.2.17
|
#include <router.h>
Data Fields | |
| char * | id |
| our id | |
| config_t | config |
| config | |
| xht | users |
| user table | |
| time_t | users_load |
| acl_t | filter |
| user table | |
| time_t | filter_load |
| log_t | log |
| logging | |
| log_type_t | log_type |
| log data | |
| char * | log_facility |
| char * | log_ident |
| char * | local_ip |
| how we listen for stuff | |
| int | local_port |
| char * | local_secret |
| char * | local_pemfile |
| int | io_max_fds |
| max file descriptors | |
| access_t | access |
| access controls | |
| int | conn_rate_total |
| connection rates | |
| int | conn_rate_seconds |
| int | conn_rate_wait |
| xht | conn_rates |
| int | byte_rate_total |
| default byte rates (karma) | |
| int | byte_rate_seconds |
| int | byte_rate_wait |
| sx_env_t | sx_env |
| sx environment | |
| sx_plugin_t | sx_ssl |
| sx_plugin_t | sx_sasl |
| mio_t | mio |
| managed io | |
| mio_fd_t | fd |
| listening socket | |
| int | check_interval |
| time checks | |
| int | check_keepalive |
| time_t | next_check |
| xht | components |
| attached components, key is 'ip:port', var is component_t | |
| xht | routes |
| valid routes, key is route name (packet "to" address), var is component_t | |
| char * | default_route |
| default route, only one | |
| xht | log_sinks |
| log sinks, key is route name, var is component_t | |
| alias_t | aliases |
| configured aliases | |
| xht | aci |
| access control lists | |
| jqueue_t | dead |
| list of sx_t waiting to be cleaned up | |
| jqueue_t | closefd |
| list of mio_fd_t waiting to be closed | |
| jqueue_t | deadroutes |
| list of routes_t waiting to be cleaned up | |
| int | message_logging_enabled |
| simple message logging | |
| char * | message_logging_file |
| char* router_st::id |
| config_t router_st::config |
config
Definition at line 73 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 76 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 77 of file router.h.
Referenced by user_table_load().
| acl_t router_st::filter |
user table
Definition at line 80 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 81 of file router.h.
Referenced by filter_load().
| log_t router_st::log |
logging
Definition at line 84 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 87 of file router.h.
Referenced by _router_config_expand(), and JABBER_MAIN().
| char* router_st::log_facility |
Definition at line 88 of file router.h.
Referenced by _router_config_expand(), and JABBER_MAIN().
| char* router_st::log_ident |
Definition at line 89 of file router.h.
Referenced by _router_config_expand(), and JABBER_MAIN().
| char* router_st::local_ip |
how we listen for stuff
Definition at line 92 of file router.h.
Referenced by _router_config_expand(), and JABBER_MAIN().
| int router_st::local_port |
Definition at line 93 of file router.h.
Referenced by _router_config_expand(), and JABBER_MAIN().
| char* router_st::local_secret |
Definition at line 94 of file router.h.
Referenced by _router_config_expand(), _router_process_handshake(), and _router_sx_callback().
| char* router_st::local_pemfile |
Definition at line 95 of file router.h.
Referenced by _router_config_expand(), and JABBER_MAIN().
| int router_st::io_max_fds |
max file descriptors
Definition at line 98 of file router.h.
Referenced by _router_config_expand(), and JABBER_MAIN().
| access_t router_st::access |
access controls
Definition at line 101 of file router.h.
Referenced by _router_accept_check(), _router_config_expand(), and JABBER_MAIN().
| int router_st::conn_rate_total |
connection rates
Definition at line 104 of file router.h.
Referenced by _router_accept_check(), and _router_config_expand().
| int router_st::conn_rate_seconds |
Definition at line 105 of file router.h.
Referenced by _router_accept_check(), and _router_config_expand().
| int router_st::conn_rate_wait |
Definition at line 106 of file router.h.
Referenced by _router_accept_check(), and _router_config_expand().
| xht router_st::conn_rates |
Definition at line 108 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 111 of file router.h.
Referenced by _router_config_expand(), and router_mio_callback().
| int router_st::byte_rate_seconds |
Definition at line 112 of file router.h.
Referenced by _router_config_expand(), and router_mio_callback().
| int router_st::byte_rate_wait |
Definition at line 113 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 116 of file router.h.
Referenced by JABBER_MAIN(), and router_mio_callback().
| sx_plugin_t router_st::sx_ssl |
Definition at line 117 of file router.h.
Referenced by JABBER_MAIN().
| sx_plugin_t router_st::sx_sasl |
Definition at line 118 of file router.h.
Referenced by JABBER_MAIN().
| mio_t router_st::mio |
managed io
Definition at line 121 of file router.h.
Referenced by _router_sx_callback(), and JABBER_MAIN().
| mio_fd_t router_st::fd |
| int router_st::check_interval |
time checks
Definition at line 127 of file router.h.
Referenced by _router_config_expand(), and JABBER_MAIN().
| int router_st::check_keepalive |
Definition at line 128 of file router.h.
Referenced by _router_config_expand(), and _router_time_checks().
| time_t router_st::next_check |
Definition at line 130 of file router.h.
Referenced by JABBER_MAIN().
| xht router_st::components |
attached components, key is 'ip:port', var is component_t
Definition at line 133 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 136 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().
| char* router_st::default_route |
default route, only one
Definition at line 139 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 142 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 145 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 148 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 151 of file router.h.
Referenced by JABBER_MAIN(), and router_mio_callback().
| jqueue_t router_st::closefd |
list of mio_fd_t waiting to be closed
Definition at line 154 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 157 of file router.h.
Referenced by _route_remove(), and JABBER_MAIN().
| int router_st::message_logging_enabled |
simple message logging
Definition at line 160 of file router.h.
Referenced by _router_config_expand(), and _router_process_route().
| char* router_st::message_logging_file |
Definition at line 161 of file router.h.
Referenced by _router_config_expand(), _router_process_route(), and message_log().
1.8.1.1