* @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 */
| 1175 | * @return the pbuf in the queue where the offset is |
| 1176 | */ |
| 1177 | struct pbuf * |
| 1178 | pbuf_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 |
no test coverage detected