• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/04-Jan-2025-8752

CMakeLists.txtD04-Jan-2025256 116

README.rstD04-Jan-20251 KiB4530

overlay-debug.confD04-Jan-2025107 85

overlay-e1000.confD04-Jan-2025122 73

overlay-log-extra.confD04-Jan-2025134 71

overlay-log-extra2.confD04-Jan-2025134 72

overlay-log-pkt.confD04-Jan-202584 53

overlay-log.confD04-Jan-2025298 158

overlay-max-stacks.confD04-Jan-2025308 109

overlay-nommu.confD04-Jan-202517 21

overlay-slip.confD04-Jan-2025139 52

prj.confD04-Jan-2025493 2917

sample.yamlD04-Jan-2025327 1514

README.rst

1.. zephyr:code-sample:: sockets-tcp-sample
2   :name: TCP sample for TTCN-3 based sanity check
3   :relevant-api: bsd_sockets
4
5   Use TTCN-3 to validate the functionality of the TCP stack.
6
7Overview
8********
9
10This application is used together with the TTCN-3 based sanity check
11to validate the functionality of the TCP.
12
13Building, Running and executing TTCN-3 based Sanity Check for TCP
14*****************************************************************
15
16Compile and start the `net-test-tools`_:
17
18.. code-block:: console
19
20   ./autogen.sh
21   make
22   ./loop-slipcat.sh
23
24Build the TCP sample app:
25
26.. code-block:: console
27
28   cd samples/net/sockets/tcp
29   mkdir build && cd build
30   cmake -DBOARD=qemu_x86 -DEXTRA_CONF_FILE="overlay-slip.conf" ..
31   make run
32
33Compile and run the TCP sanity check `net-test-suites`_:
34
35.. code-block:: console
36
37   . titan-install.sh
38   . titan-env.sh
39   cd src
40   . make.sh
41   ttcn3_start test_suite tcp2_check_3_runs.cfg
42
43.. _`net-test-tools`: https://github.com/intel/net-test-tools
44.. _`net-test-suites`: https://github.com/intel/net-test-suites
45