commit | 88da73b225c3d538f4159e66926377bffed7d22b | [log] [tgz] |
---|---|---|
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | Thu Dec 06 14:20:35 2018 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Fri Dec 14 14:16:37 2018 +0100 |
tree | 85ce5a6716bf5e02ef3143278a05e45dcd070443 | |
parent | b105fc58f232af882d427bfcf4c62eae66a38f9c [diff] |
net/pkt: Introducing a new helper to get the start of the buffer This is mostly meant to be used in drivers and/or L2. net_pkt_ll() is going to be removed and is not semantically right. Also, net_pkt_ip_data() is not semantically right as it is meant to access IP data start. So instead, adding a new function: net_pkt_data() which will get the start of the buffer. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>