/Zephyr-latest/scripts/net/ |
D | README.txt | 1 The shell script run-sample-tests.sh runs selected Zephyr samples against 2 the network test applications Docker container provided by the 'net-tools' 3 Zephyr project, https://github.com/zephyrproject-rtos/net-tools. 10 'net-tools' Docker container has been created, see the first bullet point 11 at the net-tools Docker README file 12 https://github.com/zephyrproject-rtos/net-tools/blob/master/README.docker. 17 * Check out the net-tools project from github or update it with west 18 * Change working directory to the net-tools repository 20 * Run 'docker build -t net-tools .' 22 This creates a Docker image called 'net-tools' which the script will need as [all …]
|
D | run-sample-tests.sh | 3 # SPDX-License-Identifier: Apache-2.0 5 image=net-tools 6 name=net-tools 7 network=net-tools0 14 docker_test_script_name=docker-test.sh 24 if [ -z "$ZEPHYR_BASE" ]; then 27 elif [ ! -d "$ZEPHYR_BASE" ]; then 32 if [ -z "$NET_TOOLS_BASE" ]; then 39 l="$d/tools/net-tools" 40 if [ -d "$l" ]; then [all …]
|
/Zephyr-latest/samples/net/sockets/echo_server/ |
D | docker-test.sh | 2 # SPDX-License-Identifier: Apache-2.0 4 if [ -z "$RUNNING_FROM_MAIN_SCRIPT" ]; then 6 echo "Run $ZEPHYR_BASE/scripts/net/run-sample-tests.sh instead." 13 start_docker "/net-tools/echo-client -i eth0 192.0.2.1" \ 14 "/net-tools/echo-client -i eth0 2001:db8::1" \ 15 "/net-tools/echo-client -i eth0 192.0.2.1 -t" \ 16 "/net-tools/echo-client -i eth0 2001:db8::1 -t"
|
/Zephyr-latest/doc/connectivity/networking/ |
D | native_sim_setup.rst | 16 In this example, the :zephyr:code-sample:`sockets-echo-server` sample application from 24 On the Linux Host, find the Zephyr `net-tools`_ project, which can either be 25 found in a Zephyr standard installation under the ``tools/net-tools`` directory 28 .. code-block:: console 30 git clone https://github.com/zephyrproject-rtos/net-tools 38 * Terminal #1 is terminal window with net-tools being the current 39 directory (``cd net-tools``) 45 Step 1 - Create Ethernet interface 46 ---------------------------------- 53 .. code-block:: console [all …]
|
D | qemu_eth_setup.rst | 13 In this example, the :zephyr:code-sample:`sockets-echo-server` sample application from 21 On the Linux Host, find the Zephyr `net-tools`_ project, which can either be 22 found in a Zephyr standard installation under the ``tools/net-tools`` directory 25 .. code-block:: console 27 git clone https://github.com/zephyrproject-rtos/net-tools 35 * Terminal #1 is terminal window with net-tools being the current 36 directory (``cd net-tools``) 52 Step 1 - Create Ethernet interface 60 .. code-block:: console 62 ./net-setup.sh [all …]
|
D | networking_with_multiple_instances.rst | 18 On the Linux Host, find the Zephyr `net-tools`_ project, which can either be 19 found in a Zephyr standard installation under the ``tools/net-tools`` directory 22 .. code-block:: console 24 git clone https://github.com/zephyrproject-rtos/net-tools 31 * Terminal #1 and #2 are terminal windows with net-tools being the current 32 directory (``cd net-tools``) 44 Step 1 - Create configuration files 52 For Zephyr instance #1, create file called ``zephyr1.conf`` to ``net-tools`` 55 .. code-block:: console 66 ip -6 address add $IPV6_ADDR_1 dev $INTERFACE nodad [all …]
|
D | qemu_setup.rst | 16 In this example, the :zephyr:code-sample:`sockets-echo-server` sample application from 25 On the Linux Host, find the Zephyr `net-tools`_ project, which can either be 26 found in a Zephyr standard installation under the ``tools/net-tools`` directory 29 .. code-block:: console 31 sudo apt install -y socat libpcap-dev 32 git clone https://github.com/zephyrproject-rtos/net-tools 33 cd net-tools 39 ``autoconf-archive`` package on Debian/Ubuntu. 48 * Terminals #2, #3, and #4 are terminal windows with net-tools being the current 49 directory (``cd net-tools``) [all …]
|
D | qemu_802154_setup.rst | 19 * Terminal #1 is terminal window with ``echo-server`` Zephyr sample application. 20 * Terminal #2 is terminal window with ``echo-client`` Zephyr sample application. 23 ``monitor_15_4`` program in the ``tools/net-tools`` directory. 27 .. code-block:: console 29 cd $ZEPHYR_BASE/../tools/net-tools 33 Step 1 - Compile and start echo-server 38 .. zephyr-app-commands:: 39 :zephyr-app: samples/net/sockets/echo_server 40 :host-os: unix 42 :build-dir: server [all …]
|
D | network_monitoring.rst | 16 See also the :zephyr:code-sample:`net-capture` sample application from the Zephyr 26 On the Linux Host, find the Zephyr `net-tools`_ project, which can either be 27 found in a Zephyr standard installation under the ``tools/net-tools`` directory 30 .. code-block:: console 32 git clone https://github.com/zephyrproject-rtos/net-tools 34 The ``net-tools`` project provides a configure file to setup IP-to-IP tunnel 39 .. code-block:: console 41 ./net-setup.sh -c zeth-tunnel.conf 45 .. csv-table:: 49 "``zeth-ip6ip``", "IPv6-over-IPv4 tunnel" [all …]
|
D | overview.rst | 13 The networking IP stack is modular and highly configurable via build-time 18 * **IPv6** The support for IPv6 is enabled by default. Various IPv6 sub-options 25 (`RFC 4862 <https://tools.ietf.org/html/rfc4862>`_). 31 (`RFC 4861 <https://tools.ietf.org/html/rfc4861>`_) is enabled by default. 33 (`RFC 3810 <https://tools.ietf.org/html/rfc3810>`_) is enabled by default. 35 IEEE 802.15.4 networks (`RFC 4944 <https://tools.ietf.org/html/rfc4944>`_). 43 (`RFC 2131 <https://tools.ietf.org/html/rfc2131>`_). 51 (`RFC 768 <https://tools.ietf.org/html/rfc768>`_) is supported. 57 (`RFC 793 <https://tools.ietf.org/html/rfc793>`_) is supported. Both server 63 implemented. Both blocking and non-blocking datagram (UDP) and stream (TCP) [all …]
|
/Zephyr-latest/samples/net/mqtt_sn_publisher/compose/ |
D | compose.yaml | 3 image: eclipse-mosquitto:latest 5 - ./mosquitto.conf:/mosquitto/config/mosquitto.conf:ro 6 restart: unless-stopped 8 net-tools: 10 mqttsn-gateway: 13 - ./gateway.conf:/etc/paho/gateway.conf:ro 14 restart: unless-stopped 16 net-tools: 19 net-tools: 20 name: net-tools0
|
/Zephyr-latest/samples/net/sockets/http_client/ |
D | README.rst | 1 .. zephyr:code-sample:: sockets-http-client 3 :relevant-api: bsd_sockets http_client tls_credentials secure_sockets_options 14 :zephyr_file:`samples/net/sockets/http_client`. 19 - :ref:`networking_with_host` 27 Build the http-client sample application like this: 29 .. zephyr-app-commands:: 30 :zephyr-app: samples/net/sockets/http_client 40 ``overlay-tls.conf`` overlay file enabled using these commands: 42 .. zephyr-app-commands:: 43 :zephyr-app: samples/net/sockets/http_client [all …]
|
/Zephyr-latest/samples/net/dns_resolve/ |
D | README.rst | 1 .. zephyr:code-sample:: dns-resolve 3 :relevant-api: dns_resolve net_mgmt 14 - If IPv4 is enabled, then A record for ``www.zephyrproject.org`` is 16 - If IPv6 is enabled, then AAAA record for ``www.zephyrproject.org`` is 18 - If mDNS is enabled, then ``zephyr.local`` name is resolved. 23 - :ref:`networking_with_host` 25 - screen terminal emulator or equivalent. 27 - For most boards without ethernet, the ENC28J60 Ethernet module is required. 29 - dnsmasq application. The dnsmasq version used in this sample is: 31 .. code-block:: console [all …]
|
/Zephyr-latest/samples/net/sockets/tcp/ |
D | README.rst | 1 .. zephyr:code-sample:: sockets-tcp-sample 2 :name: TCP sample for TTCN-3 based sanity check 3 :relevant-api: bsd_sockets 5 Use TTCN-3 to validate the functionality of the TCP stack. 10 This application is used together with the TTCN-3 based sanity check 13 Building, Running and executing TTCN-3 based Sanity Check for TCP 16 Compile and start the `net-test-tools`_: 18 .. code-block:: console 22 ./loop-slipcat.sh 26 .. code-block:: console [all …]
|
/Zephyr-latest/samples/net/virtual/ |
D | README.rst | 1 .. zephyr:code-sample:: virtual-network-interface 3 :relevant-api: virtual virtual_mgmt 24 :zephyr_file:`samples/net/virtual`. 29 - :ref:`networking_with_host` 34 The `net-tools`_ project provides a configuration that can be used 37 .. code-block:: console 39 net-setup.sh -c zeth-tunnel.conf 44 .. zephyr-app-commands:: 45 :zephyr-app: samples/net/virtual 50 .. _`net-tools`: https://github.com/zephyrproject-rtos/net-tools target in Building and Running
|
/Zephyr-latest/samples/net/sockets/packet/ |
D | README.rst | 1 .. zephyr:code-sample:: packet-socket 3 :relevant-api: bsd_sockets ethernet 24 See the `net-tools`_ project for more details. 29 .. _`net-tools`: https://github.com/zephyrproject-rtos/net-tools target in Building and Running
|
/Zephyr-latest/tests/net/lib/lwm2m/interop/ |
D | README.md | 15 …oject.org/latest/connectivity/networking/networking_with_host.html#networking-with-the-host-system) 16 … for Zephyr native network on Linux](https://github.com/zephyrproject-rtos/net-tools/blob/master/R… 19 ### Run Lehan server from net-tools Docker container 21 Zephyr's net-tools Docker container already contains Leshan, so if you don't want to set the enviro… 22 use the pre-made docker. 26 cd tools/net-tools/docker 27 docker build -t net-tools . 32 cd tools/net-tools/ 33 sudo ./net-setup.sh --config docker.conf start 38 …--hostname=net-tools --name=net-tools --ip=192.0.2.2 --ip6=2001:db8::2 -p 8080:8080 -p 8081:8081 -… [all …]
|
/Zephyr-latest/samples/net/sockets/sntp_client/ |
D | README.rst | 1 .. zephyr:code-sample:: sntp-client 3 :relevant-api: bsd_sockets sntp 25 See the `net-tools`_ project for more details. 30 .. _`net-tools`: https://github.com/zephyrproject-rtos/net-tools target in Building and Running 32 Wi-Fi 35 The IPv4 Wi-Fi support can be enabled in the sample with 36 :ref:`Wi-Fi snippet <snippet-wifi-ipv4>`.
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | ppp.rst | 3 Point-to-Point Protocol (PPP) Support 13 `Point-to-Point Protocol 14 <https://en.wikipedia.org/wiki/Point-to-Point_Protocol>`_ (PPP) is a data link 28 `RFC1661 <https://tools.ietf.org/html/rfc1661>`__) 29 * HDLC (High-level data link control, 30 `RFC1662 <https://tools.ietf.org/html/rfc1662>`__) 32 `RFC1332 <https://tools.ietf.org/html/rfc1332>`__) 34 `RFC5072 <https://tools.ietf.org/html/rfc5072>`__) 36 For using PPP with a cellular modem, see :zephyr:code-sample:`cellular-modem` sample 42 See the `net-tools README`_ file for more details on how to test the Zephyr PPP [all …]
|
D | dns_resolve.rst | 14 to `IETF RFC1035 on Domain Implementation and Specification <https://tools.ietf.org/html/rfc1035>`_. 23 See `IETF RFC6762 <https://tools.ietf.org/html/rfc6762>`_ for more details 26 The link-local multicast name resolution (LLMNR) client resolver support can be 28 See `IETF RFC4795 <https://tools.ietf.org/html/rfc4795>`_ for more details 32 :zephyr_file:`subsys/net/lib/dns/Kconfig`. The DNS resolver API can be found at 33 :zephyr_file:`include/zephyr/net/dns_resolve.h`. 38 See :zephyr:code-sample:`dns-resolve` sample application for details.
|
/Zephyr-latest/samples/net/sockets/txtime/ |
D | README.rst | 1 .. zephyr:code-sample:: so_txtime 3 :relevant-api: bsd_sockets ethernet 27 ``echo-server`` application from `net-tools`_ project to catch these and 30 to create an ``AF_PACKET`` type socket. In this case, the ``echo-server`` 36 .. _`net-tools`: https://github.com/zephyrproject-rtos/net-tools target in Building and Running
|
/Zephyr-latest/samples/net/sockets/coap_client/ |
D | README.rst | 1 .. zephyr:code-sample:: coap-client 3 :relevant-api: coap 20 .. code-block:: none 30 See the `net-tools`_ project for more details. 38 .. code-block:: console 47 .. _`net-tools`: https://github.com/zephyrproject-rtos/net-tools target
|
/Zephyr-latest/samples/net/sockets/websocket_client/ |
D | README.rst | 1 .. zephyr:code-sample:: sockets-websocket-client 3 :relevant-api: bsd_sockets websocket 15 :zephyr_file:`samples/net/sockets/websocket_client`. 20 - :ref:`networking_with_host` 28 Build websocket-client sample application like this: 30 .. zephyr-app-commands:: 31 :zephyr-app: samples/net/sockets/websocket_client 41 ``overlay-tls.conf`` overlay file enabled using these commands: 43 .. zephyr-app-commands:: 44 :zephyr-app: samples/net/sockets/websocket_client [all …]
|
/Zephyr-latest/samples/net/sockets/coap_server/ |
D | README.rst | 1 .. zephyr:code-sample:: coap-server 3 :relevant-api: coap coap_service 15 service's name. A linker file is required, see ``sections-ram.ld`` for an example. 21 site-local IPv6 multicast address reserved for CoAP nodes. 25 .. code-block:: none 32 /location-query 33 /large-update 36 against coap-server. 45 See the `net-tools`_ project for more details 53 .. code-block:: console [all …]
|
/Zephyr-latest/samples/net/syslog_net/ |
D | README.rst | 1 .. zephyr:code-sample:: syslog-net 3 :relevant-api: log_backend log_ctrl 12 See https://tools.ietf.org/html/rfc5424 and https://tools.ietf.org/html/rfc5426 16 :zephyr_file:`samples/net/syslog_net`. 21 - :ref:`networking_with_host` 29 .. code-block:: cfg 38 .. code-block:: console 48 .. zephyr-app-commands:: 49 :zephyr-app: samples/net/syslog_net 55 Wi-Fi [all …]
|