zephyr/tests
Robert Lubos 3cd88c72b1 tests: net: sockets: Update packet socket tests
Fix the existing DGRAM packet socket test. The test will now specify
LL destination address and protocol type. Also, update the fake ethernet
device send handler, so that it sets the packet network interface
corretly, so that the packet is not rejected at Ethernet L2.

Additionally, add two additional test cases verifying datagram packet
sockets. Fist test will exchange packet between RAW and DGRAM socket,
making sure that net stack forwards/removes L2 header correctly. The
second test verifies that it's possible to recieve a packet on both RAW
and DGRAM socket, making sure the received data has correct format.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-05-27 15:40:29 -07:00
..
application_development/gen_inc_file kconfig: Rename the ZTEST stack size option to align with the rest 2022-02-22 08:23:05 -05:00
arch include: add more missing zephyr/ prefixes 2022-05-27 15:20:27 -07:00
benchmarks include: add more missing zephyr/ prefixes 2022-05-27 15:20:27 -07:00
bluetooth include: add more missing zephyr/ prefixes 2022-05-27 15:20:27 -07:00
boards include: add more missing zephyr/ prefixes 2022-05-27 15:20:27 -07:00
boot/uefi tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
cmake/config_dir
crypto tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
drivers tests/spi_loopback: Fix buffer sizes to avoid buffer overflow 2022-05-27 15:34:34 -07:00
kernel tests/kernel/common: Include errno_private.h 2022-05-27 15:34:34 -07:00
lib tests/c_lib: Set _GNU_SOURCE for qsort_r test 2022-05-27 15:34:34 -07:00
misc tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
net tests: net: sockets: Update packet socket tests 2022-05-27 15:40:29 -07:00
posix tests/posix/fs: extend readdir test 2022-05-13 11:10:04 -07:00
subsys include: add more missing zephyr/ prefixes 2022-05-27 15:20:27 -07:00
unit tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
ztest include: add more missing zephyr/ prefixes 2022-05-27 15:20:27 -07:00