commit | c4632ae42424eec4fc3501f04b7d1661cd21acff | [log] [tgz] |
---|---|---|
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Mon Sep 21 16:45:47 2020 +0300 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue Sep 22 11:22:43 2020 +0200 |
tree | b38d824f41a1352d844948f21febd54645d24652 | |
parent | 03f4a648b11682e9517b96d7bef4ee0a567c8fdd [diff] |
net: pkt: Add net_pkt_is_empty() util function The function will check that the net_pkt will contain some data and return true in that case, and false if the net_pkt is empty. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>