eCosPro® Reference Manual
Prev |  | Next

# 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.

Prev | Home | Next
netbuf_copy_partial() | Up | netbuf_fromaddr()