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

pbuf_add_header_impl() function

Adjusts the payload pointer to reveal headers in the payload. @see pbuf_add_header.

Syntax

static u8_t pbuf_add_header_impl(struct pbuf *p,     size_t header_size_increment,     u8_t force);

Arguments

p

pbuf to change the header size.

header_size_increment

Number of bytes to increment header size.

force

Allow 'header_size_increment > 0' for PBUF_REF/PBUF_ROM types

Return value

non-zero on failure, zero on success.

References

LocationReferrerText
pbuf.c:473
pbuf_add_header_impl(struct pbuf *p, size_t header_size_increment, u8_t force)
pbuf.c:553pbuf_add_header()
return pbuf_add_header_impl(p, header_size_increment, 0);
pbuf.c:563pbuf_add_header_force()
return pbuf_add_header_impl(p, header_size_increment, 1);
pbuf.c:621pbuf_header_impl()
return pbuf_add_header_impl(p, (size_t)header_size_increment, force);

Call Tree

Functions calling pbuf_add_header_impl()
Functions called by pbuf_add_header_impl()
pbuf_add_header_impl()
printf()
all items filtered out
Data read by pbuf_add_header_impl()
Data written by pbuf_add_header_impl()
pbuf_add_header_impl()::type_internal
pbuf_add_header_impl()::payload
pbuf_add_header_impl()::increment_magnitude
all items filtered out
pbuf_add_header_impl()
pbuf_add_header_impl()::type_internal
pbuf_add_header_impl()::payload
pbuf_add_header_impl()::increment_magnitude
all items filtered out
Type of pbuf_add_header_impl()
pbuf_add_header_impl()
all items filtered out