Searched refs:netbuf (Results 1 – 11 of 11) sorted by relevance
| /lib/liblwip/src/include/lwip/ |
| D | netbuf.h | 48 struct netbuf { struct 64 struct netbuf * netbuf_new (void); argument 65 void netbuf_delete (struct netbuf *buf); 66 void * netbuf_alloc (struct netbuf *buf, u16_t size); 67 void netbuf_free (struct netbuf *buf); 68 err_t netbuf_ref (struct netbuf *buf, 70 void netbuf_chain (struct netbuf *head, 71 struct netbuf *tail); 73 err_t netbuf_data (struct netbuf *buf, 75 s8_t netbuf_next (struct netbuf *buf); [all …]
|
| D | api.h | 232 err_t netconn_recv(struct netconn *conn, struct netbuf **new_buf); 235 err_t netconn_sendto(struct netconn *conn, struct netbuf *buf, 237 err_t netconn_send(struct netconn *conn, struct netbuf *buf);
|
| D | api_msg.h | 71 struct netbuf *b;
|
| D | memp_std.h | 55 LWIP_MEMPOOL(NETBUF, MEMP_NUM_NETBUF, sizeof(struct netbuf), "NETBUF")
|
| /lib/liblwip/src/api/ |
| D | netbuf.c | 56 netbuf *netbuf_new(void) in netbuf_new() 58 struct netbuf *buf; in netbuf_new() 60 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in netbuf_new() 87 netbuf_delete(struct netbuf *buf) in netbuf_delete() 107 netbuf_alloc(struct netbuf *buf, u16_t size) in netbuf_alloc() 131 netbuf_free(struct netbuf *buf) in netbuf_free() 150 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size) in netbuf_ref() 174 netbuf_chain(struct netbuf *head, struct netbuf *tail) in netbuf_chain() 193 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) in netbuf_data() 218 netbuf_next(struct netbuf *buf) in netbuf_next() [all …]
|
| D | api_lib.c | 410 len = netbuf_len((struct netbuf *)buf); in netconn_recv_data() 454 netconn_recv(struct netconn *conn, struct netbuf **new_buf) in netconn_recv() 457 struct netbuf *buf = NULL; in netconn_recv() 474 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in netconn_recv() 549 netconn_sendto(struct netconn *conn, struct netbuf *buf, ip_addr_t *addr, u16_t port) in netconn_sendto() 567 netconn_send(struct netconn *conn, struct netbuf *buf) in netconn_send()
|
| D | sockets.c | 300 netbuf_delete((struct netbuf *)lastdata); in free_socket() 602 err = netconn_recv(sock->conn, (struct netbuf **)&buf); in lwip_recvfrom() 632 p = ((struct netbuf *)buf)->p; in lwip_recvfrom() 675 addr = netbuf_fromaddr((struct netbuf *)buf); in lwip_recvfrom() 676 port = netbuf_fromport((struct netbuf *)buf); in lwip_recvfrom() 700 addr = netbuf_fromaddr((struct netbuf *)buf); in lwip_recvfrom() 701 port = netbuf_fromport((struct netbuf *)buf); in lwip_recvfrom() 727 netbuf_delete((struct netbuf *)buf); in lwip_recvfrom() 799 struct netbuf buf; 2312 p = ((struct netbuf *)p)->p;
|
| D | api_msg.c | 82 struct netbuf *buf; in recv_raw() 107 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in recv_raw() 147 struct netbuf *buf; 171 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); 707 netbuf_delete((struct netbuf *)mem);
|
| /lib/liblwip/ |
| D | SConscript | 13 "src/api/netbuf.c",
|
| D | CHANGELOG | 358 * netbuf.h/.c, sockets.c, api_msg.c: use checksum-on-copy for sending 410 by not allocating a netbuf): added function netconn_recv_tcp_pbuf() 964 * api_msg.c, netbuf.c/.h, opt.h: patch #6888: Patch for UDP Netbufs to 1131 * opt.h, sockets.c, pbuf.c, netbuf.h, pbuf.h: task #7013: Added option 1349 * netbuf.c: bug #26027: netbuf_chain resulted in pbuf memory leak 1422 port uses deleted netbuf. 1762 * Add netbuf.h, netbuf.c, Change api.h, api_lib.c: #7249 "Split netbuf functions 1763 from api/api_lib". Now netbuf API is independant of netconn, and can be used 1765 maintainers just have to add src/api/netbuf.c in their makefile/projects. 1980 netbuf (if we receive lot of datagrams). Improve lwip_sendto (only one exchange between [all …]
|
| /lib/liblwip/doc/ |
| D | rawapi.txt | 38 - netbuf.h
|