jabberd2
2.5.0
|
a single component More...
#include <router.h>
Data Fields | |
router_t | r |
mio_fd_t | fd |
file descriptor More... | |
char | ip [INET6_ADDRSTRLEN] |
remote ip and port More... | |
int | port |
char | ipport [INET6_ADDRSTRLEN+6] |
ip:port pair More... | |
sx_t | s |
our stream More... | |
rate_t | rate |
rate limits More... | |
int | rate_log |
xht | routes |
valid routes to this component, key is route name More... | |
int | legacy |
true if this is an old component:accept stream More... | |
jqueue_t | tq |
throttle queue More... | |
time_t | last_activity |
timestamps for idle timeouts More... | |
router_t component_st::r |
Definition at line 169 of file router.h.
Referenced by _route_add(), _route_remove(), _router_process_bind(), _router_process_handshake(), _router_process_route(), _router_process_throttle(), _router_process_unbind(), _router_route_unbind_walker(), _router_sx_callback(), and router_mio_callback().
mio_fd_t component_st::fd |
file descriptor
Definition at line 172 of file router.h.
Referenced by _router_sx_callback(), _router_time_checks(), and router_mio_callback().
char component_st::ip[INET6_ADDRSTRLEN] |
remote ip and port
Definition at line 175 of file router.h.
Referenced by _router_comp_write(), _router_process_bind(), _router_process_route(), _router_process_throttle(), _router_process_unbind(), _router_route_log_sink(), _router_sx_callback(), and router_mio_callback().
int component_st::port |
Definition at line 176 of file router.h.
Referenced by _router_comp_write(), _router_process_bind(), _router_process_route(), _router_process_throttle(), _router_process_unbind(), _router_route_log_sink(), _router_sx_callback(), and router_mio_callback().
char component_st::ipport[INET6_ADDRSTRLEN+6] |
sx_t component_st::s |
our stream
Definition at line 182 of file router.h.
Referenced by _router_advertise_reverse(), _router_broadcast(), _router_comp_write(), _router_process_bind(), _router_process_handshake(), _router_process_unbind(), _router_sx_callback(), _router_time_checks(), JABBER_MAIN(), and router_mio_callback().
rate_t component_st::rate |
rate limits
Definition at line 185 of file router.h.
Referenced by _router_sx_callback(), and router_mio_callback().
int component_st::rate_log |
Definition at line 186 of file router.h.
Referenced by _router_sx_callback().
xht component_st::routes |
valid routes to this component, key is route name
Definition at line 189 of file router.h.
Referenced by _router_process_bind(), _router_process_route(), _router_process_unbind(), _router_route_unbind_walker(), _router_sx_callback(), and router_mio_callback().
int component_st::legacy |
true if this is an old component:accept stream
Definition at line 192 of file router.h.
Referenced by _router_broadcast(), _router_comp_write(), and _router_sx_callback().
jqueue_t component_st::tq |
throttle queue
Definition at line 195 of file router.h.
Referenced by _router_comp_write(), _router_process_throttle(), and router_mio_callback().
time_t component_st::last_activity |
timestamps for idle timeouts
Definition at line 198 of file router.h.
Referenced by _router_time_checks(), and router_mio_callback().