Lines Matching defs:state

15  * payloads and connection state information proxied over the unix domain
30 * we can't judge user or transient states, leave the old state
36 /* we don't recognize this state as usable */
37 lwsl_sspc_err(ss, "bad new state %u", cs);
43 /* existing state is broken */
44 lwsl_sspc_err(ss, "bad existing state %u",
56 /* this is explicitly allowed, update old state to new */
83 if (!h->ssi.state)
87 ret = h->ssi.state((void *)((uint8_t *)(h + 1)), NULL, cs, flags);
236 if (h->ssi.state) {
241 r = h->ssi.state(lws_sspc_to_user_object(h), NULL,
254 h->state = LPCSCLI_SENDING_INITIAL_TX;
281 if (h->ss_dangling_connected && h->ssi.state) {
286 r = h->ssi.state(ss_to_userobj(h), NULL,
333 &h->state, h,
351 if (h->state == LPCSCLI_LOCAL_CONNECTED ||
352 h->state == LPCSCLI_ONWARD_CONNECT)
366 lwsl_sspc_debug(h, "WRITEABLE %s, state %d",
367 wsi->lc.gutag, h->state);
371 * depend on wsi existence or state
395 * This is the state of the link that connects us to the onward
398 switch (h->state) {
415 h->state = LPCSCLI_WAITING_CREATE_RESULT;
753 if (h->ss_dangling_connected && h->ssi.state) {
813 if (h->state == LPCSCLI_LOCAL_CONNECTED &&
845 * link has called CREATED state)
860 if (h->state == LPCSCLI_LOCAL_CONNECTED &&
878 if (!h || h->state == LPCSCLI_OPERATIONAL)
883 assert(h->state == LPCSCLI_LOCAL_CONNECTED);
884 if (h->state == LPCSCLI_LOCAL_CONNECTED &&
1081 lws_ss_state_return_t (*state)(void *userobj, void *h_src /* ss handle type */,
1082 lws_ss_constate_t state, lws_ss_tx_ordinal_t ack))
1088 if (state)
1089 h->ssi.state = state;