zephyr/tests/net/nbuf
Ravi kumar Veeramally ead511ddae net: Fix net_nbuf_read corner cases
Valid case:
 1) If the offset is more than current fragment length, adjusts offset
    from next relevant fragment and starts reading or skipping.
 2) If the read or skip length is more than available data length,
    then throw an error.

In case of an error, frag is 'NULL' pos is '0xffff'. Rest of the cases
are successful read and skip.

Change-Id: I88c4b85e14e5821f681966b5148ba9519b91cca4
Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
2016-12-02 12:40:49 +02:00
..
src net: Fix net_nbuf_read corner cases 2016-12-02 12:40:49 +02:00
Makefile net: Fix tests/net/nbuf/Makefile 2016-12-02 12:40:46 +02:00
prj.mdef net: Add nbuf buffer API 2016-12-02 12:40:00 +02:00
prj_x86.conf net: Add unit tests for new nbuf API's 2016-12-02 12:40:28 +02:00
testcase.ini net: tests: Enable unit tests for the new IP stack 2016-12-02 12:40:22 +02:00