File nut/dev/netbuf.c


Included Files


Global Function NutNetBufAlloc()

NETBUF* NutNetBufAlloc ( NETBUF* nb, uint8_t type, int size )
Prototyped in: nut/include/dev/netbuf.h
Calls: NutNetBufAllocData() nut/dev/netbuf.c
  NutNetBufFree() nut/dev/netbuf.c
  NutHeapRootAllocClear(), NutHeapRootFree()
Called by: CSNICrx() nut/arch/avr/dev/cs8900.c
  IcmpSendPing() nut/app/pingnet/pingnet.c
  NicGetPacket() nut/dev/lan91.c
  wi_rx_intr() nut/arch/avr/dev/wlandrv.c

Global Function NutNetBufClone()

NETBUF* NutNetBufClone ( NETBUF* nb )
Prototyped in: nut/include/dev/netbuf.h
Calls: NutNetBufClonePart() nut/dev/netbuf.c

Global Function NutNetBufClonePart()

NETBUF* NutNetBufClonePart ( NETBUF* nb, uint8_t inserts )
Prototyped in: nut/include/dev/netbuf.h
Calls: NutNetBufAllocData() nut/dev/netbuf.c
  NutNetBufFree() nut/dev/netbuf.c
  memcpy() nut/c/string/memcpy.c
  NutHeapRootAllocClear()
Called by: NutNetBufClone() nut/dev/netbuf.c

Global Function NutNetBufCollect()

int NutNetBufCollect ( NETBUF* nbq, int total )
Prototyped in: nut/include/dev/netbuf.h
Calls: NutNetBufAllocData() nut/dev/netbuf.c
  NutNetBufFree() nut/dev/netbuf.c
  memcpy() nut/c/string/memcpy.c
  NutHeapRootFree()

Global Function NutNetBufFree()

void NutNetBufFree ( NETBUF* nb )
Prototyped in: nut/include/dev/netbuf.h
Calls: NutNetBufFree() nut/dev/netbuf.c
  NutHeapRootFree()
Called by: CSEthPutPacket() nut/arch/avr/dev/cs8900.c
  IcmpSendPing() nut/app/pingnet/pingnet.c
  NutAppMain() nut/app/pingnet/pingnet.c
  NutNetBufAlloc() nut/dev/netbuf.c
  NutNetBufClonePart() nut/dev/netbuf.c
  NutNetBufCollect() nut/dev/netbuf.c
  NutNetBufFree() nut/dev/netbuf.c
  wi_rx_intr() nut/arch/avr/dev/wlandrv.c

Local Function NutNetBufAllocData()

static int NutNetBufAllocData ( NBDATA* nbd, int size, int offs )
Calls: NutHeapRootAlloc()
Called by: NutNetBufAlloc() nut/dev/netbuf.c
  NutNetBufClonePart() nut/dev/netbuf.c
  NutNetBufCollect() nut/dev/netbuf.c