1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/net/gnrc_sock_neterr
2023-05-12 16:36:39 +02:00
..
tests tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
main.c tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
Makefile tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
Makefile.ci tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
README.md tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00

This is a simple proof of concept test, that gnrc_sock with gnrc_neterr works as expected to report errors within the network stack up to the sock object.

It just tests if the sock reports -EHOSTUNREACH when sending to an unreachable address. To confirm that this is indeed coming from the stack and not the sock wrapper you can do

git grep EHOSTUNREACH -- sys/net/gnrc/sock