jabberd2  2.6.1
Data Fields
conn_st Struct Reference

#include <s2s.h>

Data Fields

s2s_t s2s
 
const char * key
 
const 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) More...
 
xht states_time
 time of the last state change (key is local/remote) More...
 
xht routes
 routes that this conn handles (key is local/remote) More...
 
time_t init_time
 
int online
 
int verify
 number and last timestamp of outstanding db:verify requests More...
 
time_t last_verify
 
time_t last_activity
 timestamps for idle timeouts More...
 
time_t last_packet
 
unsigned int packet_count
 

Detailed Description

Definition at line 253 of file s2s.h.

Field Documentation

◆ s2s

s2s_t conn_st::s2s

◆ key

const char* conn_st::key

◆ dkey

const char* conn_st::dkey

Definition at line 257 of file s2s.h.

Referenced by _s2s_time_checks(), and JABBER_MAIN().

◆ s

sx_t conn_st::s

◆ fd

mio_fd_t conn_st::fd

◆ ip

char conn_st::ip[INET6_ADDRSTRLEN+1]

◆ port

int conn_st::port

◆ states

xht conn_st::states

states of outgoing dialbacks (key is local/remote)

Definition at line 266 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(), JABBER_MAIN(), and out_packet().

◆ states_time

xht conn_st::states_time

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

Definition at line 269 of file s2s.h.

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

◆ routes

xht conn_st::routes

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

Definition at line 272 of file s2s.h.

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

◆ init_time

time_t conn_st::init_time

Definition at line 274 of file s2s.h.

Referenced by _s2s_time_checks().

◆ online

int conn_st::online

◆ verify

int conn_st::verify

number and last timestamp of outstanding db:verify requests

Definition at line 279 of file s2s.h.

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

◆ last_verify

time_t conn_st::last_verify

Definition at line 280 of file s2s.h.

Referenced by _s2s_time_checks(), and out_packet().

◆ last_activity

time_t conn_st::last_activity

timestamps for idle timeouts

Definition at line 283 of file s2s.h.

Referenced by _out_mio_callback(), and _s2s_time_checks().

◆ last_packet

time_t conn_st::last_packet

Definition at line 284 of file s2s.h.

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

◆ packet_count

unsigned int conn_st::packet_count

Definition at line 286 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: