Home
last modified time | relevance | path

Searched refs:netbuf (Results 1 – 19 of 19) sorted by relevance

/lib/lwip/lwip/src/api/
A Dnetbuf.c63 netbuf *netbuf_new(void) in netbuf_new()
65 struct netbuf *buf; in netbuf_new()
67 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in netbuf_new()
69 memset(buf, 0, sizeof(struct netbuf)); in netbuf_new()
81 netbuf_delete(struct netbuf *buf) in netbuf_delete()
102 netbuf_alloc(struct netbuf *buf, u16_t size) in netbuf_alloc()
127 netbuf_free(struct netbuf *buf) in netbuf_free()
176 netbuf_chain(struct netbuf *head, struct netbuf *tail) in netbuf_chain()
196 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) in netbuf_data()
222 netbuf_next(struct netbuf *buf) in netbuf_next()
[all …]
A Dapi_lib.c658 len = netbuf_len((struct netbuf *)buf); in netconn_recv_data()
822 netconn_recv_udp_raw_netbuf(struct netconn *conn, struct netbuf **new_buf) in netconn_recv_udp_raw_netbuf()
842 netconn_recv_udp_raw_netbuf_flags(struct netconn *conn, struct netbuf **new_buf, u8_t apiflags) in netconn_recv_udp_raw_netbuf_flags()
860 netconn_recv(struct netconn *conn, struct netbuf **new_buf) in netconn_recv()
863 struct netbuf *buf = NULL; in netconn_recv()
879 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in netconn_recv()
922 netconn_sendto(struct netconn *conn, struct netbuf *buf, const ip_addr_t *addr, u16_t port) in netconn_sendto()
941 netconn_send(struct netconn *conn, struct netbuf *buf) in netconn_send()
A Dsockets.c617 netbuf_delete(lastdata->netbuf); in free_socket_free_elements()
1128 struct netbuf *buf; in lwip_recvfrom_udp_raw()
1145 buf = sock->lastdata.netbuf; in lwip_recvfrom_udp_raw()
1157 sock->lastdata.netbuf = buf; in lwip_recvfrom_udp_raw()
1227 sock->lastdata.netbuf = NULL; in lwip_recvfrom_udp_raw()
1508 struct netbuf chain_buf; in lwip_sendmsg()
1630 struct netbuf buf; in lwip_sendto()
3810 struct netbuf *nb; in lwip_ioctl()
3811 if (sock->lastdata.netbuf) { in lwip_ioctl()
3815 struct netbuf *rxbuf; in lwip_ioctl()
[all …]
A Dapi_msg.c163 struct netbuf *buf; in recv_raw()
181 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in recv_raw()
221 struct netbuf *buf;
252 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF);
857 netbuf_delete((struct netbuf *)mem);
/lib/lwip/lwip/src/include/lwip/
A Dnetbuf.h60 struct netbuf { struct
74 struct netbuf * netbuf_new (void); argument
75 void netbuf_delete (struct netbuf *buf);
76 void * netbuf_alloc (struct netbuf *buf, u16_t size);
77 void netbuf_free (struct netbuf *buf);
78 err_t netbuf_ref (struct netbuf *buf,
80 void netbuf_chain (struct netbuf *head, struct netbuf *tail);
82 err_t netbuf_data (struct netbuf *buf,
84 s8_t netbuf_next (struct netbuf *buf);
85 void netbuf_first (struct netbuf *buf);
A Dapi.h334 err_t netconn_recv(struct netconn *conn, struct netbuf **new_buf);
335 err_t netconn_recv_udp_raw_netbuf(struct netconn *conn, struct netbuf **new_buf);
336 err_t netconn_recv_udp_raw_netbuf_flags(struct netconn *conn, struct netbuf **new_buf, u8_t apifl…
340 err_t netconn_sendto(struct netconn *conn, struct netbuf *buf,
342 err_t netconn_send(struct netconn *conn, struct netbuf *buf);
/lib/lwip/lwip/src/include/lwip/priv/
A Dsockets_priv.h62 struct netbuf *netbuf; member
A Dmemp_std.h67 LWIP_MEMPOOL(NETBUF, MEMP_NUM_NETBUF, sizeof(struct netbuf), "NETBUF")
A Dapi_msg.h88 struct netbuf *b;
/lib/lwip/lwip/src/apps/snmp/
A Dsnmp_netconn.c52 struct netbuf *buf; in snmp_netconn_thread()
85 struct netbuf buf; in snmp_sendto()
/lib/lwip/lwip/contrib/apps/httpserver/
A DREADME8 * httpserver-netconn.c - uses netconn and netbuf API
A Dhttpserver-netconn.c21 struct netbuf *inbuf; in http_server_netconn_serve()
/lib/lwip/lwip/contrib/apps/udpecho/
A Dudpecho.c47 struct netbuf *buf; in udpecho_thread()
/lib/lwip/lwip/contrib/apps/tcpecho/
A Dtcpecho.c69 struct netbuf *buf; in tcpecho_thread()
/lib/lwip/
A DMakefile10 lwip/src/api/netbuf.o \
/lib/lwip/lwip/src/
A DFilelists.mk79 $(LWIPDIR)/api/netbuf.c \
A DFilelists.cmake89 ${LWIP_DIR}/src/api/netbuf.c
/lib/lwip/lwip/contrib/apps/shell/
A Dshell.c536 struct netbuf *buf; in com_recv()
920 struct netbuf *buf; in com_usnd()
/lib/lwip/lwip/
A DCHANGELOG1644 * netbuf.h/.c, sockets.c, api_msg.c: use checksum-on-copy for sending
1696 by not allocating a netbuf): added function netconn_recv_tcp_pbuf()
2250 * api_msg.c, netbuf.c/.h, opt.h: patch #6888: Patch for UDP Netbufs to
2417 * opt.h, sockets.c, pbuf.c, netbuf.h, pbuf.h: task #7013: Added option
2635 * netbuf.c: bug #26027: netbuf_chain resulted in pbuf memory leak
2708 port uses deleted netbuf.
3048 * Add netbuf.h, netbuf.c, Change api.h, api_lib.c: #7249 "Split netbuf functions
3049 from api/api_lib". Now netbuf API is independant of netconn, and can be used
3051 maintainers just have to add src/api/netbuf.c in their makefile/projects.
3266 netbuf (if we receive lot of datagrams). Improve lwip_sendto (only one exchange between
[all …]

Completed in 36 milliseconds