zephyr/tests/net/socket
Lukasz Majewski 4987c7ba47 test: af_packet: Do not change proto to network order when creating socket
The setup_socket() function calls socket() with proto changed to network
order. In this case functions with zsock_* prefix are called instead of
zpacket_*. The problem is with 'packet_is_supported()' method from
sockets_packet.c, which returns false when ETH_P_ALL proto is converted
with htons().

This patch fixes this issue by removing the htons() call.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Suggested-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2021-01-15 09:30:17 +02:00
..
af_packet test: af_packet: Do not change proto to network order when creating socket 2021-01-15 09:30:17 +02:00
getaddrinfo tests: net: Test resolving literal IPv6 addresses 2020-12-22 15:44:00 +02:00
getnameinfo tests: add filter for some tests using newlib 2020-12-16 08:57:40 -05:00
misc tests: add filter for some tests using newlib 2020-12-16 08:57:40 -05:00
net_mgmt tests: net: Adjust the thread priorities 2020-11-20 12:57:29 +02:00
poll tests: net: Adjust the thread priorities 2020-11-20 12:57:29 +02:00
register tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
select tests: add filter for some tests using newlib 2020-12-16 08:57:40 -05:00
socketpair tests: add filter for some tests using newlib 2020-12-16 08:57:40 -05:00
tcp tests: add filter for some tests using newlib 2020-12-16 08:57:40 -05:00
udp tests: add filter for some tests using newlib 2020-12-16 08:57:40 -05:00
websocket zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
socket_helpers.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00