Home
last modified time | relevance | path

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

/lib/liblwip/src/api/
Dnetbuf.c109 LWIP_ERROR("netbuf_alloc: invalid buf", (buf != NULL), return NULL;); in netbuf_alloc()
133 LWIP_ERROR("netbuf_free: invalid buf", (buf != NULL), return;); in netbuf_free()
152 LWIP_ERROR("netbuf_ref: invalid buf", (buf != NULL), return ERR_ARG;); in netbuf_ref()
176 LWIP_ERROR("netbuf_ref: invalid head", (head != NULL), return;); in netbuf_chain()
177 LWIP_ERROR("netbuf_chain: invalid tail", (tail != NULL), return;); in netbuf_chain()
195 LWIP_ERROR("netbuf_data: invalid buf", (buf != NULL), return ERR_ARG;); in netbuf_data()
196 LWIP_ERROR("netbuf_data: invalid dataptr", (dataptr != NULL), return ERR_ARG;); in netbuf_data()
197 LWIP_ERROR("netbuf_data: invalid len", (len != NULL), return ERR_ARG;); in netbuf_data()
220 LWIP_ERROR("netbuf_free: invalid buf", (buf != NULL), return -1;); in netbuf_next()
241 LWIP_ERROR("netbuf_free: invalid buf", (buf != NULL), return;); in netbuf_first()
Dapi_lib.c140 LWIP_ERROR("netconn_getaddr: invalid conn", (conn != NULL), return ERR_ARG;); in netconn_getaddr()
141 LWIP_ERROR("netconn_getaddr: invalid addr", (addr != NULL), return ERR_ARG;); in netconn_getaddr()
142 LWIP_ERROR("netconn_getaddr: invalid port", (port != NULL), return ERR_ARG;); in netconn_getaddr()
171 LWIP_ERROR("netconn_bind: invalid conn", (conn != NULL), return ERR_ARG;); in netconn_bind()
197 LWIP_ERROR("netconn_connect: invalid conn", (conn != NULL), return ERR_ARG;); in netconn_connect()
222 LWIP_ERROR("netconn_disconnect: invalid conn", (conn != NULL), return ERR_ARG;); in netconn_disconnect()
250 LWIP_ERROR("netconn_listen: invalid conn", (conn != NULL), return ERR_ARG;); in netconn_listen_with_backlog()
286LWIP_ERROR("netconn_accept: invalid pointer", (new_conn != NULL), return ERR_A… in netconn_accept()
288LWIP_ERROR("netconn_accept: invalid conn", (conn != NULL), return ERR_A… in netconn_accept()
289LWIP_ERROR("netconn_accept: invalid acceptmbox", sys_mbox_valid(&conn->acceptmbox), return ERR_A… in netconn_accept()
[all …]
Dsockets.c419 LWIP_ERROR("lwip_bind: invalid address", ((namelen == sizeof(struct sockaddr_in)) && in lwip_bind()
483 LWIP_ERROR("lwip_connect: invalid address", ((namelen == sizeof(struct sockaddr_in)) && in lwip_connect()
820 LWIP_ERROR("lwip_sendto: invalid address", (((to == NULL) && (tolen == 0)) ||
Dapi_msg.c1027 LWIP_ERROR("Invalid netconn type", 0, do{ msg->err = ERR_VAL; }while(0));
/lib/liblwip/src/include/lwip/
Ddebug.h73 #ifndef LWIP_ERROR
74 #define LWIP_ERROR(message, expression, handler) do { if (!(expression)) { \ macro
/lib/liblwip/src/core/
Ddhcp.c634 LWIP_ERROR("netif != NULL", (netif != NULL), return ERR_ARG;); in dhcp_start()
718 LWIP_ERROR("netif != NULL", (netif != NULL), return;); in dhcp_inform()
805 LWIP_ERROR("netif != NULL", (netif != NULL), return;); in dhcp_arp_reply()
932 LWIP_ERROR("dhcp_bind: netif != NULL", (netif != NULL), return;); in dhcp_bind()
934 LWIP_ERROR("dhcp_bind: dhcp != NULL", (dhcp != NULL), return;); in dhcp_bind()
1223 LWIP_ERROR("dhcp_stop: netif != NULL", (netif != NULL), return;); in dhcp_stop()
1403 LWIP_ERROR("len == 4", len == 4, return ERR_VAL;); in dhcp_parse_reply()
1408 LWIP_ERROR("len >= decode_len", len >= decode_len, return ERR_VAL;); in dhcp_parse_reply()
1413 LWIP_ERROR("len % 4 == 0", len % 4 == 0, return ERR_VAL;); in dhcp_parse_reply()
1416 LWIP_ERROR("len >= decode_len", len >= decode_len, return ERR_VAL;); in dhcp_parse_reply()
[all …]
Dpbuf.c525 LWIP_ERROR("increment_magnitude <= p->len", (increment_magnitude <= p->len), return 1;); in pbuf_header()
749 LWIP_ERROR("(h != NULL) && (t != NULL) (programmer violates API)", in pbuf_cat()
860 LWIP_ERROR("pbuf_copy: target not big enough to hold source", ((p_to != NULL) && in pbuf_copy()
888 LWIP_ERROR("p_to != NULL", (p_to != NULL) || (p_from == NULL) , return ERR_ARG;); in pbuf_copy()
893 LWIP_ERROR("pbuf_copy() does not allow packet queues!\n", in pbuf_copy()
898 LWIP_ERROR("pbuf_copy() does not allow packet queues!\n", in pbuf_copy()
925 LWIP_ERROR("pbuf_copy_partial: invalid buf", (buf != NULL), return 0;); in pbuf_copy_partial()
926 LWIP_ERROR("pbuf_copy_partial: invalid dataptr", (dataptr != NULL), return 0;); in pbuf_copy_partial()
973 LWIP_ERROR("pbuf_take: invalid buf", (buf != NULL), return 0;); in pbuf_take()
974 LWIP_ERROR("pbuf_take: invalid dataptr", (dataptr != NULL), return 0;); in pbuf_take()
Dmemp.c398 LWIP_ERROR("memp_malloc: type < MEMP_MAX", (type < MEMP_MAX), return NULL;); in memp_malloc()
Dtcp.c439 LWIP_ERROR("tcp_bind: can only bind in state CLOSED", pcb->state == CLOSED, return ERR_VAL); in tcp_bind()
524 LWIP_ERROR("tcp_listen: pcb already connected", pcb->state == CLOSED, return NULL); in tcp_listen_with_backlog()
691LWIP_ERROR("tcp_connect: can only connect from state CLOSED", pcb->state == CLOSED, return ERR_ISC… in tcp_connect()
Dtcp_out.c382 LWIP_ERROR("tcp_write: arg == NULL (programmer violates API)", in tcp_write()
/lib/liblwip/src/core/ipv4/
Digmp.c522LWIP_ERROR("igmp_joingroup: attempt to join non-multicast address", ip_addr_ismulticast(groupaddr)… in igmp_joingroup()
523LWIP_ERROR("igmp_joingroup: attempt to join allsystems address", (!ip_addr_cmp(groupaddr, &allsyst… in igmp_joingroup()
592LWIP_ERROR("igmp_leavegroup: attempt to leave non-multicast address", ip_addr_ismulticast(groupadd… in igmp_leavegroup()
593LWIP_ERROR("igmp_leavegroup: attempt to leave allsystems address", (!ip_addr_cmp(groupaddr, &allsy… in igmp_leavegroup()
/lib/liblwip/src/netif/
Detharp.c644 LWIP_ERROR("netif != NULL", (netif != NULL), return;);
699 LWIP_ERROR("netif != NULL", (netif != NULL), return;);
/lib/liblwip/
DCHANGELOG1895 * debug.h, api_msg.c: change LWIP_ERROR to use it to check errors like invalid