Home
last modified time | relevance | path

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

/btstack/3rd-party/lwip/core/src/api/
H 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()
151 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size) in netbuf_ref()
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()
[all …]
H 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()
H A Dsockets.c573 netbuf_delete(lastdata->netbuf); in free_socket_free_elements()
1084 struct netbuf *buf; in lwip_recvfrom_udp_raw()
1099 …DEBUG, ("lwip_recvfrom_udp_raw[UDP/RAW]: top sock->lastdata=%p\n", (void *)sock->lastdata.netbuf)); in lwip_recvfrom_udp_raw()
1101 buf = sock->lastdata.netbuf; in lwip_recvfrom_udp_raw()
1113 sock->lastdata.netbuf = buf; in lwip_recvfrom_udp_raw()
1183 sock->lastdata.netbuf = NULL; in lwip_recvfrom_udp_raw()
1464 struct netbuf chain_buf; in lwip_sendmsg()
1474 memset(&chain_buf, 0, sizeof(struct netbuf)); in lwip_sendmsg()
1586 struct netbuf buf; in lwip_sendto()
3759 struct netbuf *nb; in lwip_ioctl()
[all …]
H 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;
251 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF);
856 netbuf_delete((struct netbuf *)mem);
/btstack/3rd-party/lwip/core/src/include/lwip/
H 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);
H 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);
/btstack/3rd-party/lwip/core/src/include/lwip/priv/
H A Dsockets_priv.h62 struct netbuf *netbuf; member
H A Dmemp_std.h67 LWIP_MEMPOOL(NETBUF, MEMP_NUM_NETBUF, sizeof(struct netbuf), "NETBUF")
H A Dapi_msg.h88 struct netbuf *b;
/btstack/3rd-party/lwip/core/src/apps/snmp/
H A Dsnmp_netconn.c52 struct netbuf *buf; in snmp_netconn_thread()
85 struct netbuf buf; in snmp_sendto()
/btstack/3rd-party/lwip/core/src/
H A DFilelists.mk79 $(LWIPDIR)/api/netbuf.c \
H A DFilelists.cmake89 ${LWIP_DIR}/src/api/netbuf.c
/btstack/3rd-party/lwip/core/
H A DCHANGELOG1547 * netbuf.h/.c, sockets.c, api_msg.c: use checksum-on-copy for sending
1599 by not allocating a netbuf): added function netconn_recv_tcp_pbuf()
2153 * api_msg.c, netbuf.c/.h, opt.h: patch #6888: Patch for UDP Netbufs to
2320 * opt.h, sockets.c, pbuf.c, netbuf.h, pbuf.h: task #7013: Added option
2538 * netbuf.c: bug #26027: netbuf_chain resulted in pbuf memory leak
2611 port uses deleted netbuf.
2951 * Add netbuf.h, netbuf.c, Change api.h, api_lib.c: #7249 "Split netbuf functions
2952 from api/api_lib". Now netbuf API is independant of netconn, and can be used
2954 maintainers just have to add src/api/netbuf.c in their makefile/projects.
3169 netbuf (if we receive lot of datagrams). Improve lwip_sendto (only one exchange between
[all …]