Lines Matching defs:conn_state
63 } conn_state; /* on startup: CONN_IDLE */
268 conn->conn_state = CONN_IDLE;
304 conn->conn_state = CONN_WAIT_CTL_REPLY;
320 return (conn->conn_state == CONN_ESTABLISHED);
341 assert(conn->conn_state == CONN_ESTABLISHED);
426 if (conn->conn_state == CONN_IDLE || conn->conn_state == CONN_WAIT_STOP_REPLY)
435 conn->conn_state = CONN_WAIT_STOP_REPLY;
718 if (conn->conn_state == CONN_IDLE) {
728 conn->conn_state = CONN_ESTABLISHED;
741 if (conn->conn_state == CONN_WAIT_CTL_REPLY) {
767 conn->conn_state = CONN_ESTABLISHED;
783 /* conn_state should be CONN_ESTABLISHED, but it could be
790 if (conn->conn_state == CONN_IDLE) break;
794 conn->conn_state = CONN_IDLE;
802 /* conn_state should be CONN_WAIT_STOP_REPLY, but it
804 if (conn->conn_state == CONN_IDLE) break;
805 conn->conn_state = CONN_IDLE;
1041 if (global.conn->conn_state != CONN_ESTABLISHED) {
1042 if (global.conn->conn_state == CONN_WAIT_STOP_REPLY)