Home
last modified time | relevance | path

Searched refs:ERR_OK (Results 1 – 25 of 89) sorted by relevance

1234

/third_party/lwip/test/unit/mdns/
Dtest_mdns.c379 fail_unless(res == ERR_OK); in START_TEST()
381 fail_unless(res == ERR_OK); in START_TEST()
383 fail_unless(res == ERR_OK); in START_TEST()
398 fail_unless(res == ERR_OK); in START_TEST()
413 fail_unless(res == ERR_OK); in START_TEST()
416 fail_unless(res == ERR_OK); in START_TEST()
419 fail_unless(res == ERR_OK); in START_TEST()
422 fail_unless(res == ERR_OK); in START_TEST()
425 fail_unless(res == ERR_OK); in START_TEST()
428 fail_unless(res == ERR_OK); in START_TEST()
[all …]
/third_party/lwip/src/apps/http/
Dhttp_client.c182 if (r != ERR_OK) { in httpc_free_state()
187 return ERR_OK; in httpc_free_state()
202 return ERR_OK; in httpc_close()
237 return ERR_OK; in http_parse_response_status()
273 return ERR_OK; in http_wait_headers()
298 return httpc_close(req, result, req->rx_status, ERR_OK); in httpc_tcp_recv()
309 if (err == ERR_OK) { in httpc_tcp_recv()
317 if (err == ERR_OK) { in httpc_tcp_recv()
324 if (err != ERR_OK) { in httpc_tcp_recv()
348 return ERR_OK; in httpc_tcp_recv()
[all …]
Daltcp_proxyconnect.c145 if (err != ERR_OK) { in altcp_proxyconnect_send_request()
152 return ERR_OK; in altcp_proxyconnect_send_request()
168 if (err != ERR_OK) { in altcp_proxyconnect_lower_connected()
173 return ERR_OK; in altcp_proxyconnect_lower_connected()
192 LWIP_ASSERT("no err expected", err == ERR_OK); in altcp_proxyconnect_lower_recv()
219 return ERR_OK; in altcp_proxyconnect_lower_recv()
224 if (altcp_close(conn) != ERR_OK) { in altcp_proxyconnect_lower_recv()
228 return ERR_OK; in altcp_proxyconnect_lower_recv()
238 return conn->connected(conn->arg, conn, ERR_OK); in altcp_proxyconnect_lower_recv()
241 return ERR_OK; in altcp_proxyconnect_lower_recv()
[all …]
Dhttpd.c540 return ERR_OK; in http_write()
570 if (err == ERR_OK) { in http_write()
627 return ERR_OK; in http_close_or_abort_conn()
630 if (err != ERR_OK) { in http_close_or_abort_conn()
1037 if ((err == ERR_OK) && (old_sendlen != sendlen)) {
1040 } else if (err != ERR_OK) {
1203 if (err == ERR_OK) {
1221 err_t err = ERR_OK;
1241 if (err == ERR_OK) {
1257 while (((ssi->tag_state == TAG_SENDING) || ssi->parse_left) && (err == ERR_OK)) {
[all …]
/third_party/lwip/src/apps/lwiperf/
Dlwiperf.c262 if (err != ERR_OK) { in lwiperf_tcp_close()
269 LWIP_ASSERT("error", err == ERR_OK); in lwiperf_tcp_close()
298 return ERR_OK; in lwiperf_tcp_client_send_more()
307 return ERR_OK; in lwiperf_tcp_client_send_more()
341 if (err == ERR_OK) { in lwiperf_tcp_client_send_more()
349 return ERR_OK; in lwiperf_tcp_client_send_more()
374 if (err != ERR_OK) { in lwiperf_tcp_client_connected()
376 return ERR_OK; in lwiperf_tcp_client_connected()
429 if (err != ERR_OK) { in lwiperf_tx_start_impl()
435 return ERR_OK; in lwiperf_tx_start_impl()
[all …]
/third_party/lwip/test/unit/udp/
Dtest_udp.c44 return ERR_OK; in default_netif_output()
53 return ERR_OK; in default_netif_linkoutput()
65 return ERR_OK; in default_netif_init()
188 fail_unless(err == ERR_OK); in test_udp_create_test_packet()
239 fail_unless(err == ERR_OK); in START_TEST()
246 fail_unless(err == ERR_OK); in START_TEST()
248 fail_unless(err == ERR_OK); in START_TEST()
262 fail_unless(err == ERR_OK); in START_TEST()
275 fail_unless(err == ERR_OK); in START_TEST()
288 fail_unless(err == ERR_OK); in START_TEST()
[all …]
/third_party/lwip/test/unit/tcp/
Dtest_tcp.c121 EXPECT(err == ERR_OK); in START_TEST()
262 EXPECT_RETX(pcb != NULL, ERR_OK); in test_tcp_recv_expectclose()
263 EXPECT_RETX(err == ERR_OK, ERR_OK); in test_tcp_recv_expectclose()
271 fail_unless(err2 == ERR_OK); in test_tcp_recv_expectclose()
275 return ERR_OK; in test_tcp_recv_expectclose()
281 EXPECT_RETX(pcb != NULL, ERR_OK); in test_tcp_recv_expect1byte()
282 EXPECT_RETX(err == ERR_OK, ERR_OK); in test_tcp_recv_expect1byte()
295 return ERR_OK; in test_tcp_recv_expect1byte()
475 EXPECT_RET(err == ERR_OK); in START_TEST()
477 EXPECT_RET(err == ERR_OK); in START_TEST()
[all …]
/third_party/lwip/src/apps/mdns/
Dmdns.c305 return ERR_OK; in mdns_domain_add_label_base()
319 if (err != ERR_OK) { in mdns_domain_add_label()
326 return ERR_OK; in mdns_domain_add_label()
336 if (err != ERR_OK) { in mdns_domain_add_label_pbuf()
347 return ERR_OK; in mdns_domain_add_label_pbuf()
399 if (res != ERR_OK) { in mdns_readname_loop()
527 LWIP_ERROR("mdns_build_reverse_v4_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v4_domain()
530 LWIP_ERROR("mdns_build_reverse_v4_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v4_domain()
532 LWIP_ERROR("mdns_build_reverse_v4_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v4_domain()
534 LWIP_ERROR("mdns_build_reverse_v4_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v4_domain()
[all …]
/third_party/lwip/src/apps/snmp/
Dsnmp_asn1.c45 if ((code) != ERR_OK) { \
121 return ERR_OK; in snmp_ans1_enc_tlv()
137 return ERR_OK; in snmp_asn1_enc_raw()
170 return ERR_OK; in snmp_asn1_enc_u32t()
194 return ERR_OK; in snmp_asn1_enc_s32t()
243 return ERR_OK; in snmp_asn1_enc_oid()
405 return ERR_OK; in snmp_asn1_dec_tlv()
441 return ERR_OK; in snmp_asn1_dec_u32t()
481 return ERR_OK; in snmp_asn1_dec_s32t()
539 return ERR_OK; in snmp_asn1_dec_oid()
[all …]
Dsnmp_pbuf_stream.c53 return ERR_OK; in snmp_pbuf_stream_init()
70 return ERR_OK; in snmp_pbuf_stream_read()
86 if (pbuf_take_at(pbuf_stream->pbuf, buf, buf_len, pbuf_stream->offset) != ERR_OK) { in snmp_pbuf_stream_writebuf()
93 return ERR_OK; in snmp_pbuf_stream_writebuf()
123 if (err != ERR_OK) { in snmp_pbuf_stream_writeto()
132 return ERR_OK; in snmp_pbuf_stream_writeto()
146 return ERR_OK; in snmp_pbuf_stream_seek()
Dsnmpv3_mbedtls.c98 return ERR_OK; in snmpv3_auth()
157 if (snmp_pbuf_stream_read(&read_stream, &in_bytes[j]) != ERR_OK) { in snmpv3_crypt()
166 if (snmp_pbuf_stream_writebuf(&write_stream, out_bytes, (u16_t)out_len) != ERR_OK) { in snmpv3_crypt()
176 if (snmp_pbuf_stream_writebuf(&write_stream, out_bytes, (u16_t)out_len) != ERR_OK) { in snmpv3_crypt()
212 if (snmp_pbuf_stream_read(&read_stream, &in_byte) != ERR_OK) { in snmpv3_crypt()
218 if (snmp_pbuf_stream_write(&write_stream, out_byte) != ERR_OK) { in snmpv3_crypt()
227 return ERR_OK; in snmpv3_crypt()
231 return ERR_OK; in snmpv3_crypt()
Dsnmp_msg.c286 if (err == ERR_OK) { in snmp_receive()
288 if (err == ERR_OK) { in snmp_receive()
353 if (err == ERR_OK) { in snmp_receive()
363 if (err == ERR_OK) { in snmp_receive()
366 if (err == ERR_OK) { in snmp_receive()
439 if (err == ERR_OK) { in snmp_process_varbind()
464 } else if (err != ERR_OK) { in snmp_process_varbind()
511 return ERR_OK; in snmp_process_get_request()
547 return ERR_OK; in snmp_process_getnext_request()
645 return ERR_OK; in snmp_process_getbulk_request()
[all …]
/third_party/lwip/src/apps/altcp_tls/
Daltcp_tls_mbedtls.c150 if (setup_err != ERR_OK) { in altcp_mbedtls_lower_accept()
170 if (err != ERR_OK) { in altcp_mbedtls_lower_connected()
201 LWIP_ASSERT("no err expected", err == ERR_OK); in altcp_mbedtls_lower_recv()
234 return ERR_OK; in altcp_mbedtls_lower_recv()
238 return conn->recv(conn->arg, conn, NULL, ERR_OK); in altcp_mbedtls_lower_recv()
247 return ERR_OK; in altcp_mbedtls_lower_recv()
278 return ERR_OK; in altcp_mbedtls_lower_recv_process()
287 if (altcp_close(conn) != ERR_OK) { in altcp_mbedtls_lower_recv_process()
290 return ERR_OK; in altcp_mbedtls_lower_recv_process()
299 err = conn->connected(conn->arg, conn, ERR_OK); in altcp_mbedtls_lower_recv_process()
[all …]
/third_party/lwip/src/api/
Dapi_msg.c125 LWIP_ASSERT("unhandled error", err == ERR_OK); in lwip_netconn_err_to_msg()
193 if (sys_mbox_trypost(&conn->recvmbox, buf) != ERR_OK) { in recv_raw()
272 if (sys_mbox_trypost(&conn->recvmbox, buf) != ERR_OK) {
302 LWIP_ASSERT("err != ERR_OK unhandled", err == ERR_OK);
317 return ERR_OK;
331 if (sys_mbox_trypost(&conn->recvmbox, msg) != ERR_OK) {
342 return ERR_OK;
387 return ERR_OK;
421 return ERR_OK;
489 conn->current_msg->err = ERR_OK;
[all …]
Dtcpip.c174 if (msg->msg.inp.input_fn(msg->msg.inp.p, msg->msg.inp.netif) != ERR_OK) { in tcpip_thread_handle_msg()
263 if (sys_mbox_trypost(&tcpip_mbox, msg) != ERR_OK) { in tcpip_inpkt()
267 return ERR_OK; in tcpip_inpkt()
325 return ERR_OK; in tcpip_callback()
360 if (sys_mbox_trypost(&tcpip_mbox, msg) != ERR_OK) { in tcpip_try_callback()
364 return ERR_OK; in tcpip_try_callback()
393 return ERR_OK; in tcpip_timeout()
419 return ERR_OK; in tcpip_untimeout()
444 return ERR_OK; in tcpip_send_msg_wait_sem()
458 return ERR_OK; in tcpip_send_msg_wait_sem()
[all …]
Dapi_lib.c132 if (err == ERR_OK) { in netconn_apimsg()
162 if (err != ERR_OK) { in netconn_new_with_proto_and_callback()
199 return ERR_OK; in netconn_prepare_delete()
217 if (err != ERR_OK) { in netconn_prepare_delete()
220 return ERR_OK; in netconn_prepare_delete()
239 return ERR_OK; in netconn_delete()
245 err = ERR_OK; in netconn_delete()
251 if (err == ERR_OK) { in netconn_delete()
489 if (err != ERR_OK) { in netconn_accept()
554 return ERR_OK; in netconn_accept()
[all …]
/third_party/lwip/src/netif/
Dlowpan6.c257 return ERR_OK; in lowpan6_parse_iee802154_header()
376 if (err != ERR_OK) { in lowpan6_frag()
436 while ((remaining_len > 0) && (err == ERR_OK)) { in lowpan6_frag()
510 return ERR_OK; in lowpan6_set_context()
529 return ERR_OK; in lowpan6_set_short_addr()
550 return ERR_OK; in lowpan6_hwaddr_to_addr()
589 if (result != ERR_OK) { in lowpan6_output()
622 if (result != ERR_OK) { in lowpan6_output()
629 return ERR_OK; in lowpan6_output()
656 return ERR_OK; in lowpan6_input()
[all …]
Dbridgeif.c154 return ERR_OK; in bridgeif_fdb_add()
185 return ERR_OK; in bridgeif_fdb_remove()
268 return ERR_OK; in bridgeif_send_to_port()
276 err_t err, ret_err = ERR_OK; in bridgeif_send_to_ports()
284 if (err != ERR_OK) { in bridgeif_send_to_ports()
361 if (br->netif->input(p, br->netif) != ERR_OK) { in bridgeif_input()
369 return ERR_OK; in bridgeif_input()
385 return ERR_OK; in bridgeif_input()
516 return ERR_OK; in bridgeif_init()
560 return ERR_OK; in bridgeif_add_port()
Dlowpan6_ble.c168 return ERR_OK; in rfc7668_set_addr()
258 if (err != ERR_OK) { in rfc7668_compress()
309 return ERR_OK; in rfc7668_set_context()
369 return ERR_OK; in rfc7668_input()
376 return ERR_OK; in rfc7668_input()
426 return ERR_OK; in rfc7668_if_init()
Dzepif.c159 if (err == ERR_OK) { in zepif_udp_recv()
205 if (err == ERR_OK) { in zepif_linkoutput()
258 if (err != ERR_OK) { in zepif_init()
264 LWIP_ASSERT("udp_bind(lowpan6_broadcast_pcb) failed", err == ERR_OK); in zepif_init()
270 if (err == ERR_OK) { in zepif_init()
289 return ERR_OK; in zepif_init()
/third_party/lwip/src/apps/smtp/
Dsmtp.c366 return ERR_OK; in smtp_set_server_addr()
441 return ERR_OK; in smtp_set_auth()
497 if (smtp_verify(s->to, s->to_len, 0) != ERR_OK) { in smtp_send_mail_alloced()
501 if (smtp_verify(s->from, s->from_len, 0) != ERR_OK) { in smtp_send_mail_alloced()
505 if (smtp_verify(s->subject, s->subject_len, 0) != ERR_OK) { in smtp_send_mail_alloced()
513 if (smtp_verify(s->body, s->body_len, 0) != ERR_OK) { in smtp_send_mail_alloced()
541 err = ipaddr_aton(smtp_server, &addr) ? ERR_OK : ERR_ARG; in smtp_send_mail_alloced()
543 if (err == ERR_OK) { in smtp_send_mail_alloced()
550 if (err != ERR_OK) { in smtp_send_mail_alloced()
558 return ERR_OK; in smtp_send_mail_alloced()
[all …]
/third_party/lwip/test/unit/mqtt/
Dtest_mqtt.c18 return ERR_OK; in test_mqtt_netif_output()
91 fail_unless(err == ERR_OK); in START_TEST()
93 client->conn->connected(client->conn->callback_arg, client->conn, ERR_OK); in START_TEST()
99 if (client->conn->recv(client->conn->callback_arg, client->conn, p, ERR_OK) != ERR_OK) { in START_TEST()
/third_party/lwip/test/unit/etharp/
Dtest_etharp.c41 return ERR_OK; in default_netif_linkoutput()
53 return ERR_OK; in default_netif_init()
171 fail_unless(err2 == ERR_OK); in START_TEST()
190 fail_unless(err == ERR_OK); in START_TEST()
206 fail_unless(err2 == ERR_OK); in START_TEST()
229 fail_unless(err == ERR_OK); in START_TEST()
236 fail_unless(err == ERR_OK); in START_TEST()
251 fail_unless(err == ERR_OK); in START_TEST()
/third_party/lwip/src/core/
Dtcp.c372 return ERR_OK; in tcp_close_shutdown()
405 return ERR_OK; in tcp_close_shutdown()
417 if (err == ERR_OK) { in tcp_close_shutdown_fin()
425 if (err == ERR_OK) { in tcp_close_shutdown_fin()
432 if (err == ERR_OK) { in tcp_close_shutdown_fin()
439 return ERR_OK; in tcp_close_shutdown_fin()
442 if (err == ERR_OK) { in tcp_close_shutdown_fin()
457 return ERR_OK; in tcp_close_shutdown_fin()
551 return ERR_OK; in tcp_shutdown()
750 return ERR_OK; in tcp_bind()
[all …]
/third_party/lwip/src/include/lwip/priv/
Dtcp_priv.h106 #define tcp_output_nagle(tpcb) (tcp_do_output_nagle(tpcb) ? tcp_output(tpcb) : ERR_OK)
169 LWIP_EVENT_SENT, NULL, space, ERR_OK)
173 LWIP_EVENT_RECV, NULL, 0, ERR_OK)
177 … ret = lwip_tcp_event((pcb)->callback_arg, (pcb), LWIP_EVENT_POLL, NULL, 0, ERR_OK); \
198 else (ret) = ERR_OK; \
213 (ret) = (pcb)->recv((pcb)->callback_arg,(pcb),NULL,ERR_OK);\
215 (ret) = ERR_OK; \
223 else (ret) = ERR_OK; \
230 else (ret) = ERR_OK; \

1234