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.c744 sock_set_errno(sock, err_to_errno(ERR_ARG)); done_socket(sock); return -1;); in lwip_bind()
867 sock_set_errno(sock, err_to_errno(ERR_ARG)); done_socket(sock); return -1;); in lwip_connect_internal()
1124 …om_udp_raw: invalid arguments", (msg->msg_iov != NULL) || (msg->msg_iovlen <= 0), return ERR_ARG;); in lwip_recvfrom_udp_raw()
1327 LWIP_ERROR("lwip_recvmsg: invalid message pointer", message != NULL, return ERR_ARG;); in lwip_recvmsg()
1387 sock_set_errno(sock, err_to_errno(ERR_ARG)); in lwip_recvmsg()
1414 sock_set_errno(sock, err_to_errno(ERR_ARG)); in lwip_recvmsg()
1445 sock_set_errno(sock, err_to_errno(ERR_ARG)); in lwip_send()
1491 sock_set_errno(sock, err_to_errno(ERR_ARG)); done_socket(sock); return -1;); in lwip_sendmsg_internal()
1493 sock_set_errno(sock, err_to_errno(ERR_ARG)); done_socket(sock); return -1;); in lwip_sendmsg_internal()
1516 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.c473 LWIP_ERROR("udp_send: invalid pcb", pcb != NULL, return ERR_ARG); in udp_send()
474 LWIP_ERROR("udp_send: invalid pbuf", p != NULL, return ERR_ARG); in udp_send()
492 LWIP_ERROR("udp_send_chksum: invalid pcb", pcb != NULL, return ERR_ARG); in udp_send_chksum()
493 LWIP_ERROR("udp_send_chksum: invalid pbuf", p != NULL, return ERR_ARG); in udp_send_chksum()
540 LWIP_ERROR("udp_sendto: invalid pcb", pcb != NULL, return ERR_ARG); in udp_sendto_chksum()
541 LWIP_ERROR("udp_sendto: invalid pbuf", p != NULL, return ERR_ARG); in udp_sendto_chksum()
542 LWIP_ERROR("udp_sendto: invalid dst_ip", dst_ip != NULL, return ERR_ARG); in udp_sendto_chksum()
644 LWIP_ERROR("udp_sendto_if: invalid pcb", pcb != NULL, return ERR_ARG); in udp_sendto_if_chksum()
645 LWIP_ERROR("udp_sendto_if: invalid pbuf", p != NULL, return ERR_ARG); in udp_sendto_if_chksum()
646 LWIP_ERROR("udp_sendto_if: invalid dst_ip", dst_ip != NULL, return ERR_ARG); in udp_sendto_if_chksum()
[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.c488 LWIP_ERROR("tcp_close: invalid pcb", pcb != NULL, return ERR_ARG); in tcp_close()
519 LWIP_ERROR("tcp_shutdown: invalid pcb", pcb != NULL, return ERR_ARG); in tcp_shutdown()
679 LWIP_ERROR("tcp_bind: invalid ipaddr", ipaddr != NULL, return ERR_ARG); in tcp_bind()
682 LWIP_ERROR("tcp_bind: invalid pcb", pcb != NULL, return ERR_ARG); in tcp_bind()
858 LWIP_ERROR("tcp_listen_with_backlog_and_err: invalid pcb", pcb != NULL, res = ERR_ARG; goto done); in tcp_listen_with_backlog_and_err()
1078 LWIP_ERROR("tcp_connect: invalid pcb", pcb != NULL, return ERR_ARG); in tcp_connect()
1079 LWIP_ERROR("tcp_connect: invalid ipaddr", ipaddr != NULL, return ERR_ARG); in tcp_connect()
1546 LWIP_ERROR("tcp_process_refused_data: invalid pcb", pcb != NULL, return ERR_ARG); in tcp_process_refused_data()
1689 LWIP_ERROR("tcp_recv_null: invalid pcb", pcb != NULL, return ERR_ARG); in tcp_recv_null()
Ddns.c520 return ERR_ARG; in dns_lookup_local()
640 return ERR_ARG; in dns_lookup()
1643 return ERR_ARG; in dns_gethostbyname_addrtype()
1647 return ERR_ARG; in dns_gethostbyname_addrtype()
1653 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()
Dfs.c62 return ERR_ARG; in fs_open()
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) {
/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.c435 return ERR_ARG;
545 return ERR_ARG;
946 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.c503 return ERR_ARG; in lowpan6_set_context()
514 return ERR_ARG; in lowpan6_set_context()
/third_party/lwip/src/core/ipv6/
Dmld6.c212 err = ERR_ARG; in mld6_remove_group()

12