netbuf_new()

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().

2017-02-09
Documentation license for this page: eCosPro License