jabberd2  2.2.17
Data Fields
conn_st Struct Reference

#include <s2s.h>

Data Fields

s2s_t s2s
char * key
char * dkey
sx_t s
mio_fd_t fd
char ip [INET6_ADDRSTRLEN+1]
int port
xht states
 states of outgoing dialbacks (key is local/remote)
xht states_time
 time of the last state change (key is local/remote)
xht routes
 routes that this conn handles (key is local/remote)
time_t init_time
int online
int verify
 number and last timestamp of outstanding db:verify requests
time_t last_verify
time_t last_activity
 timestamps for idle timeouts
time_t last_packet
unsigned int packet_count

Detailed Description

Definition at line 238 of file s2s.h.


Field Documentation

s2s_t conn_st::s2s
char* conn_st::key
char* conn_st::dkey

Definition at line 242 of file s2s.h.

Referenced by _s2s_time_checks(), and JABBER_MAIN().

sx_t conn_st::s
mio_fd_t conn_st::fd
char conn_st::ip[INET6_ADDRSTRLEN+1]
int conn_st::port
xht conn_st::states

states of outgoing dialbacks (key is local/remote)

Definition at line 251 of file s2s.h.

Referenced by _in_packet(), _in_result(), _out_dialback(), _out_mio_callback(), _out_result(), _out_verify(), _s2s_check_conn_routes(), _s2s_time_checks(), in_mio_callback(), JABBER_MAIN(), and out_packet().

xht conn_st::states_time

time of the last state change (key is local/remote)

Definition at line 254 of file s2s.h.

Referenced by _in_result(), _out_dialback(), _s2s_check_conn_routes(), in_mio_callback(), and JABBER_MAIN().

xht conn_st::routes

routes that this conn handles (key is local/remote)

Definition at line 257 of file s2s.h.

Referenced by _out_mio_callback(), JABBER_MAIN(), out_bounce_conn_queues(), and send_dialbacks().

time_t conn_st::init_time

Definition at line 259 of file s2s.h.

Referenced by _s2s_time_checks(), and in_mio_callback().

int conn_st::online
int conn_st::verify

number and last timestamp of outstanding db:verify requests

Definition at line 264 of file s2s.h.

Referenced by _out_verify(), _s2s_time_checks(), and out_packet().

time_t conn_st::last_verify

Definition at line 265 of file s2s.h.

Referenced by _s2s_time_checks(), and out_packet().

time_t conn_st::last_activity

timestamps for idle timeouts

Definition at line 268 of file s2s.h.

Referenced by _out_mio_callback(), and _s2s_time_checks().

time_t conn_st::last_packet

Definition at line 269 of file s2s.h.

Referenced by _in_sx_callback(), _s2s_time_checks(), and out_packet().

unsigned int conn_st::packet_count

Definition at line 271 of file s2s.h.

Referenced by _in_sx_callback(), _out_mio_callback(), _out_sx_callback(), and in_mio_callback().


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