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

pbuf_memcmp() function

Compare pbuf contents at specified offset with memory s2, both of length n

Syntax

u16_t pbuf_memcmp(const struct pbuf* p,     u16_t offset,     const void* s2,     u16_t n);
Implemented in pbuf.c:1433

Arguments

p

pbuf to compare

offset

offset into p at which to start comparing

s2

buffer to compare

n

length of buffer to compare

Return value

zero if equal, nonzero otherwise (0xffff if p is too short, diffoffset+1 otherwise)

References

LocationReferrerText
pbuf.c:1434
pbuf_memcmp(const struct pbuf *p, u16_t offset, const void *s2, u16_t n)
pbuf.h:314
u16_t pbuf_memcmp(const struct pbuf* p, u16_t offset, const void* s2, u16_t n);
pbuf.c:1482pbuf_memfind()
u16_t plus = pbuf_memcmp(p, i, mem, mem_len);

Call Tree

Functions calling pbuf_memcmp()
Functions called by pbuf_memcmp()
all items filtered out
pbuf_memcmp()
all items filtered out
Data read by pbuf_memcmp()
Data written by pbuf_memcmp()
pbuf_memcmp()::a
pbuf_memcmp()::b
pbuf_memcmp()::start
pbuf_memcmp()::q
pbuf_memcmp()::i
all items filtered out
pbuf_memcmp()
pbuf_memcmp()::start
pbuf_memcmp()::q
pbuf_memcmp()::i
all items filtered out
Type of pbuf_memcmp()
pbuf_memcmp()
all items filtered out