/third_party/lwip/test/unit/mdns/ |
D | test_mdns.c | 379 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/ |
D | http_client.c | 182 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 …]
|
D | altcp_proxyconnect.c | 145 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 …]
|
D | httpd.c | 540 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/ |
D | lwiperf.c | 262 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/ |
D | test_udp.c | 44 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/ |
D | test_tcp.c | 121 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/ |
D | mdns.c | 305 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/ |
D | snmp_asn1.c | 45 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 …]
|
D | snmp_pbuf_stream.c | 53 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()
|
D | snmpv3_mbedtls.c | 98 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()
|
D | snmp_msg.c | 286 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/ |
D | altcp_tls_mbedtls.c | 150 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/ |
D | api_msg.c | 125 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 …]
|
D | tcpip.c | 174 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 …]
|
D | api_lib.c | 132 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/ |
D | lowpan6.c | 257 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 …]
|
D | bridgeif.c | 154 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()
|
D | lowpan6_ble.c | 168 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()
|
D | zepif.c | 159 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/ |
D | smtp.c | 366 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/ |
D | test_mqtt.c | 18 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/ |
D | test_etharp.c | 41 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/ |
D | tcp.c | 372 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/ |
D | tcp_priv.h | 106 #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; \
|