Lines Matching defs:in
58 /* Max time to wait for USERs in handshake to be sent. With a lot of users the
135 bool in:1;
184 str_printfa(str, "bytes in=%"PRIuUOFF_T", bytes out=%"PRIuUOFF_T,
189 str_printfa(str, ", %u USERs sent in handshake",
205 str_printfa(str, ", %"PRIuSIZE_T" bytes in output buffer",
233 } else if (!conn->in) {
313 i_assert(conn->in);
362 if (conn->in && conn->handshake_received &&
381 if (!(*connp)->in && (*connp)->to_disconnect == NULL)
410 i_assert(!conn->in);
473 if (!conn->in && (!net_ip_compare(&conn->host->ip, &ip) ||
501 if (conn->in) {
509 if (!conn->in)
546 /* a) - just in case the left is also our right side reset
710 make sure we kill off the connections in the wrong
774 i_error("director(%s): USER used unknown host %s in handshake",
804 that could result in directors going to a loop fighting each others
845 /* user changed - forward the USER in the ring */
896 to send the director information in a loop forever. */
1120 /* remote is sending hosts in a handshake, but it doesn't have
1415 str_printfa(str, "director(%s): Handshake finished in %u.%03u secs (",
1429 if (conn->in) {
1477 i_error("director(%s): Wrong protocol in socket "
1528 if (!conn->in) {
1536 if (conn->in &&
1585 /* duplicate SYNC (which was sent just in case the
1818 if (conn->in && conn != dir->left && conn->me_received &&
2301 conn->in = TRUE;
2303 conn->name = i_strdup_printf("%s/in", net_ip2addr(ip));
2345 conn->in) {
2358 otherwise in a rapidly changing director we might never end up
2360 end of the list. (The iteration lists users in order from older to
2432 Finish sorting so the users won't stay in wrong order. */
2450 if (conn->in)
2562 str_printfa(str, "Ping timed out in %u.%03u secs: ",
2575 "PONG reply not received in %u.%03u secs, "
2632 return conn->in;