1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-20 12:03:52 +01:00
RIOT/tests/net/gnrc_sock_neterr
Hugues Larrive 3c465836f2 examples and tests: add atmega8 to relevent Makefile.ci
using dist/tools/insufficient_memory/add_insufficient_memory_board.sh
2023-07-11 21:22:02 +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