Home
last modified time | relevance | path

Searched refs:ERR_ARG (Results 1 – 25 of 37) sorted by relevance

12

/third_party/lwip/src/api/
Dapi_lib.c274 LWIP_ERROR("netconn_getaddr: invalid conn", (conn != NULL), return ERR_ARG;); in netconn_getaddr()
275 LWIP_ERROR("netconn_getaddr: invalid addr", (addr != NULL), return ERR_ARG;); in netconn_getaddr()
276 LWIP_ERROR("netconn_getaddr: invalid port", (port != NULL), return ERR_ARG;); in netconn_getaddr()
312 LWIP_ERROR("netconn_bind: invalid conn", (conn != NULL), return ERR_ARG;); in netconn_bind()
356 LWIP_ERROR("netconn_bind_if: invalid conn", (conn != NULL), return ERR_ARG;); in netconn_bind_if()
382 LWIP_ERROR("netconn_connect: invalid conn", (conn != NULL), return ERR_ARG;); in netconn_connect()
414 LWIP_ERROR("netconn_disconnect: invalid conn", (conn != NULL), return ERR_ARG;); in netconn_disconnect()
443 LWIP_ERROR("netconn_listen: invalid conn", (conn != NULL), return ERR_ARG;); in netconn_listen_with_backlog()
457 return ERR_ARG; in netconn_listen_with_backlog()
481 …_ERROR("netconn_accept: invalid pointer", (new_conn != NULL), return ERR_ARG;); in netconn_accept()
[all …]
Dnetbuf.c153 LWIP_ERROR("netbuf_ref: invalid buf", (buf != NULL), return ERR_ARG;); in netbuf_ref()
198 LWIP_ERROR("netbuf_data: invalid buf", (buf != NULL), return ERR_ARG;); in netbuf_data()
199 LWIP_ERROR("netbuf_data: invalid dataptr", (dataptr != NULL), return ERR_ARG;); in netbuf_data()
200 LWIP_ERROR("netbuf_data: invalid len", (len != NULL), return ERR_ARG;); in netbuf_data()
Dsockets.c748 sock_set_errno(sock, err_to_errno(ERR_ARG)); done_socket(sock); return -1;); in lwip_bind()
871 sock_set_errno(sock, err_to_errno(ERR_ARG)); done_socket(sock); return -1;); in lwip_connect_internal()
1128 …om_udp_raw: invalid arguments", (msg->msg_iov != NULL) || (msg->msg_iovlen <= 0), return ERR_ARG;); in lwip_recvfrom_udp_raw()
1331 LWIP_ERROR("lwip_recvmsg: invalid message pointer", message != NULL, return ERR_ARG;); in lwip_recvmsg()
1391 sock_set_errno(sock, err_to_errno(ERR_ARG)); in lwip_recvmsg()
1418 sock_set_errno(sock, err_to_errno(ERR_ARG)); in lwip_recvmsg()
1449 sock_set_errno(sock, err_to_errno(ERR_ARG)); in lwip_send()
1495 sock_set_errno(sock, err_to_errno(ERR_ARG)); done_socket(sock); return -1;); in lwip_sendmsg_internal()
1497 sock_set_errno(sock, err_to_errno(ERR_ARG)); done_socket(sock); return -1;); in lwip_sendmsg_internal()
1520 sock_set_errno(sock, err_to_errno(ERR_ARG)); in lwip_sendmsg_internal()
[all …]
/third_party/lwip/src/apps/snmp/
Dsnmpv3_mbedtls.c69 return ERR_ARG; in snmpv3_auth()
74 return ERR_ARG; in snmpv3_auth()
102 return ERR_ARG; in snmpv3_auth()
129 return ERR_ARG; in snmpv3_crypt()
134 return ERR_ARG; in snmpv3_crypt()
137 return ERR_ARG; in snmpv3_crypt()
184 return ERR_ARG; in snmpv3_crypt()
223 return ERR_ARG; in snmpv3_crypt()
Dsnmp_asn1.c65 return ERR_ARG; in snmp_ans1_enc_tlv()
69 return ERR_ARG; in snmp_ans1_enc_tlv()
88 return ERR_ARG; in snmp_ans1_enc_tlv()
154 return ERR_ARG; in snmp_asn1_enc_u32t()
217 return ERR_ARG; in snmp_asn1_enc_oid()
684 return ERR_ARG; in snmp_asn1_enc_u64t()
Dsnmp_pbuf_stream.c101 return ERR_ARG; in snmp_pbuf_stream_writeto()
104 return ERR_ARG; in snmp_pbuf_stream_writeto()
140 return ERR_ARG; in snmp_pbuf_stream_seek()
Dsnmp_msg.c350 err = ERR_ARG; in snmp_receive()
505 return ERR_ARG; in snmp_process_get_request()
541 return ERR_ARG; in snmp_process_getnext_request()
592 return ERR_ARG; in snmp_process_getbulk_request()
692 return ERR_ARG; in snmp_process_set_request()
754 #define IF_PARSE_EXEC(code) PARSE_EXEC(code, ERR_ARG)
755 #define IF_PARSE_ASSERT(code) PARSE_ASSERT(code, ERR_ARG)
805 return ERR_ARG; in snmp_parse_inbound_frame()
1170 return ERR_ARG; in snmp_parse_inbound_frame()
1180 return ERR_ARG; in snmp_parse_inbound_frame()
[all …]
Dsnmp_traps.c87 return ERR_ARG; \
/third_party/lwip/src/core/
Dudp.c495 LWIP_ERROR("udp_send: invalid pcb", pcb != NULL, return ERR_ARG);
496 LWIP_ERROR("udp_send: invalid pbuf", p != NULL, return ERR_ARG);
514 LWIP_ERROR("udp_send_chksum: invalid pcb", pcb != NULL, return ERR_ARG);
515 LWIP_ERROR("udp_send_chksum: invalid pbuf", p != NULL, return ERR_ARG);
562 LWIP_ERROR("udp_sendto: invalid pcb", pcb != NULL, return ERR_ARG);
563 LWIP_ERROR("udp_sendto: invalid pbuf", p != NULL, return ERR_ARG);
564 LWIP_ERROR("udp_sendto: invalid dst_ip", dst_ip != NULL, return ERR_ARG);
686 LWIP_ERROR("udp_sendto_if: invalid pcb", pcb != NULL, return ERR_ARG);
687 LWIP_ERROR("udp_sendto_if: invalid pbuf", p != NULL, return ERR_ARG);
688 LWIP_ERROR("udp_sendto_if: invalid dst_ip", dst_ip != NULL, return ERR_ARG);
[all …]
Dpbuf.c966 LWIP_ERROR("pbuf_copy: invalid source", p_from != NULL, return ERR_ARG;); in pbuf_copy()
998 (p_from->tot_len >= copy_len)), return ERR_ARG;); in pbuf_copy_partial_pbuf()
1001 (p_to->tot_len >= (offset + copy_len))), return ERR_ARG;); in pbuf_copy_partial_pbuf()
1024 LWIP_ERROR("p_from != NULL", (p_from != NULL) || (copy_len == 0), return ERR_ARG;); in pbuf_copy_partial_pbuf()
1030 LWIP_ERROR("p_to != NULL", (p_to != NULL) || (copy_len == 0), return ERR_ARG;); in pbuf_copy_partial_pbuf()
1237 LWIP_ERROR("pbuf_take: invalid buf", (buf != NULL), return ERR_ARG;); in pbuf_take()
1238 LWIP_ERROR("pbuf_take: invalid dataptr", (dataptr != NULL), return ERR_ARG;); in pbuf_take()
1242 return ERR_ARG; in pbuf_take()
1380 return ERR_ARG; in pbuf_fill_chksum()
Dtcp.c646 LWIP_ERROR("tcp_close: invalid pcb", pcb != NULL, return ERR_ARG); in tcp_close()
677 LWIP_ERROR("tcp_shutdown: invalid pcb", pcb != NULL, return ERR_ARG); in tcp_shutdown()
837 LWIP_ERROR("tcp_bind: invalid ipaddr", ipaddr != NULL, return ERR_ARG);
840 LWIP_ERROR("tcp_bind: invalid pcb", pcb != NULL, return ERR_ARG);
1020 LWIP_ERROR("tcp_listen_with_backlog_and_err: invalid pcb", pcb != NULL, res = ERR_ARG; goto done);
1243 LWIP_ERROR("tcp_connect: invalid pcb", pcb != NULL, return ERR_ARG);
1244 LWIP_ERROR("tcp_connect: invalid ipaddr", ipaddr != NULL, return ERR_ARG);
1723 LWIP_ERROR("tcp_process_refused_data: invalid pcb", pcb != NULL, return ERR_ARG);
1866 LWIP_ERROR("tcp_recv_null: invalid pcb", pcb != NULL, return ERR_ARG);
Ddns.c545 return ERR_ARG; in dns_lookup_local()
665 return ERR_ARG; in dns_lookup()
1670 return ERR_ARG; in dns_gethostbyname_addrtype()
1674 return ERR_ARG; in dns_gethostbyname_addrtype()
1680 return ERR_ARG; in dns_gethostbyname_addrtype()
/third_party/lwip/src/apps/smtp/
Dsmtp.c415 return ERR_ARG; in smtp_set_auth()
424 return ERR_ARG; in smtp_set_auth()
498 err = ERR_ARG; in smtp_send_mail_alloced()
502 err = ERR_ARG; in smtp_send_mail_alloced()
506 err = ERR_ARG; in smtp_send_mail_alloced()
514 err = ERR_ARG; in smtp_send_mail_alloced()
541 err = ipaddr_aton(smtp_server, &addr) ? ERR_OK : ERR_ARG; in smtp_send_mail_alloced()
729 return ERR_ARG; in smtp_verify()
734 return ERR_ARG; in smtp_verify()
738 return ERR_ARG; in smtp_verify()
[all …]
/third_party/lwip/src/apps/http/
Dhttp_client.c458 err = ERR_ARG; in httpc_dns_found()
474 err = ipaddr_aton(server_name, &req->remote_addr) ? ERR_OK : ERR_ARG; in httpc_get_internal_dns()
638 …invalid parameters", (server_addr != NULL) && (uri != NULL) && (recv_fn != NULL), return ERR_ARG;); in httpc_get_file()
683 …invalid parameters", (server_name != NULL) && (uri != NULL) && (recv_fn != NULL), return ERR_ARG;); in httpc_get_file_dns()
825 …parameters", (server_addr != NULL) && (uri != NULL) && (local_file_name != NULL), return ERR_ARG;); in httpc_get_file_to_disk()
877 …parameters", (server_name != NULL) && (uri != NULL) && (local_file_name != NULL), return ERR_ARG;); in httpc_get_file_dns_to_disk()
Dhttpd.c1673 return ERR_ARG;
1678 #define http_find_error_file(hs, error_nr) ERR_ARG
1876 return ERR_ARG;
1884 return ERR_ARG;
1890 return ERR_ARG;
2107 if (err == ERR_ARG) {
2581 || parsed == ERR_INPROGRESS || parsed == ERR_ARG || parsed == ERR_USE);
2600 } else if (parsed == ERR_ARG) {
Dfs.c62 return ERR_ARG; in fs_open()
Daltcp_proxyconnect.c321 return ERR_ARG; in altcp_proxyconnect_setup()
/third_party/lwip/src/include/lwip/
Derr.h88 ERR_ARG = -16 enumerator
/third_party/lwip/src/include/lwip/priv/
Dtcp_priv.h179 ret = ERR_ARG; } } while(0)
191 else (ret) = ERR_ARG; \
/third_party/lwip/src/apps/mqtt/
Dmqtt.c1112 LWIP_ERROR("mqtt_publish: topic length overflow", (topic_strlen <= (0xFFFF - 2)), return ERR_ARG); in mqtt_publish()
1124 LWIP_ERROR("mqtt_publish: total length overflow", (total_len <= 0xFFFF), return ERR_ARG); in mqtt_publish()
1186 …WIP_ERROR("mqtt_sub_unsub: topic length overflow", (topic_strlen <= (0xFFFF - 2)), return ERR_ARG); in mqtt_sub_unsub()
1190 LWIP_ERROR("mqtt_sub_unsub: total length overflow", (total_len <= 0xFFFF), return ERR_ARG); in mqtt_sub_unsub()
/third_party/lwip/src/apps/sntp/
Dsntp.c449 err = ERR_ARG; in sntp_recv()
633 err = (ip_addr_isany_val(sntp_server_address)) ? ERR_ARG : ERR_OK; in sntp_request()
/third_party/lwip/src/core/ipv4/
Detharp.c464 return ERR_ARG;
577 return ERR_ARG;
978 return ERR_ARG;
Dautoip.c261 LWIP_ERROR("netif is not up, old style port?", netif_is_up(netif), return ERR_ARG;); in autoip_start()
/third_party/lwip/src/netif/
Dlowpan6_ble.c305 return ERR_ARG; in rfc7668_set_context()
Dlowpan6.c528 return ERR_ARG; in lowpan6_set_context()
539 return ERR_ARG; in lowpan6_set_context()

12