Name

netbuf_new() — Allocate a netbuf structure

Synopsis

struct netbuf *netbuf_new (void);

Description

Allocates a netbuf structure. No buffer space is allocated when doing this, only the top level structure. After use, the netbuf must be deallocated with netbuf_delete().