jabberd2  2.6.1
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 69 of file router.h.

Field Documentation

◆ id

const char* router_st::id

our id

Definition at line 71 of file router.h.

Referenced by _router_config_expand().

◆ config

config_t router_st::config

◆ users

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

◆ users_load

time_t router_st::users_load

Definition at line 78 of file router.h.

Referenced by user_table_load().

◆ filter

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

◆ filter_load

time_t router_st::filter_load

Definition at line 82 of file router.h.

Referenced by filter_load().

◆ log

log_t router_st::log

◆ log_type

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

◆ log_facility

const char* router_st::log_facility

Definition at line 89 of file router.h.

Referenced by _router_config_expand(), and JABBER_MAIN().

◆ log_ident

const char* router_st::log_ident

Definition at line 90 of file router.h.

Referenced by _router_config_expand(), and JABBER_MAIN().

◆ local_ip

const char* router_st::local_ip

how we listen for stuff

Definition at line 93 of file router.h.

Referenced by _router_config_expand().

◆ local_port

int router_st::local_port

Definition at line 94 of file router.h.

Referenced by _router_config_expand().

◆ local_secret

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

◆ local_pemfile

const char* router_st::local_pemfile

Definition at line 96 of file router.h.

Referenced by _router_config_expand(), and JABBER_MAIN().

◆ local_private_key_password

const char* router_st::local_private_key_password

Definition at line 97 of file router.h.

Referenced by _router_config_expand(), and JABBER_MAIN().

◆ local_ciphers

const char* router_st::local_ciphers

Definition at line 98 of file router.h.

Referenced by _router_config_expand(), and JABBER_MAIN().

◆ io_max_fds

int router_st::io_max_fds

max file descriptors

Definition at line 101 of file router.h.

Referenced by _router_config_expand().

◆ access

access_t router_st::access

access controls

Definition at line 104 of file router.h.

Referenced by _router_accept_check(), and _router_config_expand().

◆ conn_rate_total

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

◆ conn_rate_seconds

int router_st::conn_rate_seconds

Definition at line 108 of file router.h.

Referenced by _router_accept_check(), and _router_config_expand().

◆ conn_rate_wait

int router_st::conn_rate_wait

Definition at line 109 of file router.h.

Referenced by _router_accept_check(), and _router_config_expand().

◆ conn_rates

xht router_st::conn_rates

Definition at line 111 of file router.h.

Referenced by _router_accept_check(), and JABBER_MAIN().

◆ byte_rate_total

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

◆ byte_rate_seconds

int router_st::byte_rate_seconds

Definition at line 115 of file router.h.

Referenced by _router_config_expand(), and router_mio_callback().

◆ byte_rate_wait

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

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_ssl

sx_plugin_t router_st::sx_ssl

Definition at line 120 of file router.h.

Referenced by JABBER_MAIN().

◆ sx_sasl

sx_plugin_t router_st::sx_sasl

Definition at line 121 of file router.h.

Referenced by JABBER_MAIN().

◆ mio

mio_t router_st::mio

managed io

Definition at line 124 of file router.h.

Referenced by _router_sx_callback().

◆ fd

mio_fd_t router_st::fd

listening socket

Definition at line 127 of file router.h.

Referenced by router_mio_callback().

◆ check_interval

int router_st::check_interval

time checks

Definition at line 130 of file router.h.

Referenced by _router_config_expand().

◆ check_keepalive

int router_st::check_keepalive

Definition at line 131 of file router.h.

Referenced by _router_config_expand(), and _router_time_checks().

◆ next_check

time_t router_st::next_check

Definition at line 133 of file router.h.

◆ components

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

◆ routes

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

◆ default_route

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

◆ log_sinks

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

◆ aliases

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

◆ aci

xht router_st::aci

access control lists

Definition at line 151 of file router.h.

Referenced by _router_process_bind(), and JABBER_MAIN().

◆ dead

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

◆ closefd

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

◆ deadroutes

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

◆ message_logging_enabled

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

◆ message_logging_file

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


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