Home
last modified time | relevance | path

Searched refs:lwsl_user (Results 1 – 25 of 158) sorted by relevance

1234567

/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-foreign/
Dminimal-http-server-eventlib-foreign.c84 lwsl_user("LWS_CALLBACK_ESTABLISHED_CLIENT_HTTP: resp %u\n", in callback_http()
96 lwsl_user("RECEIVE_CLIENT_HTTP_READ: read %d\n", (int)len); in callback_http()
113 lwsl_user("LWS_CALLBACK_COMPLETED_CLIENT_HTTP %s\n", in callback_http()
174 lwsl_user("Foreign 1Hz timer\n"); in foreign_timer_service()
181 lwsl_user("lws_destroy_context() done, continuing for 5s\n"); in foreign_timer_service()
199 lwsl_user("LWS Context created and will be active for 10s\n"); in foreign_timer_service()
208 lwsl_user("Destroying lws context and continuing loop for 5s\n"); in foreign_timer_service()
214 lwsl_user("Deciding to exit foreign loop too\n"); in foreign_timer_service()
237 lwsl_user("LWS minimal http server eventlib + foreign loop |" in main()
316 lwsl_user(" This app creates a foreign event loop with a timer +\n"); in main()
[all …]
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-netcat/
Dminimal-raw-netcat.c51 lwsl_user("LWS_CALLBACK_RAW_ADOPT_FILE\n"); in callback_raw_test()
55 lwsl_user("LWS_CALLBACK_RAW_CLOSE_FILE\n"); in callback_raw_test()
67 lwsl_user("LWS_CALLBACK_RAW_RX_FILE\n"); in callback_raw_test()
82 lwsl_user("LWS_CALLBACK_RAW_ADOPT\n"); in callback_raw_test()
87 lwsl_user("LWS_CALLBACK_RAW_CLOSE\n"); in callback_raw_test()
99 lwsl_user("LWS_CALLBACK_RAW_RX (%d)\n", (int)len); in callback_raw_test()
106 lwsl_user("LWS_CALLBACK_RAW_WRITEABLE\n"); in callback_raw_test()
118 lwsl_user("LWS_CALLBACK_TIMER\n"); in callback_raw_test()
156 lwsl_user("LWS minimal raw netcat [--server ip] [--port port] [-w ms]\n"); in main()
219 lwsl_user("Starting connect to %s:%s...\n", server, port); in main()
[all …]
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_cache/
Dmain.c24 lwsl_user("%s\n", __func__); in test_just_l1()
109 lwsl_user("%s\n", __func__); in test_just_l1_limits()
179 lwsl_user("%s\n", __func__); in test_nsc1()
207 lwsl_user("%s: add cookies to L1\n", __func__); in test_nsc1()
241 lwsl_user("%s: check cookies in L1\n", __func__); in test_nsc1()
269 lwsl_user("%s: check cookies written thru to NSC\n", __func__); in test_nsc1()
292 lwsl_user("%s: nonexistant get must not pass\n", __func__); in test_nsc1()
305 lwsl_user("%s: wildcard lookup 1\n", __func__); in test_nsc1()
326 lwsl_user("%s: wildcard lookup 2\n", __func__); in test_nsc1()
346 lwsl_user("%s: wildcard lookup 3\n", __func__); in test_nsc1()
[all …]
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_tokenize/
Dmain.c344 lwsl_user("LWS API selftest: lws_tokenize\n"); in main()
683 lwsl_user("%s: humanize 1 fail '%s' (%d)\n", __func__, buf, m); in main()
688 lwsl_user("%s: humanize 2 fail '%s' (%d)\n", __func__, buf, m); in main()
693 lwsl_user("%s: humanize 3 fail '%s' (%d)\n", __func__, buf, m); in main()
698 lwsl_user("%s: humanize 4 fail '%s' (%d)\n", __func__, buf, m); in main()
703 lwsl_user("%s: humanize 5 fail '%s' (%d)\n", __func__, buf, m); in main()
709 lwsl_user("%s: wc 1 fail\n", __func__); in main()
713 lwsl_user("%s: wc 2 fail\n", __func__); in main()
717 lwsl_user("%s: wc 3 fail\n", __func__); in main()
721 lwsl_user("%s: wc 4 fail\n", __func__); in main()
[all …]
/third_party/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client/
Dminimal-mqtt-client.c177 lwsl_user("%s: CLIENT_CLOSED\n", __func__); in callback_mqtt()
182 lwsl_user("%s: MQTT_CLIENT_ESTABLISHED\n", __func__); in callback_mqtt()
188 lwsl_user("%s: MQTT_SUBSCRIBED\n", __func__); in callback_mqtt()
201 lwsl_user("%s: WRITEABLE: Subscribing\n", __func__); in callback_mqtt()
214 lwsl_user("%s: WRITEABLE: Publish\n", __func__); in callback_mqtt()
248 lwsl_user("%s: MQTT_ACK\n", __func__); in callback_mqtt()
269 lwsl_user("%s: MQTT_RESEND\n", __func__); in callback_mqtt()
282 lwsl_user("%s: MQTT_CLIENT_RX\n", __func__); in callback_mqtt()
325 lwsl_user("LWS minimal MQTT client %s [-d<verbosity>][-s]\n", in main()
352 lwsl_user("Completed: %s\n", bad ? "failed" : "OK"); in main()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-echo/
Dprotocol_lws_minimal_client_echo.c82 lwsl_user("connecting to %s:%d/%s\n", i.address, i.port, i.path); in sul_connect_attempt()
152 lwsl_user("LWS_CALLBACK_CLIENT_ESTABLISHED\n"); in callback_minimal_client_echo()
162 lwsl_user("LWS_CALLBACK_CLIENT_WRITEABLE\n"); in callback_minimal_client_echo()
171 lwsl_user(" (nothing in ring)\n"); in callback_minimal_client_echo()
187 lwsl_user(" wrote %d: flags: 0x%x first: %d final %d\n", in callback_minimal_client_echo()
212 lwsl_user("LWS_CALLBACK_CLIENT_RECEIVE: %4d (rpp %5d, first %d, last %d, bin %d)\n", in callback_minimal_client_echo()
225 lwsl_user("dropping!\n"); in callback_minimal_client_echo()
233 lwsl_user("OOM: dropping\n"); in callback_minimal_client_echo()
240 lwsl_user("dropping!\n"); in callback_minimal_client_echo()
261 lwsl_user("LWS_CALLBACK_CLIENT_CLOSED\n"); in callback_minimal_client_echo()
/third_party/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client-multi/
Dminimal-mqtt-client-multi.c214 lwsl_user("%s: item %d: CLIENT_CLOSED %p\n", __func__, (int)(item - &items[0]), wsi); in callback_mqtt()
221 lwsl_user("%s: MQTT_CLIENT_ESTABLISHED: %p\n", __func__, wsi); in callback_mqtt()
227 lwsl_user("%s: MQTT_SUBSCRIBED\n", __func__); in callback_mqtt()
236 lwsl_user("%s: item %d: UNSUBSCRIBED: %p: Received unsuback\n", in callback_mqtt()
258 lwsl_user("%s: item %d: WRITEABLE: %p: Subscribing\n", __func__, (int)(item - &items[0]), wsi); in callback_mqtt()
271 lwsl_user("%s: item %d: WRITEABLE: %p: Publish\n", __func__, (int)(item - &items[0]), wsi); in callback_mqtt()
307 lwsl_user("%s: item %d: UNSUBSCRIBE: %p: Send unsub\n", in callback_mqtt()
322 lwsl_user("%s: item %d: MQTT_ACK (state %d)\n", __func__, (int)(item - &items[0]), pss->state); in callback_mqtt()
338 lwsl_user("%s: MQTT_RESEND\n", __func__); in callback_mqtt()
353 lwsl_user("%s: item %d: MQTT_CLIENT_RX (%s) pos %d/%d len %d\n", __func__, in callback_mqtt()
[all …]
/third_party/libwebsockets/minimal-examples/api-tests/api-test-cose/
Dsign.c700 lwsl_user("%s: sign1/sign-pass-01\n", __func__); in test_cose_sign()
737 lwsl_user("%s: sign1/sign-pass-01 - no key\n", __func__); in test_cose_sign()
770 lwsl_user("%s: sign1/sign-pass-02\n", __func__); in test_cose_sign()
809 lwsl_user("%s: sign1/sign-pass-03\n", __func__); in test_cose_sign()
848 lwsl_user("%s: sign1/sign-fail-01\n", __func__); in test_cose_sign()
877 lwsl_user("%s: sign1/sign-fail-02\n", __func__); in test_cose_sign()
915 lwsl_user("%s: sign1/sign-fail-03\n", __func__); in test_cose_sign()
953 lwsl_user("%s: sign1/sign-fail-04\n", __func__); in test_cose_sign()
991 lwsl_user("%s: sign1/sign-fail-06\n", __func__); in test_cose_sign()
1029 lwsl_user("%s: sign1/sign-fail-07\n", __func__); in test_cose_sign()
[all …]
Dkeys.c720 lwsl_user("%s: key 1 import\n", __func__); in test_cose_keys()
740 lwsl_user("%s: key 1 export\n", __func__); in test_cose_keys()
752 lwsl_user("%s: key 2 import\n", __func__); in test_cose_keys()
772 lwsl_user("%s: key 3 import\n", __func__); in test_cose_keys()
794 lwsl_user("%s: key 4 import\n", __func__); in test_cose_keys()
814 lwsl_user("%s: key 5 import\n", __func__); in test_cose_keys()
830 lwsl_user("%s: key 6 import\n", __func__); in test_cose_keys()
850 lwsl_user("%s: key 7 import\n", __func__); in test_cose_keys()
866 lwsl_user("%s: key 8 import\n", __func__); in test_cose_keys()
882 lwsl_user("%s: key 9 import\n", __func__); in test_cose_keys()
[all …]
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_sequencer/
Dmain.c141 lwsl_user("%s: wsi %p: seq failed at CLOSED_CLIENT_HTTP\n", in callback_http()
264 lwsl_user("%s: test %d got expected timeout\n", in sequencer_cb()
268 lwsl_user("%s: seq timed out at step %d\n", __func__, s->state); in sequencer_cb()
276 lwsl_user("%s: test %d failed as expected\n", in sequencer_cb()
281 lwsl_user("%s: seq failed at step %d\n", __func__, s->state); in sequencer_cb()
291 lwsl_user("%s: seq failed at step %d\n", __func__, in sequencer_cb()
296 lwsl_user("%s: seq done step %d (resp %d)\n", __func__, in sequencer_cb()
304 lwsl_user("%s: sequence completed OK\n", __func__); in sequencer_cb()
341 lwsl_user("LWS API selftest: lws_sequencer\n"); in main()
394 lwsl_user("Completed: %s\n", !test_good ? "FAIL" : "PASS"); in main()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-echo/
Dprotocol_lws_minimal_server_echo.c107 lwsl_user("LWS_CALLBACK_SERVER_WRITEABLE\n"); in callback_minimal_server_echo()
117 lwsl_user(" (nothing in ring)\n"); in callback_minimal_server_echo()
133 lwsl_user(" wrote %d: flags: 0x%x first: %d final %d\n", in callback_minimal_server_echo()
157 lwsl_user("LWS_CALLBACK_RECEIVE: %4d (rpp %5d, first %d, " in callback_minimal_server_echo()
176 lwsl_user("dropping!\n"); in callback_minimal_server_echo()
189 lwsl_user("OOM: dropping\n"); in callback_minimal_server_echo()
196 lwsl_user("dropping!\n"); in callback_minimal_server_echo()
208 lwsl_user("LWS_CALLBACK_CLOSED\n"); in callback_minimal_server_echo()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-adopt-tcp/
Dminimal-raw-adopt-tcp.c49 lwsl_user("LWS_CALLBACK_RAW_ADOPT\n"); in callback_raw_test()
54 lwsl_user("LWS_CALLBACK_RAW_CLOSE\n"); in callback_raw_test()
58 lwsl_user("LWS_CALLBACK_RAW_RX (%d)\n", (int)len); in callback_raw_test()
112 lwsl_user("LWS minimal raw adopt tcp\n"); in main()
164 lwsl_user("Starting connect...\n"); in main()
173 lwsl_user("Connected...\n"); in main()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-multi/
Dminimal-http-client-multi.c177 lwsl_user("LWS_CALLBACK_ESTABLISHED_CLIENT_HTTP: idx: %d, resp %u\n", in callback_http()
210 lwsl_user("RECEIVE_CLIENT_HTTP_READ: conn %d: read %d\n", idx, (int)len); in callback_http()
220 lwsl_user("%s: conn %d, doing POST flow\n", __func__, idx); in callback_http()
224 lwsl_user("%s: conn %d, doing GET flow\n", __func__, idx); in callback_http()
240 lwsl_user("LWS_CALLBACK_COMPLETED_CLIENT_HTTP %s: idx %d\n", in callback_http()
334 lwsl_user("Done: all OK\n"); in callback_http()
364 lwsl_user("%s: %s\n", __func__, buf); in my_metric_report()
397 lwsl_user("%s: failed: conn idx %d\n", __func__, m); in lws_try_client_connection()
399 lwsl_user("Done: failed: %d\n", failed); in lws_try_client_connection()
403 lwsl_user("started connection %s: idx %d (%s)\n", in lws_try_client_connection()
[all …]
/third_party/libwebsockets/minimal-examples/api-tests/api-test-dhcpc/
Dmain.c34 lwsl_user("%s: dhcp set OK\n", __func__); in lws_dhcpc_cb()
64 lwsl_user("LWS API selftest: DHCP Client\n"); in main()
81 lwsl_user("%s: requesting DHCP for %s\n", __func__, nif); in main()
97 lwsl_user("Completed: PASS: %d / %d, FAIL: %d\n", ok, exp, in main()
100 lwsl_user("Completed: ALL PASS: %d / %d\n", ok, exp); in main()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-post/
Dminimal-http-client-post.c62 lwsl_user("Connected with server response: %d\n", status); in callback_http()
66 lwsl_user("RECEIVE_CLIENT_HTTP_READ: read %d\n", (int)len); in callback_http()
78 lwsl_user("LWS_CALLBACK_COMPLETED_CLIENT_HTTP\n"); in callback_http()
100 lwsl_user("%s: doing POST flow\n", __func__); in callback_http()
104 lwsl_user("%s: doing GET flow\n", __func__); in callback_http()
110 lwsl_user("LWS_CALLBACK_CLIENT_HTTP_WRITEABLE\n"); in callback_http()
199 lwsl_user("LWS minimal http client - POST [-d<verbosity>] [-l] [--h1]\n"); in main()
274 lwsl_user("Completed: %s\n", bad ? "failed" : "OK"); in main()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-timer/
Dminimal-ws-server.c28 lwsl_user("LWS_CALLBACK_ESTABLISHED\n"); in callback_protocol()
34 lwsl_user("LWS_CALLBACK_TIMER\n"); in callback_protocol()
40 lwsl_user("LWS_CALLBACK_CLOSED\n"); in callback_protocol()
107 lwsl_user("LWS minimal ws server | visit http://localhost:7681 (-s = use TLS / https)\n"); in main()
119 lwsl_user("Server using TLS\n"); in main()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-captive-portal/
Dminimal-http-client-captive-portal.c50 lwsl_user("Connected to %s, http response: %d\n", in callback_http()
57 lwsl_user("RECEIVE_CLIENT_HTTP_READ: read %d\n", (int)len); in callback_http()
85 lwsl_user("LWS_CALLBACK_COMPLETED_CLIENT_HTTP\n"); in callback_http()
120 lwsl_user("%s: established with resp %d\n", __func__, resp); in callback_cpd_http()
231 lwsl_user("%s: OPERATIONAL, cpd %d\n", __func__, in app_system_state_nf()
292 lwsl_user("LWS minimal http client captive portal detect\n"); in main()
318 lwsl_user("%s: finished %s\n", __func__, bad ? "FAIL": "OK"); in main()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-ring/
Dprotocol_lws_minimal.c73 lwsl_user("Killing lagging client %p\n", (*ppss)->wsi); in cull_lagging_clients()
135 lwsl_user("%s: shrunk ring from %d to %d\n", __func__, before, most); in cull_lagging_clients()
185 lwsl_user("LWS_CALLBACK_ESTABLISHED: wsi %p\n", wsi); in callback_minimal()
192 lwsl_user("LWS_CALLBACK_CLOSED: wsi %p\n", wsi); in callback_minimal()
239 lwsl_user("LWS_CALLBACK_RECEIVE: free space %d\n", n); in callback_minimal()
245 lwsl_user("OOM: dropping\n"); in callback_minimal()
253 lwsl_user("dropping!\n"); in callback_minimal()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_map/
Dmain.c44 lwsl_user("LWS API selftest: lws_map\n"); in main()
48 lwsl_user("%s: test1\n", __func__); in main()
100 lwsl_user("%s: test2\n", __func__); in main()
157 lwsl_user("%s: test3\n", __func__); in main()
220 lwsl_user("%s: test4\n", __func__); in main()
255 lwsl_user("Completed: PASS %d / %d\n", pass, expected); in main()
260 lwsl_user("Completed: FAIL, passed %d / %d (e %d)\n", pass, in main()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-attach/
Dminimal-http-client-attach.c51 lwsl_user("Connected to %s, http response: %d\n", in callback_http()
58 lwsl_user("RECEIVE_CLIENT_HTTP_READ: read %d\n", (int)len); in callback_http()
86 lwsl_user("LWS_CALLBACK_COMPLETED_CLIENT_HTTP\n"); in callback_http()
183 lwsl_user("%s: tid %p\n", __func__, (void *)(intptr_t)pthread_self()); in lws_create()
223 lwsl_user("LWS minimal http client attach\n"); in main()
273 lwsl_user("%s: finished\n", __func__); in main()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-spam/
Dminimal-ws-client-spam.c53 lwsl_user("Reached limit... finishing\n"); in connect_client()
122 lwsl_user("%s: established (try %d, est %d, closed %d, err %d)\n", in callback_minimal_spam()
136 lwsl_user("%s: leaving CLOSED (try %d, est %d, sent %d, closed %d, err %d)\n", in callback_minimal_spam()
144 lwsl_user("%s: reopening (try %d, est %d, closed %d, err %d)\n", in callback_minimal_spam()
150 lwsl_user("CLOSED: can't find client wsi\n"); in callback_minimal_spam()
214 lwsl_user("LWS minimal ws client SPAM\n"); in main()
279 lwsl_user("Completed\n"); in main()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-raw-proxy/
Dminimal-ws-raw-proxy.c207 lwsl_user("OOM: dropping\n"); in callback_proxy_ws_server()
249 lwsl_user("LWS_CALLBACK_RAW_ADOPT\n"); in callback_proxy_raw_client()
255 lwsl_user("LWS_CALLBACK_RAW_CLOSE\n"); in callback_proxy_raw_client()
307 lwsl_user("LWS_CALLBACK_RAW_RX (%d)\n", (int)len); in callback_proxy_raw_client()
316 lwsl_user("OOM: dropping\n"); in callback_proxy_raw_client()
332 lwsl_user("LWS_CALLBACK_RAW_WRITEABLE\n"); in callback_proxy_raw_client()
422 lwsl_user("LWS minimal ws-raw proxy | visit http://localhost:7681 (-s = use TLS / https)\n"); in main()
434 lwsl_user("Server using TLS\n"); in main()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-pmd-bulk/
Dminimal-ws-client-pmd-bulk.c94 lwsl_user("LWS minimal ws client + permessage-deflate + multifragment bulk message\n"); in main()
95 lwsl_user(" needs minimal-ws-server-pmd-bulk running to communicate with\n"); in main()
96 lwsl_user(" %s [-n (no exts)] [-c (compressible)]\n", argv[0]); in main()
129 lwsl_user("Completed %s\n", interrupted == 2 ? "OK" : "failed"); in main()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post/
Dminimal-http-server-form-post.c93 lwsl_user("LWS_CALLBACK_HTTP_BODY_COMPLETION\n"); in callback_http()
101 lwsl_user("%s: undefined\n", param_names[n]); in callback_http()
103 lwsl_user("%s: (len %d) '%s'\n", in callback_http()
187 lwsl_user("LWS minimal http server POST | visit http://localhost:7681\n"); in main()
207 lwsl_user("%s: using 303 redirect\n", __func__); in main()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams/
Dminimal-secure-streams.c253 lwsl_user("%s: len %d, flags: %d, srv: %.*s, test: %.*s\n", __func__, in myss_rx()
308 lwsl_user("%s: %s (%d), ord 0x%x\n", __func__, in myss_state()
350 lwsl_user("%s: get direct metadata\n", __func__); in myss_state()
354 lwsl_user("%s test key:[%s], got [%s]\n", __func__, imd_test_keys[i], md_test); in myss_state()
385 lwsl_user("%s: %lu done: %s\n", __func__, len, done?"true":"false"); in myss_headers_dump()
511 lwsl_user("%s: %s\n", __func__, buf); in my_metric_report()
545 lwsl_user("LWS secure streams test client [-d<verb>]\n"); in main()
677 lwsl_user("Completed: OK (seen expected %d)\n", expected); in main()

1234567