netbuf_chain()

Name

netbuf_chain() -- Chain two netbufs together

Synopsis

void netbuf_chain(struct netbuf *head, struct netbuf *tail);

Description

Chains the two netbufs head and tail together so that the data in tail will become the last fragment(s) in head. The netbuf tail is deallocated and should not be used after the call to this function.

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