zephyr/samples
Jukka Rissanen 99693bee5f net: socket: Change the protocol field for AF_PACKET sockets
In order to be compatible with Linux AF_PACKET socket calls, the
protocol field needs to be in network byte order.
So for example, if user wants to receive all packets, then the
protocol field needs to be set as "htons(ETH_P_ALL)".
See Linux manual page at
https://www.man7.org/linux/man-pages/man7/packet.7.html
for details.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-05-29 10:48:34 -07:00
..
application_development samples: code_relocation_nocopy: add stm32f769i_disco board 2024-05-16 15:52:01 +02:00
arch samples: pktqueue: remove main.h 2024-05-21 20:54:13 -04:00
basic convert: use k_uptime_seconds 2024-05-14 09:32:01 +02:00
bluetooth Bluetooth: samples: Switch to one-time adv 2024-05-29 10:48:04 -07:00
boards Bluetooth: samples: Switch to one-time adv 2024-05-29 10:48:04 -07: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 boards: nordic: 54l: use wdt31 instead of wdt30 2024-05-24 18:00:47 -04: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 samples: lvgl: fix accelerometer_chart compile 2024-05-24 18:03:44 -04:00
net net: socket: Change the protocol field for AF_PACKET sockets 2024-05-29 10:48:34 -07:00
philosophers samples: philosophers: remove redundant items in prj.conf 2024-02-01 05:26:24 -05:00
posix samples: net: Exclude native_posix when socket service lib is used 2024-05-29 11:59:51 +02:00
sensor samples: sensors: nucleo_f756zg added to die_temp_polling 2024-05-27 08:15:53 -07:00
shields samples: shields: x_nucleo_iks01a3: Fix deprecated config fragment 2024-03-22 10:06:04 +01:00
subsys Bluetooth: samples: Switch to one-time adv 2024-05-29 10:48:04 -07: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 samples: psa_crypto: fix setting of TF-M's CRYPTO_ENGINE_BUF_SIZE 2024-05-29 04:56:40 -07:00
userspace build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
classic.rst doc: fix top samples doc index 2021-03-09 17:48:18 -05:00
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