zephyr/samples/net
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
..
capture
cellular_modem samples: net: cellular modem: Select modem backend statistics 2024-05-20 14:40:06 +03:00
cloud samples: net: Add net_if.h include 2024-05-20 14:25:44 +03:00
common
dhcpv4_client
dns_resolve samples: net: Exclude native_posix when socket service lib is used 2024-05-29 11:59:51 +02:00
dsa net: socket: Change the protocol field for AF_PACKET sockets 2024-05-29 10:48:34 -07:00
gptp
gsm_modem
ipv4_autoconf
lldp
lwm2m_client
mdns_responder
mqtt_publisher
mqtt_sn_publisher
openthread/coprocessor
promiscuous_mode
secure_mqtt_sensor_actuator samples: net: add secure MQTT sensor/actuator device sample 2024-05-23 07:51:04 -04:00
sockets net: socket: Change the protocol field for AF_PACKET sockets 2024-05-29 10:48:34 -07:00
stats
syslog_net
telnet
tftp_client samples: net: tftp-client: Configs cleanup 2024-05-21 11:51:27 +01:00
virtual
vlan
wifi
wpan_serial
wpanusb
zperf
net.rst