Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
netbuf.h File Reference
netbuf API (for netconn API) More...
Go to the source code of this file.
Data Structures | |
| struct | netbuf |
| "Network buffer" - contains data and addressing info More... | |
Functions | |
| struct netbuf * | netbuf_new (void) |
| Create (allocate) and initialize a new netbuf. | |
| void | netbuf_delete (struct netbuf *buf) |
| Deallocate a netbuf allocated by netbuf_new(). | |
| void * | netbuf_alloc (struct netbuf *buf, u16_t size) |
| Allocate memory for a packet buffer for a given netbuf. | |
| void | netbuf_free (struct netbuf *buf) |
| Free the packet buffer included in a netbuf. | |
| err_t | netbuf_ref (struct netbuf *buf, const void *dataptr, u16_t size) |
| Let a netbuf reference existing (non-volatile) data. | |
| void | netbuf_chain (struct netbuf *head, struct netbuf *tail) |
| Chain one netbuf to another (. | |
| err_t | netbuf_data (struct netbuf *buf, void **dataptr, u16_t *len) |
| Get the data pointer and length of the data inside a netbuf. | |
| s8_t | netbuf_next (struct netbuf *buf) |
| Move the current data pointer of a packet buffer contained in a netbuf to the next part. | |
| void | netbuf_first (struct netbuf *buf) |
| Move the current data pointer of a packet buffer contained in a netbuf to the beginning of the packet. | |
Detailed Description
netbuf API (for netconn API)
Definition in file netbuf.h.
Generated on Tue Jul 12 2022 13:55:16 by
1.7.2