Home
last modified time | relevance | path

Searched refs:ppkt (Results 1 – 1 of 1) sorted by relevance

/external/libwebsockets/plugins/raw-proxy/
Dprotocol_lws_raw_proxy.c175 const struct packet *ppkt; in callback_raw_proxy() local
328 ppkt = lws_ring_get_element(conn->r[ACC], &conn->t[ACC]); in callback_raw_proxy()
329 if (!ppkt) { in callback_raw_proxy()
335 if (ppkt->ticket != conn->ticket_retired + 1) { in callback_raw_proxy()
337 ppkt->ticket, conn->ticket_retired + 1); in callback_raw_proxy()
342 n = lws_write(wsi, ppkt->payload, ppkt->len, LWS_WRITE_RAW); in callback_raw_proxy()
349 conn->ticket_retired = ppkt->ticket; in callback_raw_proxy()
360 ppkt = lws_ring_get_element(conn->r[ACC], &conn->t[ACC]); in callback_raw_proxy()
362 __func__, ppkt, ppkt ? ppkt->ticket : 0, in callback_raw_proxy()
365 if (ppkt && ppkt->ticket == conn->ticket_retired + 1) in callback_raw_proxy()
[all …]