zephyr/tests/net/socket/register
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
..
src net: socket: Change the protocol field for AF_PACKET sockets 2024-05-29 10:48:34 -07:00
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
prj.conf tests: net: sockets: Remove use of NET_SOCKETS_POSIX_NAMES 2024-03-27 13:40:13 -05:00
testcase.yaml test: net: socket: do not enable USE_PSA and all PSA features 2024-05-29 10:47:37 -07:00