|
jabberd2
2.2.16
|
#include <s2s.h>
Data Fields | |
| char * | id |
| our id (hostname) with the router | |
| char * | router_ip |
| how to connect to the router | |
| int | router_port |
| char * | router_user |
| char * | router_pass |
| char * | router_pemfile |
| int | router_default |
| mio_t | mio |
| mio context | |
| sx_env_t | sx_env |
| sx environment | |
| sx_plugin_t | sx_ssl |
| sx_plugin_t | sx_sasl |
| sx_plugin_t | sx_db |
| sx_t | router |
| router's conn | |
| mio_fd_t | fd |
| mio_fd_t | server_fd |
| listening sockets | |
| config_t | config |
| config | |
| log_t | log |
| logging | |
| log_type_t | log_type |
| log data | |
| char * | log_facility |
| char * | log_ident |
| long long int | packet_count |
| packet counter | |
| char * | packet_stats |
| int | retry_init |
| connect retry | |
| int | retry_lost |
| int | retry_sleep |
| int | retry_left |
| char * | local_ip |
| ip/port to listen on | |
| int | local_port |
| char ** | origin_ips |
| ip(s) to originate connections from | |
| int | origin_nips |
| char * | local_secret |
| dialback secret | |
| char * | local_pemfile |
| pemfile for peer connections | |
| char * | local_cachain |
| certificate chain | |
| int | local_verify_mode |
| verify-mode | |
| xht | hosts |
| hosts mapping | |
| int | io_max_fds |
| max file descriptors | |
| int | stanza_size_limit |
| maximum stanza size | |
| int | compression |
| enable Stream Compression | |
| char ** | lookup_srv |
| srvs to lookup | |
| int | lookup_nsrv |
| int | resolve_aaaa |
| if we resolve AAAA records | |
| int | dns_min_ttl |
| dns ttl limits | |
| int | dns_max_ttl |
| int | etc_hosts_ttl |
| /etc/hosts ttl limits | |
| int | check_interval |
| time checks | |
| int | check_queue |
| int | check_invalid |
| int | check_keepalive |
| int | check_idle |
| int | check_dnscache |
| int | retry_limit |
| time_t | last_queue_check |
| time_t | last_invalid_check |
| time_t | next_check |
| time_t | next_expiry |
| int | require_tls |
| Apple security options. | |
| int | enable_whitelist |
| char ** | whitelist_domains |
| int | n_whitelist_domains |
| jqueue_t | dead |
| list of sx_t on the way out | |
| jqueue_t | dead_conn |
| list of conn_t on the way out | |
| int | started |
| this is true if we've connected to the router at least once | |
| int | online |
| true if we're bound in the router | |
| xht | outq |
| queues of packets waiting to go out (key is route) | |
| int | out_reuse |
| reuse outgoing conns keyed by ip/port | |
| xht | out_host |
| outgoing conns (key is ip/port) | |
| xht | out_dest |
| outgoing conns (key is dest) | |
| xht | in |
| incoming conns (key is stream id) | |
| xht | in_accept |
| incoming conns prior to stream initiation (key is ip/port) | |
| int | udns_fd |
| udns fds | |
| mio_fd_t | udns_mio_fd |
| xht | dnscache |
| dns resolution cache | |
| int | dns_cache_enabled |
| xht | dns_bad |
| dns resolution bad host cache | |
| int | dns_bad_timeout |
| char* s2s_st::id |
our id (hostname) with the router
Definition at line 62 of file s2s.h.
Referenced by _s2s_config_expand(), s2s_router_sx_callback(), and _in_packet().
| char* s2s_st::router_ip |
how to connect to the router
Definition at line 65 of file s2s.h.
Referenced by _s2s_config_expand(), and _s2s_router_connect().
Definition at line 66 of file s2s.h.
Referenced by _s2s_config_expand(), and _s2s_router_connect().
| char* s2s_st::router_user |
Definition at line 67 of file s2s.h.
Referenced by _s2s_config_expand(), and s2s_router_sx_callback().
| char* s2s_st::router_pass |
Definition at line 68 of file s2s.h.
Referenced by _s2s_config_expand(), and s2s_router_sx_callback().
| char* s2s_st::router_pemfile |
Definition at line 69 of file s2s.h.
Referenced by _s2s_config_expand(), JABBER_MAIN(), and s2s_router_sx_callback().
Definition at line 70 of file s2s.h.
Referenced by _s2s_config_expand(), and s2s_router_sx_callback().
mio context
Definition at line 73 of file s2s.h.
Referenced by _s2s_router_connect(), JABBER_MAIN(), s2s_router_sx_callback(), _in_sx_callback(), out_route(), and _out_sx_callback().
sx environment
Definition at line 76 of file s2s.h.
Referenced by _s2s_hosts_expand(), JABBER_MAIN(), in_mio_callback(), and out_route().
Definition at line 77 of file s2s.h.
Referenced by _s2s_hosts_expand(), JABBER_MAIN(), s2s_router_sx_callback(), in_mio_callback(), out_route(), and _out_sx_callback().
Definition at line 78 of file s2s.h.
Referenced by JABBER_MAIN(), and s2s_router_sx_callback().
Definition at line 79 of file s2s.h.
Referenced by JABBER_MAIN().
router's conn
Definition at line 82 of file s2s.h.
Referenced by s2s_router_sx_callback(), s2s_router_mio_callback(), _in_packet(), and out_bounce_route_queue().
Definition at line 83 of file s2s.h.
Referenced by _s2s_router_connect(), and s2s_router_sx_callback().
listening sockets
Definition at line 86 of file s2s.h.
Referenced by s2s_router_sx_callback(), and in_mio_callback().
config
Definition at line 89 of file s2s.h.
Referenced by _s2s_pidfile(), _s2s_config_expand(), _s2s_hosts_expand(), and JABBER_MAIN().
logging
Definition at line 92 of file s2s.h.
Referenced by _s2s_pidfile(), _s2s_hosts_expand(), _s2s_router_connect(), _s2s_check_conn_routes(), _s2s_time_checks(), s2s_domain_in_whitelist(), JABBER_MAIN(), s2s_router_sx_callback(), s2s_router_mio_callback(), in_mio_callback(), _in_sx_callback(), _in_result(), _in_verify(), _in_packet(), _out_dialback(), out_route(), out_packet(), _dns_result_a(), dns_resolve_domain(), out_resolve(), _out_mio_callback(), _out_sx_callback(), _out_result(), and _out_verify().
log data
Definition at line 95 of file s2s.h.
Referenced by _s2s_config_expand(), and JABBER_MAIN().
| char* s2s_st::log_facility |
Definition at line 96 of file s2s.h.
Referenced by _s2s_config_expand(), and JABBER_MAIN().
| char* s2s_st::log_ident |
Definition at line 97 of file s2s.h.
Referenced by _s2s_config_expand(), and JABBER_MAIN().
| long long int s2s_st::packet_count |
packet counter
Definition at line 100 of file s2s.h.
Referenced by _in_sx_callback(), and _out_sx_callback().
| char* s2s_st::packet_stats |
Definition at line 101 of file s2s.h.
Referenced by _s2s_config_expand().
Definition at line 105 of file s2s.h.
Referenced by _s2s_config_expand(), and s2s_router_sx_callback().
Definition at line 106 of file s2s.h.
Referenced by _s2s_config_expand().
Definition at line 107 of file s2s.h.
Referenced by s2s_router_sx_callback().
| char* s2s_st::local_ip |
ip/port to listen on
Definition at line 110 of file s2s.h.
Referenced by _s2s_config_expand(), and s2s_router_sx_callback().
Definition at line 111 of file s2s.h.
Referenced by _s2s_config_expand(), and s2s_router_sx_callback().
| char** s2s_st::origin_ips |
ip(s) to originate connections from
Definition at line 114 of file s2s.h.
Referenced by _s2s_config_expand(), and out_route().
Definition at line 115 of file s2s.h.
Referenced by _s2s_config_expand(), and out_route().
| char* s2s_st::local_secret |
dialback secret
Definition at line 118 of file s2s.h.
Referenced by _s2s_config_expand(), _in_verify(), and _out_dialback().
| char* s2s_st::local_pemfile |
pemfile for peer connections
Definition at line 121 of file s2s.h.
Referenced by _s2s_config_expand(), JABBER_MAIN(), and _out_sx_callback().
| char* s2s_st::local_cachain |
certificate chain
Definition at line 124 of file s2s.h.
Referenced by _s2s_config_expand(), and JABBER_MAIN().
verify-mode
Definition at line 127 of file s2s.h.
Referenced by _s2s_config_expand(), and JABBER_MAIN().
hosts mapping
Definition at line 130 of file s2s.h.
Referenced by _s2s_hosts_expand(), and JABBER_MAIN().
max file descriptors
Definition at line 133 of file s2s.h.
Referenced by _s2s_config_expand(), and JABBER_MAIN().
maximum stanza size
Definition at line 136 of file s2s.h.
Referenced by _s2s_config_expand(), and in_mio_callback().
enable Stream Compression
Definition at line 139 of file s2s.h.
Referenced by _s2s_config_expand(), JABBER_MAIN(), and in_mio_callback().
| char** s2s_st::lookup_srv |
srvs to lookup
Definition at line 142 of file s2s.h.
Referenced by _s2s_config_expand(), and _dns_result_srv().
Definition at line 143 of file s2s.h.
Referenced by _s2s_config_expand(), and _dns_result_srv().
if we resolve AAAA records
Definition at line 146 of file s2s.h.
Referenced by _s2s_config_expand(), _dns_result_srv(), and _dns_result_a().
dns ttl limits
Definition at line 149 of file s2s.h.
Referenced by _s2s_config_expand(), and _dns_result_a().
Definition at line 150 of file s2s.h.
Referenced by _s2s_config_expand(), and _dns_result_a().
/etc/hosts ttl limits
Definition at line 153 of file s2s.h.
Referenced by _s2s_config_expand(), and _dns_result_a().
time checks
Definition at line 156 of file s2s.h.
Referenced by _s2s_config_expand(), and JABBER_MAIN().
Definition at line 157 of file s2s.h.
Referenced by _s2s_config_expand(), _s2s_check_conn_routes(), _s2s_time_checks(), and JABBER_MAIN().
Definition at line 159 of file s2s.h.
Referenced by _s2s_config_expand(), _s2s_time_checks(), and JABBER_MAIN().
Definition at line 160 of file s2s.h.
Referenced by _s2s_config_expand(), _s2s_time_checks(), and JABBER_MAIN().
Definition at line 161 of file s2s.h.
Referenced by _s2s_config_expand().
Definition at line 162 of file s2s.h.
Referenced by _s2s_config_expand(), and _out_mio_callback().
| time_t s2s_st::last_queue_check |
| time_t s2s_st::last_invalid_check |
| time_t s2s_st::next_check |
| time_t s2s_st::next_expiry |
Apple security options.
Definition at line 171 of file s2s.h.
Referenced by _s2s_config_expand(), _in_sx_callback(), out_packet(), and _out_sx_callback().
Definition at line 172 of file s2s.h.
Referenced by _s2s_config_expand(), _in_sx_callback(), and out_packet().
| char** s2s_st::whitelist_domains |
Definition at line 173 of file s2s.h.
Referenced by _s2s_populate_whitelist_domains(), and s2s_domain_in_whitelist().
Definition at line 174 of file s2s.h.
Referenced by _s2s_populate_whitelist_domains(), and s2s_domain_in_whitelist().
list of sx_t on the way out
Definition at line 177 of file s2s.h.
Referenced by JABBER_MAIN(), in_mio_callback(), and _out_mio_callback().
list of conn_t on the way out
Definition at line 180 of file s2s.h.
Referenced by JABBER_MAIN(), in_mio_callback(), and _out_mio_callback().
| int s2s_st::started |
this is true if we've connected to the router at least once
Definition at line 183 of file s2s.h.
Referenced by s2s_router_sx_callback().
| int s2s_st::online |
true if we're bound in the router
Definition at line 186 of file s2s.h.
Referenced by s2s_router_sx_callback(), and s2s_router_mio_callback().
queues of packets waiting to go out (key is route)
Definition at line 189 of file s2s.h.
Referenced by _s2s_time_checks(), JABBER_MAIN(), _out_packet_queue(), _out_mio_callback(), out_bounce_domain_queues(), out_bounce_route_queue(), out_flush_domain_queues(), and out_flush_route_queue().
reuse outgoing conns keyed by ip/port
Definition at line 192 of file s2s.h.
Referenced by _s2s_config_expand(), _s2s_time_checks(), dns_select(), out_route(), and _out_mio_callback().
outgoing conns (key is ip/port)
Definition at line 195 of file s2s.h.
Referenced by _s2s_time_checks(), JABBER_MAIN(), dns_select(), out_route(), and _out_mio_callback().
outgoing conns (key is dest)
Definition at line 198 of file s2s.h.
Referenced by _s2s_time_checks(), JABBER_MAIN(), out_route(), and _out_mio_callback().
incoming conns (key is stream id)
Definition at line 201 of file s2s.h.
Referenced by _s2s_time_checks(), JABBER_MAIN(), in_mio_callback(), _in_sx_callback(), and _out_verify().
incoming conns prior to stream initiation (key is ip/port)
Definition at line 204 of file s2s.h.
Referenced by _s2s_time_checks(), JABBER_MAIN(), and in_mio_callback().
| int s2s_st::udns_fd |
Definition at line 208 of file s2s.h.
Referenced by JABBER_MAIN().
dns resolution cache
Definition at line 211 of file s2s.h.
Referenced by _s2s_time_checks(), _s2s_dns_expiry(), JABBER_MAIN(), out_route(), and out_resolve().
Definition at line 212 of file s2s.h.
Referenced by _s2s_config_expand(), and out_resolve().
dns resolution bad host cache
Definition at line 215 of file s2s.h.
Referenced by _s2s_time_checks(), _s2s_dns_expiry(), JABBER_MAIN(), _out_dns_mark_bad(), dns_select(), and send_dialbacks().
Definition at line 216 of file s2s.h.
Referenced by _s2s_config_expand(), _s2s_time_checks(), _out_dns_mark_bad(), dns_select(), and send_dialbacks().
1.7.5