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

pbuf_get_at() function

Get one byte from the specified position in a pbuf WARNING: returns zero for offset >= p->tot_len

Syntax

u8_t pbuf_get_at(const struct pbuf* p,     u16_t offset);
Implemented in pbuf.c:1370

Arguments

p

pbuf to parse

offset

offset into p of the byte to return

Return value

byte at an offset into p OR ZERO IF 'offset' >= p->tot_len

References

LocationReferrerText
pbuf.c:1371
pbuf_get_at(const struct pbuf *p, u16_t offset)
pbuf.h:311
u8_t pbuf_get_at(const struct pbuf* p, u16_t offset);
pbuf.c:1454pbuf_memcmp()
u8_t a = pbuf_get_at(q, (u16_t)(start + i));

Call Tree

Functions calling pbuf_get_at()
Functions called by pbuf_get_at()
all items filtered out
pbuf_get_at()
all items filtered out
Data read by pbuf_get_at()
pbuf_get_at()::ret
all items filtered out
pbuf_get_at()
Type of pbuf_get_at()
pbuf_get_at()
all items filtered out