MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / pbuf_header_force

Function pbuf_header_force

components/net/lwip/lwip-2.1.2/src/core/pbuf.c:655–659  ·  view source on GitHub ↗

* Same as pbuf_header but does not check if 'header_size > 0' is allowed. * This is used internally only, to allow PBUF_REF for RX. */

Source from the content-addressed store, hash-verified

653 * This is used internally only, to allow PBUF_REF for RX.
654 */
655u8_t
656pbuf_header_force(struct pbuf *p, s16_t header_size_increment)
657{
658 return pbuf_header_impl(p, header_size_increment, 1);
659}
660
661/** Similar to pbuf_header(-size) but de-refs header pbufs for (size >= p->len)
662 *

Callers 4

udp_inputFunction · 0.70
ip6_reassFunction · 0.50
ip4.cFile · 0.50

Calls 1

pbuf_header_implFunction · 0.70

Tested by

no test coverage detected