commit | 3604c391e69d253fb985aa6d072283250b454e6e | [log] [tgz] |
---|---|---|
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Fri Jun 30 17:46:01 2017 +0300 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Fri Jul 07 15:24:00 2017 +0300 |
tree | 65a3486ba1969a2582f8c9d14f8f7f3240e75b6a | |
parent | 8476da9d9b12e545b91ebf7d2229666f38f9f7d4 [diff] |
net: udp: Remove NET_UDP_HDR() macro and direct access to net_buf Remove NET_UDP_HDR() macro as we cannot safely access UDP header via it if the network packet header spans over multiple net_buf fragments. Fixed also the UDP unit tests so that they pass correctly. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>