zephyr/tests/net/socket
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
..
af_packet tests: net: sockets: Update packet socket tests 2022-05-27 15:40:29 -07:00
af_packet_ipproto_raw tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
getaddrinfo tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
getnameinfo tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
misc tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
net_mgmt tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
offload_dispatcher tests: net: socket: Increase ztest stack size for offload_dispatcher 2022-05-13 15:42:01 +02:00
poll tests: net: socket: Add test to verify POLLOUT functionality 2022-05-18 11:09:17 +02:00
register tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
select tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
socketpair tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
tcp tests: net: socket: tcp: Add test to validate obstructed close 2022-05-16 16:55:51 +02:00
tls tests: socket: tls: check sendmsg() behavior for datagrams 2022-05-25 14:20:09 +02:00
tls_ext tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
udp tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
websocket tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
socket_helpers.h tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00