zephyr/subsys/net
Robert Lubos 162c0f64c2 tests: net: websocket: Fix test execution on 64-bit platforms
Instead of passing the test parameters to the websocket function, by
casting the pointer to integer (which may not work on 64-bit platform
due to int/pointer size mismatch), let the test allocate a file
descriptor, and initialize it with test context. The tested functions
expect a file descriptor as an argument anyway, so it's a more intuitive
approach.

The conditional test code within WS implementation can retrieve the test
context by using FD APIs to obtain the object represented by the FD.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-04-05 15:01:50 +02:00
..
ip net: shell: Fix shell freeze 2023-03-25 07:49:18 -04:00
l2 net: dummy L2 for offloaded ifaces 2023-03-20 09:53:25 +01:00
lib tests: net: websocket: Fix test execution on 64-bit platforms 2023-04-05 15:01:50 +02:00
pkt_filter subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
buf_simple.c net: buf: Factor out net_buf_simple to separate source file 2023-03-15 10:50:16 +01:00
buf.c net: buf: Factor out net_buf_simple to separate source file 2023-03-15 10:50:16 +01:00
CMakeLists.txt net: buf: Factor out net_buf_simple to separate source file 2023-03-15 10:50:16 +01:00
hostname.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
Kconfig Kconfig: net: Remove deprecated NET_BUF_USER_DATA_LEN 2022-12-01 15:50:35 +01:00
Kconfig.hostname
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net