Home
last modified time | relevance | path

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

/third_party/libwebsockets/include/libwebsockets/
Dlws-ring.h80 struct lws_ring;
99 LWS_VISIBLE LWS_EXTERN struct lws_ring *
111 lws_ring_destroy(struct lws_ring *ring);
122 lws_ring_get_count_free_elements(struct lws_ring *ring);
134 lws_ring_get_count_waiting_elements(struct lws_ring *ring, uint32_t *tail);
147 lws_ring_insert(struct lws_ring *ring, const void *src, size_t max_count);
171 lws_ring_consume(struct lws_ring *ring, uint32_t *tail, void *dest,
191 lws_ring_get_element(struct lws_ring *ring, uint32_t *tail);
204 lws_ring_update_oldest_tail(struct lws_ring *ring, uint32_t tail);
215 lws_ring_get_oldest_tail(struct lws_ring *ring);
[all …]
/third_party/libwebsockets/lib/misc/
Dlws-ring.c27 struct lws_ring *
31 struct lws_ring *ring = lws_malloc(sizeof(*ring), "ring create"); in lws_ring_create()
53 lws_ring_destroy(struct lws_ring *ring) in lws_ring_destroy()
70 lws_ring_get_count_free_elements(struct lws_ring *ring) in lws_ring_get_count_free_elements()
100 lws_ring_get_count_waiting_elements(struct lws_ring *ring, uint32_t *tail) in lws_ring_get_count_waiting_elements()
126 lws_ring_next_linear_insert_range(struct lws_ring *ring, void **start, in lws_ring_next_linear_insert_range()
151 lws_ring_bump_head(struct lws_ring *ring, size_t bytes) in lws_ring_bump_head()
157 lws_ring_insert(struct lws_ring *ring, const void *src, size_t max_count) in lws_ring_insert()
199 lws_ring_consume(struct lws_ring *ring, uint32_t *tail, void *dest, in lws_ring_consume()
255 lws_ring_get_element(struct lws_ring *ring, uint32_t *tail) in lws_ring_get_element()
[all …]
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-ring/
DREADME.md1 # lws minimal ws server (lws_ring)
13 [2018/03/04 09:30:02:7986] USER: LWS minimal ws server (lws_ring) | visit http://localhost:7681
Dprotocol_lws_minimal.c50 struct lws_ring *ring; /* ringbuffer holding unsent messages */
/third_party/libwebsockets/test-apps/
Dtest-sshd.c87 struct lws_ring *ring_stdout;
88 struct lws_ring *ring_stderr;
175 struct lws_ring *r; in ssh_ops_tx()
464 struct lws_ring *r = priv->ring_stdout; in ssh_ops_child_process_io()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-broker/
Dprotocol_lws_minimal.c61 struct lws_ring *ring; /* ringbuffer holding unsent messages */
/third_party/libwebsockets/minimal-examples/client-server/minimal-ws-proxy/
Dprotocol_lws_minimal.c48 struct lws_ring *ring; /* ringbuffer holding unsent messages */
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-echo/
Dprotocol_lws_minimal_server_echo.c34 struct lws_ring *ring;
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/
Dprotocol_lws_minimal.c52 struct lws_ring *ring; /* {lock_ring} ringbuffer holding unsent content */
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/
Dprotocol_lws_minimal.c48 struct lws_ring *ring; /* {lock_ring} ringbuffer holding unsent content */
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads/
Dprotocol_lws_minimal.c48 struct lws_ring *ring; /* {lock_ring} ringbuffer holding unsent content */
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-echo/
Dprotocol_lws_minimal_client_echo.c34 struct lws_ring *ring;
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-sse-ring/
Dminimal-http-server-sse-ring.c60 struct lws_ring *ring; /* ringbuffer holding unsent messages */
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-tx/
Dminimal-ws-client.c50 struct lws_ring *ring; /* ringbuffer holding unsent messages */
/third_party/libwebsockets/plugins/
Dprotocol_lws_mirror.c68 struct lws_ring *ring;
/third_party/libwebsockets/plugins/raw-proxy/
Dprotocol_lws_raw_proxy.c66 struct lws_ring *r[2];
/third_party/libwebsockets/lib/core/
Dprivate-lib-core.h305 struct lws_ring { struct
/third_party/libwebsockets/minimal-examples/dbus-server/minimal-dbus-ws-proxy/
Dprotocol_lws_minimal_dbus_ws_proxy.c74 struct lws_ring *ring_out;
/third_party/libwebsockets/
Dchangelog610 - lws_ring apis provide a generic single- or multi-tail ringbuffer... mirror