commit | 1ce1d19bb58e78d7bcd96f1fc9b2a3ce95808846 | [log] [tgz] |
---|---|---|
author | Marcin Niestroj <m.niestroj@emb.dev> | Thu Jul 15 08:52:13 2021 +0200 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Thu Jul 15 06:54:33 2021 -0400 |
tree | 585db6bfbfed18ac42508b937dcbec1d970a7fc0 | |
parent | aedc51aca8692d2b5585448e1049e2c6799b831f [diff] |
net: pkt: introduce net_pkt_remove_tail() Introduce a helper function for being able to remove any arbitrary length from tail of packet. This is handy in cases when removing unneeded data, like CRC once it was verified. Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>