Lines Matching defs:state
191 if (!m->conn->ss || m->conn->state != LPCSPROX_OPERATIONAL) {
233 lws_ss_constate_t state, lws_ss_tx_ordinal_t ack)
238 switch (state) {
289 lwsl_warn("%s: dropping state due to conn not up\n", __func__);
294 if (lws_ss_serialize_state(m->conn->wsi, m->conn->dsh, state, ack))
296 * Failed to alloc state packet that we want to send in dsh,
372 pss->conn->state = LPCSPROX_WAIT_INITIAL_TX;
446 * ssi.state for proxied ss
451 if (conn->state == LPCSPROX_DESTROYED || !conn->ss) {
471 lwsl_err("%s: rx with bad conn state\n", __func__);
478 if (conn->state == LPCSPROX_WAIT_INITIAL_TX) {
487 ssi.state = ss_proxy_onward_state;
493 &conn->state, conn, &conn->ss, &ssi, 0);
505 if (conn->state == LPCSPROX_REPORTING_FAIL ||
506 conn->state == LPCSPROX_REPORTING_OK)
513 lwsl_debug("%s: %s: LWS_CALLBACK_RAW_WRITEABLE, state 0x%x\n",
529 switch (conn->state) {
562 conn->state = LPCSPROX_OPERATIONAL;
691 switch (conn->state) {