Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

netbuf.h File Reference


Detailed Description

Network buffer definitions.


Defines

#define NBAF_DATALINK   0x10
 Datalink buffer allocated flag.
#define NBAF_NETWORK   0x20
 Network buffer allocated flag.
#define NBAF_TRANSPORT   0x40
 Transport buffer allocated flag.
#define NBAF_APPLICATION   0x80
 Application buffer allocated flag.
#define NBAF_ALL   0xf0
 Masks allocated buffer flags flag.

Typedefs

typedef _NETBUF NETBUF
 Network buffer type.
typedef _NBDATA NBDATA
 Network buffer data type.

Functions

NETBUFNutNetBufAlloc (NETBUF *nb, u_char type, u_short size)
 Allocate or re-allocate a network buffer part.
NETBUFNutNetBufClone (NETBUF *nb)
 Create a copy of an existing network buffer structure.
int NutNetBufFree (NETBUF *nb)
 Release a network buffer structure.


© 2000-2006 by egnite Software GmbH - visit http://www.ethernut.de/