zephyr/samples
Marcin Niestroj a15cc704e0 samples: net: echo_server: set IPV6_V6ONLY
This sample assumes that two separate sockets can be bound on IPv4 and
IPv6. On Linux (via Native Simulator Offloaded Sockets) this is possible
when there is no IPv4 to IPv6 mapping. Same can be true to other offloaded
sockets.

CONFIG_NET_IPV4_MAPPING_TO_IPV6 is disabled for this sample, so IPv4 to
IPv6 mapping is disabled for Zephyr native IPv6 layer. For offloaded
sockets this option does not define whether mapping is enabled or not, so
try to unconditionally (and without error checking) disable it.

This patch fixes compatibility with NSOS, since two separate sockets can be
bound on the same address and port, one for IPv4 and second for IPv6.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2024-05-17 11:12:43 +02:00
..
application_development samples: code_relocation_nocopy: add stm32f769i_disco board 2024-05-16 15:52:01 +02:00
arch samples: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
basic convert: use k_uptime_seconds 2024-05-14 09:32:01 +02:00
bluetooth samples: Bluetooth: HFP_AG: Initialize version 2024-05-16 09:15:49 +02:00
boards samples: boards: nrf: nrfx_prs: extend regex to test default task 2024-05-15 16:07:51 +02:00
compression hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
cpp samples: cpp: add a Hello, world! C++ app 2024-01-17 09:56:34 +01:00
drivers samples: drivers: spi_flash: Add nRF54H20DK support 2024-05-17 10:34:31 +02:00
fuel_gauge hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
hello_world samples: hello_world: Use full board target string for hwmv2 boards 2024-03-21 20:10:46 +01:00
kernel arch: move arch_interface.h under zephyr/arch 2024-03-25 09:58:35 +00:00
modules drivers: can: set default initial bitrates via Kconfig 2024-05-16 09:23:59 +02:00
net samples: net: echo_server: set IPV6_V6ONLY 2024-05-17 11:12:43 +02:00
philosophers samples: philosophers: remove redundant items in prj.conf 2024-02-01 05:26:24 -05:00
posix samples/posix: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
sensor samples: sensor: qdec: Run sample on nrf54h20 2024-05-14 13:25:27 +02:00
shields samples: shields: x_nucleo_iks01a3: Fix deprecated config fragment 2024-03-22 10:06:04 +01:00
subsys samples: usb: cdc_acm: set USBD_CDC_ACM_LOG_LEVEL to error 2024-05-15 17:29:24 +01:00
synchronization samples: synchronization: add static thread 2023-11-16 09:25:33 +01:00
sysbuild samples: sysbuild: add hello world for multiple board targets 2024-05-13 16:09:01 -04:00
tfm_integration mbedtls: add specific Kconfig option for MBEDTLS_USE_PSA_CRYPTO 2024-05-09 10:27:30 +02:00
userspace boards: arm: stm32f756 with all mpu regions when testing in userspace 2024-04-30 15:11:57 +02:00
classic.rst
index.rst samples: move with_mcuboot sample to samples/sysbuild 2024-05-13 16:09:01 -04:00
sample_definition_and_criteria.rst docs: Sample definition: Replace native_posix with native_sim 2023-11-20 12:02:48 +01:00