Lines Matching defs:conn
14 int mail_stats_connection_connect(struct stats_connection *conn,
30 if (user->conn.local_ip != NULL) {
32 str_append(str, net_ip2addr(user->conn.local_ip));
34 if (user->conn.remote_ip != NULL) {
36 str_append(str, net_ip2addr(user->conn.remote_ip));
39 return stats_connection_send(conn, str);
42 void mail_stats_connection_disconnect(struct stats_connection *conn,
51 if (stats_connection_send(conn, str) < 0) {
57 void mail_stats_connection_send_session(struct stats_connection *conn,
74 (void)stats_connection_send(conn, str);