Programmable Gateways
Login
Overview
Power Industry
Serial Device Server
Programmable Gateways
Serial/Ethernet Gateway XNUT-100
CAN/Ethernet Gateway XNUT-105
Ethernet CPU Boards
Shop
Information and Support
Main Page
|
Modules
|
Data Structures
|
File List
|
Data Fields
|
Globals
|
Related Pages
|
Examples
include/dev/netbuf.h File Reference
Detailed Description
Network buffer definitions.
Defines
#define
NBAF_DATALINK
Datalink buffer allocated flag.
#define
NBAF_NETWORK
Network buffer allocated flag.
#define
NBAF_TRANSPORT
Transport buffer allocated flag.
#define
NBAF_APPLICATION
Application buffer allocated flag.
#define
NBAF_ALL
Masks allocated buffer flags flag.
Typedefs
typedef
_NETBUF
NETBUF
Network buffer type.
typedef
_NBDATA
NBDATA
Network buffer data type.
Functions
NETBUF
*
NutNetBufAlloc
(
NETBUF
*nb,
u_char
type,
u_short
size)
Allocate or re-allocate a network buffer part.
NETBUF
*
NutNetBufClone
(
NETBUF
*nb)
Create a copy of an existing network buffer structure.
int
NutNetBufFree
(
NETBUF
*nb)
Release a network buffer structure.