LwIP + 0/3 examples
CodeScope will show references to pbuf_chain() from the following samples and libraries:
Examples
STM32469I_EVAL
Applications
LwIP
STM324x9I_EVAL
Applications
LwIP
STM324xG_EVAL
Applications
LwIP
 
Symbols
loading...
Files
loading...

pbuf_chain() function

Chain two pbufs (or pbuf chains) together. The caller MUST call pbuf_free(t) once it has stopped using it. Use pbuf_cat() instead if you no longer use t. The ->tot_len fields of all pbufs of the head chain are adjusted. The ->next field of the last pbuf of the head chain is adjusted. The ->ref field of the first pbuf of the tail chain is adjusted.

Syntax

void pbuf_chain(struct pbuf *head,     struct pbuf *tail);
Implemented in pbuf.c:894

Arguments

tail

Notes

The pbufs MUST belong to the same packet. MAY NOT be called on a packet queue.

Examples

pbuf_chain() is referenced by 3 libraries and example projects.

References

LocationReferrerText
pbuf.c:895
pbuf_chain(struct pbuf *h, struct pbuf *t)
pbuf.h:293
void pbuf_chain(struct pbuf *head, struct pbuf *tail);
udp.c:770udp_sendto_if_src()
pbuf_chain(q, p);

Call Tree

Functions calling pbuf_chain()
Functions called by pbuf_chain()
all items filtered out
pbuf_chain()
all items filtered out
Data read by pbuf_chain()
pbuf_chain()::h
pbuf_chain()::t
all items filtered out
pbuf_chain()