pbuf_take_at() is only used within LwIP.
 
Symbols
loading...
Files
loading...

pbuf_take_at() function

Same as pbuf_take() but puts data at an offset

Syntax

err_t pbuf_take_at(struct pbuf *buf,     const void *dataptr,     u16_t len,     u16_t offset);
Implemented in pbuf.c:1239

Arguments

buf

pbuf to fill with data

dataptr

application supplied data buffer

len

length of the application supplied data buffer

offset

offset in pbuf where to copy dataptr to

Return value

ERR_OK if successful, ERR_MEM if the pbuf is not big enough

References

LocationReferrerText
pbuf.c:1240
pbuf_take_at(struct pbuf *buf, const void *dataptr, u16_t len, u16_t offset)
pbuf.h:299
err_t pbuf_take_at(struct pbuf *buf, const void *dataptr, u16_t len, u16_t offset);
dns.c:805dns_send()
pbuf_take_at(p, hostname_part, copy_len, (u16_t)(query_idx + 1));
dns.c:818dns_send()
pbuf_take_at(p, &qry, SIZEOF_DNS_QUERY, query_idx);

Call Tree

Functions calling pbuf_take_at()
Functions called by pbuf_take_at()
all items filtered out
pbuf_take_at()
printf()
memcpy()
all items filtered out
Data read by pbuf_take_at()
Data written by pbuf_take_at()
pbuf_take_at()::target_offset
pbuf_take_at()::q
pbuf_take_at()::remaining_len
pbuf_take_at()::src_ptr
pbuf_take_at()::first_copy_len
all items filtered out
pbuf_take_at()
pbuf_take_at()::remaining_len
pbuf_take_at()::src_ptr
pbuf_take_at()::first_copy_len
all items filtered out
Type of pbuf_take_at()
pbuf_take_at()
all items filtered out