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

Function pbuf_skip

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

* @ingroup pbuf * Skip a number of bytes at the start of a pbuf * * @param in input pbuf * @param in_offset offset to skip * @param out_offset resulting offset in the returned pbuf * @return the pbuf in the queue where the offset is */

Source from the content-addressed store, hash-verified

1175 * @return the pbuf in the queue where the offset is
1176 */
1177struct pbuf *
1178pbuf_skip(struct pbuf *in, u16_t in_offset, u16_t *out_offset)
1179{
1180 const struct pbuf *out = pbuf_skip_const(in, in_offset, out_offset);
1181 return LWIP_CONST_CAST(struct pbuf *, out);
1182}
1183
1184/**
1185 * @ingroup pbuf

Callers 3

pbuf_take_atFunction · 0.70
pbuf_put_atFunction · 0.70
snmp_pbuf_stream_writetoFunction · 0.50

Calls 1

pbuf_skip_constFunction · 0.70

Tested by

no test coverage detected