zephyr/tests/net
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
..
6lo tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
all net: tcp: Remove unused config NET_TCP_BACKLOG_SIZE 2022-05-13 13:04:59 +02:00
arp tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
bridge tests: net: Adjusting the memory buffer for ETH 2022-05-26 13:39:11 -07:00
buf tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
checksum_offload tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
context tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
dhcpv4 tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
ethernet_mgmt tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
hostname tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
icmpv4 tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
icmpv6 tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
ieee802154 tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
iface tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
igmp tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
ip-addr tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
ipv6 tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
ipv6_fragment tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
lib tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
mgmt tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
mld tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
neighbor tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
net_pkt tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
npf tests: net: Adjusting the memory buffer for ETH 2022-05-26 13:39:11 -07:00
pm tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
ppp/driver tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
promiscuous tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
ptp/clock tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
route tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
route_mcast tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
shell tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
socket tests: net: sockets: Update packet socket tests 2022-05-27 15:40:29 -07:00
tcp tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
traffic_class tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
trickle tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
tx_timestamp 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
utils tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
virtual tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
vlan tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00