|
jabberd2
2.2.17
|
a single component More...
#include <router.h>
Data Fields | |
| router_t | r |
| mio_fd_t | fd |
| file descriptor | |
| char | ip [INET6_ADDRSTRLEN] |
| remote ip and port | |
| int | port |
| char | ipport [INET6_ADDRSTRLEN+6] |
| ip:port pair | |
| sx_t | s |
| our stream | |
| rate_t | rate |
| rate limits | |
| int | rate_log |
| xht | routes |
| valid routes to this component, key is route name | |
| int | legacy |
| true if this is an old component:accept stream | |
| jqueue_t | tq |
| throttle queue | |
| time_t | last_activity |
| timestamps for idle timeouts | |
| router_t component_st::r |
Definition at line 166 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 169 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 172 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 173 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 179 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 182 of file router.h.
Referenced by _router_sx_callback(), and router_mio_callback().
| int component_st::rate_log |
Definition at line 183 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 186 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 189 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 192 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 195 of file router.h.
Referenced by _router_time_checks(), and router_mio_callback().
1.8.1.1