netbuf_first()

Name

netbuf_first() -- Reset fragment pointer to start of netbuf

Synopsis

void netbuf_first(struct netbuf *buf);

Description

Resets the internal fragment pointer in the netbuf buf so that it points to the first fragment.