2019-07-29 16:27:43 +02:00
|
|
|
Test description
|
|
|
|
==========
|
2021-05-08 14:36:38 +02:00
|
|
|
The GNRC TCP test test all phases of a tcp connections lifecycle as a server or a client
|
|
|
|
as well as TCP behavior on incoming malformed packets.
|
2021-05-08 08:55:42 +02:00
|
|
|
|
2019-07-29 16:27:43 +02:00
|
|
|
Setup
|
|
|
|
==========
|
|
|
|
The test requires a tap-device setup. This can be achieved by running 'dist/tools/tapsetup/tapsetup'
|
|
|
|
or by executing the following commands:
|
|
|
|
|
|
|
|
sudo ip tuntap add tap0 mode tap user ${USER}
|
|
|
|
sudo ip link set tap0 up
|
|
|
|
|
|
|
|
Usage
|
|
|
|
==========
|
|
|
|
make BOARD=<BOARD_NAME> all flash
|
2021-02-28 13:30:32 +01:00
|
|
|
sudo make BOARD=<BOARD_NAME> test-as-root
|
2019-07-29 16:27:43 +02:00
|
|
|
|
2019-10-03 19:41:04 +02:00
|
|
|
'sudo' is required due to ethos and raw socket usage.
|