Home
last modified time | relevance | path

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

/third_party/lwip/src/api/
Dnetbuf.c104 LWIP_ERROR("netbuf_alloc: invalid buf", (buf != NULL), return NULL;); in netbuf_alloc()
129 LWIP_ERROR("netbuf_free: invalid buf", (buf != NULL), return;); in netbuf_free()
153 LWIP_ERROR("netbuf_ref: invalid buf", (buf != NULL), return ERR_ARG;); in netbuf_ref()
178 LWIP_ERROR("netbuf_chain: invalid head", (head != NULL), return;); in netbuf_chain()
179 LWIP_ERROR("netbuf_chain: invalid tail", (tail != NULL), return;); in netbuf_chain()
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()
224 LWIP_ERROR("netbuf_next: invalid buf", (buf != NULL), return -1;); in netbuf_next()
246 LWIP_ERROR("netbuf_first: invalid buf", (buf != NULL), return;); in netbuf_first()
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()
481LWIP_ERROR("netconn_accept: invalid pointer", (new_conn != NULL), return ERR_A… in netconn_accept()
483LWIP_ERROR("netconn_accept: invalid conn", (conn != NULL), return ERR_A… in netconn_accept()
[all …]
Dsockets.c746 LWIP_ERROR("lwip_bind: invalid address", (IS_SOCK_ADDR_LEN_VALID(namelen) && in lwip_bind()
869 LWIP_ERROR("lwip_connect: invalid address", IS_SOCK_ADDR_LEN_VALID(namelen) && in lwip_connect_internal()
1128LWIP_ERROR("lwip_recvfrom_udp_raw: invalid arguments", (msg->msg_iov != NULL) || (msg->msg_iovlen … in lwip_recvfrom_udp_raw()
1331 LWIP_ERROR("lwip_recvmsg: invalid message pointer", message != NULL, return ERR_ARG;); in lwip_recvmsg()
1332 LWIP_ERROR("lwip_recvmsg: unsupported flags", (flags & ~(MSG_PEEK|MSG_DONTWAIT)) == 0, in lwip_recvmsg()
1494 LWIP_ERROR("lwip_sendmsg: invalid msghdr", msg != NULL, in lwip_sendmsg_internal()
1496 LWIP_ERROR("lwip_sendmsg: invalid msghdr iov", msg->msg_iov != NULL, in lwip_sendmsg_internal()
1498LWIP_ERROR("lwip_sendmsg: maximum iovs exceeded", (msg->msg_iovlen > 0) && (msg->msg_iovlen <= IOV… in lwip_sendmsg_internal()
1500 LWIP_ERROR("lwip_sendmsg: unsupported flags", (flags & ~(MSG_DONTWAIT | MSG_MORE)) == 0, in lwip_sendmsg_internal()
1533LWIP_ERROR("lwip_sendmsg: invalid msghdr name", (((msg->msg_name == NULL) && (msg->msg_namelen == … in lwip_sendmsg_internal()
[all …]
Dapi_msg.c1464 LWIP_ERROR("Invalid netconn type", 0, do {
/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);
574 LWIP_ERROR("udp_sendto: invalid net group", group != NULL, return ERR_VAL);
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);
[all …]
Dpbuf.c597 LWIP_ERROR("increment_magnitude <= p->len", (increment_magnitude <= p->len), return 1;); in pbuf_remove_header()
857 LWIP_ERROR("(h != NULL) && (t != NULL) (programmer violates API)", in pbuf_cat()
966 LWIP_ERROR("pbuf_copy: invalid source", p_from != NULL, return ERR_ARG;); in pbuf_copy()
997 LWIP_ERROR("pbuf_copy_partial_pbuf: copy_len bigger than source", ((p_from != NULL) && in pbuf_copy_partial_pbuf()
1000 LWIP_ERROR("pbuf_copy_partial_pbuf: target not big enough", ((p_to != NULL) && 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()
1035 LWIP_ERROR("pbuf_copy_partial_pbuf() does not allow packet queues!", in pbuf_copy_partial_pbuf()
1040 LWIP_ERROR("pbuf_copy_partial_pbuf() does not allow packet queues!", in pbuf_copy_partial_pbuf()
1068 LWIP_ERROR("pbuf_copy_partial: invalid buf", (buf != NULL), return 0;); in pbuf_copy_partial()
[all …]
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()
731 LWIP_ERROR("tcp_abandon: invalid pcb", pcb != NULL, return); in tcp_abandon()
837 LWIP_ERROR("tcp_bind: invalid ipaddr", ipaddr != NULL, return ERR_ARG);
840 LWIP_ERROR("tcp_bind: invalid pcb", pcb != NULL, return ERR_ARG);
842 LWIP_ERROR("tcp_bind: can only bind in state CLOSED", pcb->state == CLOSED, return ERR_VAL);
1020 LWIP_ERROR("tcp_listen_with_backlog_and_err: invalid pcb", pcb != NULL, res = ERR_ARG; goto done);
1021LWIP_ERROR("tcp_listen_with_backlog_and_err: pcb already connected", pcb->state == CLOSED, res = E…
1141 LWIP_ERROR("tcp_recved: invalid pcb", pcb != NULL, return);
1243 LWIP_ERROR("tcp_connect: invalid pcb", pcb != NULL, return ERR_ARG);
[all …]
Dnetif.c354 LWIP_ERROR("netif_add: invalid netif", netif != NULL, return NULL);
355 LWIP_ERROR("netif_add: No init function given", init != NULL, return NULL);
587 LWIP_ERROR("netif_set_ipaddr: invalid netif", netif != NULL, return);
653 LWIP_ERROR("netif_set_netmask: invalid netif", netif != NULL, return);
714 LWIP_ERROR("netif_set_gw: invalid netif", netif != NULL, return);
969 LWIP_ERROR("netif_set_up: invalid netif", netif != NULL, return);
1044 LWIP_ERROR("netif_set_down: invalid netif", netif != NULL, return);
1113 LWIP_ERROR("netif_set_link_up: invalid netif", netif != NULL, return);
1151 LWIP_ERROR("netif_set_link_down: invalid netif", netif != NULL, return);
Dmemp.c343 LWIP_ERROR("memp_malloc: type < MEMP_MAX", (type < MEMP_MAX), return NULL;); in memp_malloc()
426 LWIP_ERROR("memp_free: type < MEMP_MAX", (type < MEMP_MAX), return;); in memp_free()
Dtcp_out.c137 LWIP_ERROR("tcp_route: invalid net group", group != NULL, return NULL); in tcp_route()
426 LWIP_ERROR("tcp_write: invalid pcb", pcb != NULL, return ERR_ARG); in tcp_write()
441 LWIP_ERROR("tcp_write: arg == NULL (programmer violates API)", in tcp_write()
/third_party/lwip/src/apps/mdns/
Dmdns.c527 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()
571 LWIP_ERROR("mdns_build_reverse_v6_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v6_domain()
576 LWIP_ERROR("mdns_build_reverse_v6_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v6_domain()
578 LWIP_ERROR("mdns_build_reverse_v6_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v6_domain()
580 LWIP_ERROR("mdns_build_reverse_v6_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v6_domain()
592 LWIP_ERROR("mdns_add_dotlocal: Failed to add label", (res == ERR_OK), return res); in mdns_add_dotlocal()
608 LWIP_ERROR("mdns_build_host_domain: mdns != NULL", (mdns != NULL), return ERR_VAL); in mdns_build_host_domain()
[all …]
/third_party/lwip/src/core/ipv4/
Digmp.c457LWIP_ERROR("igmp_joingroup: attempt to join non-multicast address", ip4_addr_ismulticast(groupaddr…
458LWIP_ERROR("igmp_joingroup: attempt to join allsystems address", (!ip4_addr_cmp(groupaddr, &allsys…
496LWIP_ERROR("igmp_joingroup_netif: attempt to join non-multicast address", ip4_addr_ismulticast(gro…
497LWIP_ERROR("igmp_joingroup_netif: attempt to join allsystems address", (!ip4_addr_cmp(groupaddr, &…
500LWIP_ERROR("igmp_joingroup_netif: attempt to join on non-IGMP netif", netif->flags & NETIF_FLAG_IG…
558LWIP_ERROR("igmp_leavegroup: attempt to leave non-multicast address", ip4_addr_ismulticast(groupad…
559LWIP_ERROR("igmp_leavegroup: attempt to leave allsystems address", (!ip4_addr_cmp(groupaddr, &alls…
596LWIP_ERROR("igmp_leavegroup_netif: attempt to leave non-multicast address", ip4_addr_ismulticast(g…
597LWIP_ERROR("igmp_leavegroup_netif: attempt to leave allsystems address", (!ip4_addr_cmp(groupaddr,…
600LWIP_ERROR("igmp_leavegroup_netif: attempt to leave on non-IGMP netif", netif->flags & NETIF_FLAG_…
Ddhcp.c381 LWIP_ERROR("dhcp_select: netif != NULL", (netif != NULL), return ERR_ARG;); in dhcp_select()
383 LWIP_ERROR("dhcp_select: dhcp != NULL", (dhcp != NULL), return ERR_VAL;); in dhcp_select()
816 LWIP_ERROR("netif != NULL", (netif != NULL), return ERR_ARG;);
817 LWIP_ERROR("netif is not up, old style port?", netif_is_up(netif), return ERR_ARG;);
894 LWIP_ERROR("netif != NULL", (netif != NULL), return;);
980 LWIP_ERROR("netif != NULL", (netif != NULL), return;);
1118 LWIP_ERROR("dhcp_bind: netif != NULL", (netif != NULL), return;);
1120 LWIP_ERROR("dhcp_bind: dhcp != NULL", (dhcp != NULL), return;);
1966 LWIP_ERROR("dhcp_create_msg: netif != NULL", (netif != NULL), return NULL;);
1967 LWIP_ERROR("dhcp_create_msg: dhcp != NULL", (dhcp != NULL), return NULL;);
Dautoip.c261 LWIP_ERROR("netif is not up, old style port?", netif_is_up(netif), return ERR_ARG;); in autoip_start()
Dip4_frag.c784 LWIP_ERROR("ip4_frag(): pbuf too short", p->len >= IP_HLEN, return ERR_VAL); in ip4_frag()
Detharp.c682 LWIP_ERROR("netif != NULL", (netif != NULL), return;);
/third_party/lwip/src/apps/mqtt/
Dmqtt.c684 LWIP_ERROR("buffer length mismatch", fixed_hdr_len + length <= MQTT_VAR_HEADER_BUFFER_LEN, in mqtt_message_received()
1109LWIP_ERROR("mqtt_publish: TCP disconnected", (client->conn_state != TCP_DISCONNECTED), return ERR_… in mqtt_publish()
1112 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()
1186LWIP_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()
1319LWIP_ERROR("mqtt_client_connect: client_info->will_topic length overflow", len <= 0xFF, return ERR… in mqtt_client_connect()
1320LWIP_ERROR("mqtt_client_connect: client_info->will_topic length must be > 0", len > 0, return ERR_… in mqtt_client_connect()
1323LWIP_ERROR("mqtt_client_connect: client_info->will_msg length overflow", len <= 0xFF, return ERR_V… in mqtt_client_connect()
1326 LWIP_ERROR("mqtt_client_connect: remaining_length overflow", len <= 0xFFFF, return ERR_VAL); in mqtt_client_connect()
[all …]
/third_party/lwip/src/include/lwip/
Ddebug.h122 #ifndef LWIP_ERROR
130 #define LWIP_ERROR(message, expression, handler) do { if (!(expression)) { \ macro
/third_party/lwip/src/apps/snmp/
Dsnmp_raw.c92 LWIP_ERROR("snmp_raw: no PCB", (snmp_pcb != NULL), return;); in snmp_init()
100 LWIP_ERROR("snmp_raw: Unable to bind PCB", (err == ERR_OK), return;); in snmp_init()
Dsnmp_netconn.c64 LWIP_ERROR("snmp_netconn: invalid conn", (conn != NULL), return;); in snmp_netconn_thread()
/third_party/lwip/src/apps/http/
Dhttp_client.c638LWIP_ERROR("invalid parameters", (server_addr != NULL) && (uri != NULL) && (recv_fn != NULL), retu… in httpc_get_file()
683LWIP_ERROR("invalid parameters", (server_name != NULL) && (uri != NULL) && (recv_fn != NULL), retu… in httpc_get_file_dns()
825LWIP_ERROR("invalid parameters", (server_addr != NULL) && (uri != NULL) && (local_file_name != NUL… in httpc_get_file_to_disk()
877LWIP_ERROR("invalid parameters", (server_name != NULL) && (uri != NULL) && (local_file_name != NUL… in httpc_get_file_dns_to_disk()
/third_party/lwip/src/core/ipv6/
Ddhcp6.c383 LWIP_ERROR("dhcp6_create_msg: netif != NULL", (netif != NULL), return NULL;); in dhcp6_create_msg()
384 LWIP_ERROR("dhcp6_create_msg: dhcp6 != NULL", (dhcp6 != NULL), return NULL;); in dhcp6_create_msg()
713 LWIP_ERROR("invalid server address type", IP_IS_V6(addr), goto free_pbuf_and_return;); in dhcp6_recv()
/third_party/lwip/doc/
Dmdns.txt93 LWIP_ERROR("mdns add service txt failed\n", (res == ERR_OK), return);
/third_party/lwip/src/netif/
Dlowpan6.c564 LWIP_ERROR("NETIF_MAX_HWADDR_LEN >= 8 required", sizeof(netif->hwaddr) >= 8, return ERR_VAL;); in lowpan6_hwaddr_to_addr()
/third_party/lwip/
DCHANGELOG3094 * debug.h, api_msg.c: change LWIP_ERROR to use it to check errors like invalid