jabberd2  2.3.4
Data Fields
router_st Struct Reference

#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
 

Detailed Description

Definition at line 68 of file router.h.

Field Documentation

const char* router_st::id

our id

Definition at line 70 of file router.h.

Referenced by _router_config_expand().

config_t router_st::config
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
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().

const char* router_st::log_facility

Definition at line 88 of file router.h.

Referenced by _router_config_expand(), and JABBER_MAIN().

const char* router_st::log_ident

Definition at line 89 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 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().

const 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().

const char* router_st::local_pemfile

Definition at line 95 of file router.h.

Referenced by _router_config_expand(), and JABBER_MAIN().

const char* router_st::local_private_key_password

Definition at line 96 of file router.h.

Referenced by _router_config_expand(), and JABBER_MAIN().

const char* router_st::local_ciphers

Definition at line 97 of file router.h.

Referenced by _router_config_expand(), and JABBER_MAIN().

int router_st::io_max_fds

max file descriptors

Definition at line 100 of file router.h.

Referenced by _router_config_expand(), and JABBER_MAIN().

access_t router_st::access

access controls

Definition at line 103 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 106 of file router.h.

Referenced by _router_accept_check(), and _router_config_expand().

int router_st::conn_rate_seconds

Definition at line 107 of file router.h.

Referenced by _router_accept_check(), and _router_config_expand().

int router_st::conn_rate_wait

Definition at line 108 of file router.h.

Referenced by _router_accept_check(), and _router_config_expand().

xht router_st::conn_rates

Definition at line 110 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 113 of file router.h.

Referenced by _router_config_expand(), and router_mio_callback().

int router_st::byte_rate_seconds

Definition at line 114 of file router.h.

Referenced by _router_config_expand(), and router_mio_callback().

int router_st::byte_rate_wait

Definition at line 115 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 118 of file router.h.

Referenced by JABBER_MAIN(), and router_mio_callback().

sx_plugin_t router_st::sx_ssl

Definition at line 119 of file router.h.

Referenced by JABBER_MAIN().

sx_plugin_t router_st::sx_sasl

Definition at line 120 of file router.h.

Referenced by JABBER_MAIN().

mio_t router_st::mio

managed io

Definition at line 123 of file router.h.

Referenced by _router_sx_callback(), and JABBER_MAIN().

mio_fd_t router_st::fd

listening socket

Definition at line 126 of file router.h.

Referenced by JABBER_MAIN().

int router_st::check_interval

time checks

Definition at line 129 of file router.h.

Referenced by _router_config_expand(), and JABBER_MAIN().

int router_st::check_keepalive

Definition at line 130 of file router.h.

Referenced by _router_config_expand(), and _router_time_checks().

time_t router_st::next_check

Definition at line 132 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 135 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 138 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 141 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 144 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 147 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 150 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 153 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 156 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 159 of file router.h.

Referenced by _route_remove(), and JABBER_MAIN().

int router_st::message_logging_enabled

simple message logging

Definition at line 162 of file router.h.

Referenced by _router_config_expand(), and _router_process_route().

const char* router_st::message_logging_file

Definition at line 163 of file router.h.

Referenced by _router_config_expand(), _router_process_route(), and message_log().


The documentation for this struct was generated from the following file: