zephyr/samples/net/sockets/tcp
Kumar Gala 1ddcb3ab02 ethernet: remove defconfig/proj setting of ethernet drivers
Now that ethernet drivers are enabled based on devicetree we can
remove any cases of them getting enabled by proj.conf files.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-15 14:32:45 +02:00
..
src samples: migrate includes to contain <zephyr/...> prefix 2022-05-06 11:29:59 +02:00
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
README.rst net/tcp: Rename TCP2 to TCP 2021-11-11 07:26:41 -05:00
overlay-debug.conf
overlay-e1000.conf ethernet: remove defconfig/proj setting of ethernet drivers 2022-08-15 14:32:45 +02:00
overlay-log-extra.conf
overlay-log-extra2.conf
overlay-log-pkt.conf
overlay-log.conf logging: Revamp menuconfig 2021-01-26 06:15:42 -05:00
overlay-max-stacks.conf kernel: remove unused offload workqueue option 2020-04-12 18:42:27 -04:00
overlay-nommu.conf
overlay-slip.conf
prj.conf samples: net: adjusted Kconfig settings for pocket and tcp samples 2021-07-26 15:30:38 +02:00
sample.yaml net/tcp: Rename TCP2 to TCP 2021-11-11 07:26:41 -05:00

README.rst

.. _sockets-tcp-sample:

TCP Sample for TTCN-3 based Sanity Check
########################################

Overview
********

This application is used together with the TTCN-3 based sanity check
to validate the functionality of the TCP.

Building, Running and executing TTCN-3 based Sanity Check for TCP
*****************************************************************

Compile and start the `net-test-tools`_:

.. code-block:: console

   ./autogen.sh
   make
   ./loop-slipcat.sh

Build the TCP sample app:

.. code-block:: console

   cd samples/net/sockets/tcp
   mkdir build && cd build
   cmake -DBOARD=qemu_x86 -DOVERLAY_CONFIG="overlay-slip.conf" ..
   make run

Compile and run the TCP sanity check `net-test-suites`_:

.. code-block:: console

   . titan-install.sh
   . titan-env.sh
   cd src
   . make.sh
   ttcn3_start test_suite tcp2_check_3_runs.cfg

.. _`net-test-tools`: https://github.com/intel/net-test-tools
.. _`net-test-suites`: https://github.com/intel/net-test-suites