File nut/dev/netbuf.c


Included Files


Global Function NutNetBufAlloc()

NETBUF* NutNetBufAlloc ( NETBUF* nb, u_char type, u_short size )
Prototyped in: nut/include/dev/netbuf.h
Calls: NutHeapAllocClear() nut/os/heap.c
  NutNetBufAllocData() nut/dev/netbuf.c
  NutNetBufFree() nut/dev/netbuf.c
  NutNetBufFreeData() nut/dev/netbuf.c
Called by: NutNetBufFree() nut/dev/netbuf.c

Global Function NutNetBufClone()

NETBUF* NutNetBufClone ( NETBUF* nb )
Prototyped in: nut/include/dev/netbuf.h
Calls: NutHeapAllocClear() nut/os/heap.c
  NutNetBufAllocData() nut/dev/netbuf.c
  NutNetBufFree() nut/dev/netbuf.c
  memcpy()

Global Function NutNetBufFree()

int NutNetBufFree ( NETBUF* nb )
Prototyped in: nut/include/dev/netbuf.h
Calls: NutHeapFree() nut/os/heap.c
  NutNetBufAlloc() nut/dev/netbuf.c
Called by: NutNetBufAlloc() nut/dev/netbuf.c
  NutNetBufClone() nut/dev/netbuf.c

Local Function NutNetBufAllocData()

static int NutNetBufAllocData ( NBDATA* nbd, u_short size )
Calls: NutHeapAlloc() nut/os/heap.c
Called by: NutNetBufAlloc() nut/dev/netbuf.c
  NutNetBufClone() nut/dev/netbuf.c

Local Function NutNetBufFreeData()

static void NutNetBufFreeData ( NBDATA* nbd )
Calls: NutHeapFree() nut/os/heap.c
Called by: NutNetBufAlloc() nut/dev/netbuf.c