Nut/OS  4.10.3
API Reference
netbuf.c File Reference
#include <cfg/os.h>
#include <string.h>
#include <sys/heap.h>
#include <dev/netbuf.h>
#include <sys/nutdebug.h>
Include dependency graph for netbuf.c:

Go to the source code of this file.

Functions

NETBUFNutNetBufAlloc (NETBUF *nb, uint8_t type, int size)
 Allocate or re-allocate a network buffer part.
NETBUFNutNetBufClonePart (NETBUF *nb, uint8_t inserts)
 Create a referencing copy of an existing network buffer structure.
NETBUFNutNetBufClone (NETBUF *nb)
 Create a copy of an existing network buffer structure.
void NutNetBufFree (NETBUF *nb)
 Release a network buffer structure.
int NutNetBufCollect (NETBUF *nbq, int total)
 Collect linked list of network buffers.