| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A 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 …]
|
| A 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);
|
| A D | api_msg.h | 71 struct netbuf *b;
|
| A D | memp_std.h | 55 LWIP_MEMPOOL(NETBUF, MEMP_NUM_NETBUF, sizeof(struct netbuf), "NETBUF")
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/ |
| A D | netbuf.h | 60 struct netbuf { struct 76 struct netbuf * netbuf_new (void); argument 77 void netbuf_delete (struct netbuf *buf); 78 void * netbuf_alloc (struct netbuf *buf, u16_t size); 79 void netbuf_free (struct netbuf *buf); 80 err_t netbuf_ref (struct netbuf *buf, 82 void netbuf_chain (struct netbuf *head, struct netbuf *tail); 84 err_t netbuf_data (struct netbuf *buf, 86 s8_t netbuf_next (struct netbuf *buf); 87 void netbuf_first (struct netbuf *buf);
|
| A D | api.h | 315 err_t netconn_recv(struct netconn *conn, struct netbuf **new_buf); 317 err_t netconn_sendto(struct netconn *conn, struct netbuf *buf, 319 err_t netconn_send(struct netconn *conn, struct netbuf *buf);
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/ |
| A D | netbuf.h | 60 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 D | api.h | 334 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);
|
| /components/net/lwip/lwip-2.0.3/src/api/ |
| A D | netbuf.c | 63 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() 172 netbuf_chain(struct netbuf *head, struct netbuf *tail) in netbuf_chain() 192 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) in netbuf_data() 218 netbuf_next(struct netbuf *buf) in netbuf_next() [all …]
|
| A D | api_lib.c | 575 len = netbuf_len((struct netbuf*)buf); in netconn_recv_data() 621 netconn_recv(struct netconn *conn, struct netbuf **new_buf) in netconn_recv() 624 struct netbuf *buf = NULL; in netconn_recv() 640 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in netconn_recv() 683 netconn_sendto(struct netconn *conn, struct netbuf *buf, const ip_addr_t *addr, u16_t port) in netconn_sendto() 702 netconn_send(struct netconn *conn, struct netbuf *buf) in netconn_send()
|
| A D | sockets.c | 478 netbuf_delete((struct netbuf *)lastdata); in free_socket() 807 err = netconn_recv(sock->conn, (struct netbuf **)&buf); in lwip_recvfrom() 839 p = ((struct netbuf *)buf)->p; in lwip_recvfrom() 887 port = netbuf_fromport((struct netbuf *)buf); in lwip_recvfrom() 888 fromaddr = netbuf_fromaddr((struct netbuf *)buf); in lwip_recvfrom() 930 netbuf_delete((struct netbuf *)buf); in lwip_recvfrom() 1054 struct netbuf *chain_buf; in lwip_sendmsg() 1154 struct netbuf buf; in lwip_sendto() 2664 p = ((struct netbuf *)sock->lastdata)->p; in lwip_ioctl() 2667 struct netbuf *rxbuf; in lwip_ioctl() [all …]
|
| /components/net/lwip/lwip-2.1.2/src/api/ |
| A D | netbuf.c | 63 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 D | api_lib.c | 658 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 D | sockets.c | 600 netbuf_delete(lastdata->netbuf); in free_socket_free_elements() 1112 struct netbuf *buf; in lwip_recvfrom_udp_raw() 1129 buf = sock->lastdata.netbuf; in lwip_recvfrom_udp_raw() 1141 sock->lastdata.netbuf = buf; in lwip_recvfrom_udp_raw() 1211 sock->lastdata.netbuf = NULL; in lwip_recvfrom_udp_raw() 1492 struct netbuf chain_buf; in lwip_sendmsg() 1614 struct netbuf buf; in lwip_sendto() 3787 struct netbuf *nb; in lwip_ioctl() 3788 if (sock->lastdata.netbuf) { in lwip_ioctl() 3792 struct netbuf *rxbuf; in lwip_ioctl() [all …]
|
| /components/net/lwip/lwip-1.4.1/src/api/ |
| A 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 …]
|
| A 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()
|
| A D | sockets.c | 312 netbuf_delete((struct netbuf *)lastdata); in free_socket() 615 err = netconn_recv(sock->conn, (struct netbuf **)&buf); in lwip_recvfrom() 645 p = ((struct netbuf *)buf)->p; in lwip_recvfrom() 688 addr = netbuf_fromaddr((struct netbuf *)buf); in lwip_recvfrom() 689 port = netbuf_fromport((struct netbuf *)buf); in lwip_recvfrom() 713 addr = netbuf_fromaddr((struct netbuf *)buf); in lwip_recvfrom() 714 port = netbuf_fromport((struct netbuf *)buf); in lwip_recvfrom() 740 netbuf_delete((struct netbuf *)buf); in lwip_recvfrom() 812 struct netbuf buf; 2325 p = ((struct netbuf *)p)->p;
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/priv/ |
| A D | sockets_priv.h | 62 struct netbuf *netbuf; member
|
| A D | memp_std.h | 67 LWIP_MEMPOOL(NETBUF, MEMP_NUM_NETBUF, sizeof(struct netbuf), "NETBUF")
|
| A D | api_msg.h | 88 struct netbuf *b;
|
| /components/net/lwip/lwip-2.0.3/src/apps/snmp/ |
| A D | snmp_netconn.c | 51 struct netbuf *buf; in snmp_netconn_thread() 84 struct netbuf buf; in snmp_sendto()
|
| /components/net/lwip/lwip-2.1.2/src/apps/snmp/ |
| A D | snmp_netconn.c | 52 struct netbuf *buf; in snmp_netconn_thread() 85 struct netbuf buf; in snmp_sendto()
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/priv/ |
| A D | api_msg.h | 88 struct netbuf *b;
|
| A D | memp_std.h | 63 LWIP_MEMPOOL(NETBUF, MEMP_NUM_NETBUF, sizeof(struct netbuf), "NETBUF")
|
| /components/net/lwip/lwip-2.0.3/ |
| A D | SConscript | 7 src/api/netbuf.c
|