Lines Matching refs:new_buf

568  * @param new_buf pointer where a new pbuf/netbuf is stored when received data
579 netconn_recv_data(struct netconn *conn, void **new_buf, u8_t apiflags)
584 LWIP_ERROR("netconn_recv: invalid pointer", (new_buf != NULL), return ERR_ARG;);
585 *new_buf = NULL;
642 /* new_buf has been zeroed above already */
644 /* connection closed translates to ERR_OK with *new_buf == NULL */
670 *new_buf = buf;
703 netconn_recv_data_tcp(struct netconn *conn, struct pbuf **new_buf, u8_t apiflags)
727 err = netconn_recv_data(conn, (void **)new_buf, apiflags);
734 buf = *new_buf;
776 * @param new_buf pointer where a new pbuf is stored when received data
782 netconn_recv_tcp_pbuf(struct netconn *conn, struct pbuf **new_buf)
787 return netconn_recv_data_tcp(conn, new_buf, 0);
795 * @param new_buf pointer where a new pbuf is stored when received data
803 netconn_recv_tcp_pbuf_flags(struct netconn *conn, struct pbuf **new_buf, u8_t apiflags)
808 return netconn_recv_data_tcp(conn, new_buf, apiflags);
816 * @param new_buf pointer where a new netbuf is stored when received data
822 netconn_recv_udp_raw_netbuf(struct netconn *conn, struct netbuf **new_buf)
827 return netconn_recv_data(conn, (void **)new_buf, 0);
834 * @param new_buf pointer where a new netbuf is stored when received data
842 netconn_recv_udp_raw_netbuf_flags(struct netconn *conn, struct netbuf **new_buf, u8_t apiflags)
847 return netconn_recv_data(conn, (void **)new_buf, apiflags);
855 * @param new_buf pointer where a new netbuf is stored when received data
860 netconn_recv(struct netconn *conn, struct netbuf **new_buf)
867 LWIP_ERROR("netconn_recv: invalid pointer", (new_buf != NULL), return ERR_ARG;);
868 *new_buf = NULL;
895 *new_buf = buf;
905 return netconn_recv_data(conn, (void **)new_buf, 0);