Home
last modified time | relevance | path

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

/lk-master/external/lib/lwip/include/lwip/
A Dnetbuf.h48 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 …]
A Dapi.h232 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);
A Dapi_msg.h71 struct netbuf *b;
A Dmemp_std.h55 LWIP_MEMPOOL(NETBUF, MEMP_NUM_NETBUF, sizeof(struct netbuf), "NETBUF")
/lk-master/external/lib/lwip/api/
A Dnetbuf.c56 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 …]
A Dapi_lib.c410 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()
A Dsockets.c300 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;
A Dapi_msg.c82 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);
/lk-master/external/lib/lwip/
A Drules.mk16 $(LOCAL_DIR)/api/netbuf.c \

Completed in 12 milliseconds