1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/net/gnrc_ipv6_ext_frag
2024-03-26 14:53:40 +01:00
..
tests-as-root examples, tests: Changes for the native64 board 2024-02-05 22:02:14 +01:00
app.config *.config: Modify all .config kconfig files 2024-03-26 14:53:40 +01:00
main.c tests: Use size_t print format specifier 2023-12-21 12:02:37 +01:00
Makefile examples, tests: Changes for the native64 board 2024-02-05 22:02:14 +01:00
Makefile.board.dep examples, tests: Changes for the native64 board 2024-02-05 22:02:14 +01:00
Makefile.ci boards/weact-g030f6: add new board 2024-02-05 00:45:42 +01:00
README.md tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
udp.c tests: Use size_t print format specifier 2023-12-21 12:02:37 +01:00

gnrc_ipv6_ext_frag test

This test utilizes scapy to test the IPv6 Extension header parsing.

It is intended to just test the fragmentation header handling and generation. For other extension header types please provide a separate test application.

To test, compile and flash the application to any board of your liking (since ethos is used to communicate with non-native boards it really doesn't matter as long as the application fits).

make flash

And run the tests using

sudo make test

Note that root privileges are required since scapy needs to construct Ethernet frames to properly communicate over the TAP interface.

The tests succeeds if you see the string SUCCESS.

If any problems are encountered (i.e. if the test prints the string FAILED), set the echo parameter in the run() function at the bottom of the test script (tests/01-run.py) to True. The test script will then offer a more detailed output.

It might be that due to scapy's sniffer not picking up an expected packet sometimes that the test application hangs for a while and then issues FAILED. Just restart the test in that case.