zephyr/tests/net
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
..
6lo net: tests: Add 6lo context based unit tests 2016-12-02 12:40:48 +02:00
arp net: tests: Remove broadcast and multicast tests from ARP 2016-12-02 12:40:26 +02:00
buf net: buf: move test to unified kernel 2016-11-28 20:17:23 +00:00
context net: Context accept cb needs to return failure code 2016-12-02 12:40:25 +02:00
dhcpv4 tests/net: Exclude tests needing more RAM than available 2016-12-02 12:40:48 +02:00
fragment tests/net: Exclude tests needing more RAM than available 2016-12-02 12:40:48 +02:00
icmpv6 net: tests: Enable unit tests for the new IP stack 2016-12-02 12:40:22 +02:00
ieee802154 net: tests: Add a simple IEEE 802.15.4 Beacon frame test 2016-12-02 12:40:26 +02:00
ip-addr net: Split debug Kconfig options from legacy to new stack 2016-12-02 12:40:24 +02:00
ipv6 net: tests: Add sample 6CO context data to IPv6 RA test 2016-12-02 12:40:48 +02:00
mgmt tests: Add network core event tests 2016-12-02 12:40:47 +02:00
nbuf net: Fix net_nbuf_read corner cases 2016-12-02 12:40:49 +02:00
neighbor net: Split debug Kconfig options from legacy to new stack 2016-12-02 12:40:24 +02:00
route net: tests: Add tests for route management API 2016-12-02 12:40:27 +02:00
trickle net: tests: Increase the timeout of trickle tests 2016-12-02 12:40:28 +02:00
udp net: Fix remaining debug option naming issues 2016-12-02 12:40:25 +02:00
utils net: Split debug Kconfig options from legacy to new stack 2016-12-02 12:40:24 +02:00
zoap samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00