struct netbuf *netbuf_new(void);
struct netbuf *netbuf_new
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().
netbuf_delete()