|
jabberd2
2.2.16
|
#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
Definition at line 73 of file router.h.
Referenced by _router_pidfile(), _router_config_expand(), JABBER_MAIN(), aci_load(), filter_load(), and user_table_load().
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().
user table
Definition at line 80 of file router.h.
Referenced by filter_unload(), filter_load(), filter_packet(), and _router_process_route().
| time_t router_st::filter_load |
Definition at line 81 of file router.h.
Referenced by filter_load().
logging
Definition at line 84 of file router.h.
Referenced by _router_pidfile(), JABBER_MAIN(), filter_load(), filter_packet(), _route_add(), _router_process_bind(), _router_process_unbind(), _router_process_route(), _router_process_throttle(), _router_sx_callback(), _router_accept_check(), _router_route_unbind_walker(), router_mio_callback(), message_log(), and user_table_load().
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().
Definition at line 93 of file router.h.
Referenced by _router_config_expand().
| 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().
access controls
Definition at line 101 of file router.h.
Referenced by _router_config_expand(), and _router_accept_check().
connection rates
Definition at line 104 of file router.h.
Referenced by _router_config_expand(), and _router_accept_check().
Definition at line 105 of file router.h.
Referenced by _router_config_expand(), and _router_accept_check().
Definition at line 106 of file router.h.
Referenced by _router_config_expand(), and _router_accept_check().
Definition at line 108 of file router.h.
Referenced by JABBER_MAIN(), and _router_accept_check().
default byte rates (karma)
Definition at line 111 of file router.h.
Referenced by _router_config_expand(), and router_mio_callback().
Definition at line 112 of file router.h.
Referenced by _router_config_expand(), and router_mio_callback().
Definition at line 113 of file router.h.
Referenced by _router_config_expand(), and router_mio_callback().
sx environment
Definition at line 116 of file router.h.
Referenced by JABBER_MAIN(), and router_mio_callback().
Definition at line 117 of file router.h.
Referenced by JABBER_MAIN().
Definition at line 118 of file router.h.
Referenced by JABBER_MAIN().
Definition at line 128 of file router.h.
Referenced by _router_config_expand(), and _router_time_checks().
| time_t router_st::next_check |
attached components, key is 'ip:port', var is component_t
Definition at line 133 of file router.h.
Referenced by _router_time_checks(), JABBER_MAIN(), _router_process_route(), and router_mio_callback().
valid routes, key is route name (packet "to" address), var is component_t
Definition at line 136 of file router.h.
Referenced by JABBER_MAIN(), _router_advertise(), _router_process_bind(), _router_process_unbind(), _router_process_route(), _router_sx_callback(), and _router_route_unbind_walker().
| char* router_st::default_route |
default route, only one
Definition at line 139 of file router.h.
Referenced by _router_process_bind(), _router_process_unbind(), _router_process_route(), and _router_route_unbind_walker().
log sinks, key is route name, var is component_t
Definition at line 142 of file router.h.
Referenced by JABBER_MAIN(), _router_process_bind(), _router_process_unbind(), _router_process_route(), and _router_route_unbind_walker().
configured aliases
Definition at line 145 of file router.h.
Referenced by _router_config_expand(), _router_process_bind(), and _router_sx_callback().
access control lists
Definition at line 148 of file router.h.
Referenced by JABBER_MAIN(), and _router_process_bind().
list of sx_t waiting to be cleaned up
Definition at line 151 of file router.h.
Referenced by JABBER_MAIN().
list of mio_fd_t waiting to be closed
Definition at line 154 of file router.h.
Referenced by JABBER_MAIN(), and _router_sx_callback().
list of routes_t waiting to be cleaned up
Definition at line 157 of file router.h.
Referenced by JABBER_MAIN(), and _route_remove().
simple message logging
Definition at line 160 of file router.h.
Referenced by _router_config_expand(), and _router_process_route().
Definition at line 161 of file router.h.
Referenced by _router_config_expand(), _router_process_route(), and message_log().
1.7.5