zephyr/tests/net
Seppo Takalo 4c6dd4c7b7 net: lib: coap_client: check poll() condition before retrying CoAP msg
Refactor the CoAP retry handling into the handle_poll() function,
so that we only try to send retries if the socket reports POLLOUT.

Also move the receiving into same loop, so when poll() reports POLLIN
we recv() the message and handle it before proceeding to other sockets.

Also fix tests to handle POLLOUT flag and add support for testing
multiple clients.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2024-10-31 14:17:58 -05:00
..
6lo net: Provide separate configs for TX/RX memory pool for variable bufs 2024-03-29 15:56:07 -05:00
all net: Deprecate CONFIG_NET_SOCKETS_POLL_MAX 2024-10-14 13:01:51 +02:00
arp tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
bridge tests: net: bridge: Update the bridging tests 2024-09-06 18:01:15 -04:00
checksum_offload lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
conn_mgr_conn test: Apply semantic patch file ztest_strcmp.cocci 2024-06-14 19:25:42 +02:00
conn_mgr_monitor tests: net: conn_mgr_monitor: Improve test reliability under heavy load 2024-10-15 13:52:24 +02:00
context lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
dhcpv4 tests: net: Exclude native_posix because of socket service 2024-05-20 14:25:44 +03:00
dhcpv6 tests: net: dhcpv6: Reapply LL address on iface up 2024-05-14 18:20:56 -04:00
ethernet_mgmt tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
hostname lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
icmp lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
icmpv4 lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
icmpv6 lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
ieee802154 tests/net: Don't test on native_posix 2024-09-25 04:04:36 -04:00
iface lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
igmp test: net: igmp: Cleanup asserts 2024-10-21 18:41:47 -05:00
ip-addr tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
ipv4_fragment lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
ipv6 net: ipv6: Make Multicast Listener Discovery API public 2024-10-08 17:00:06 +02:00
ipv6_fragment lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
lib net: lib: coap_client: check poll() condition before retrying CoAP msg 2024-10-31 14:17:58 -05:00
mgmt tests: Add a test for duplicate event handlers 2024-03-08 09:35:04 +01:00
mld net: ipv6: Make Multicast Listener Discovery API public 2024-10-08 17:00:06 +02:00
mocks test: net: buf_simple: Add unit tests for simple buffers 2023-03-15 10:50:16 +01:00
neighbor net/ip: Removing useless extra data capability in neighbors 2024-03-01 15:33:53 +01:00
net_pkt tests: net: pkt: Add build test for allocation statistics 2024-10-22 20:38:57 +02:00
npf tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
offloaded_netdev test: net: offloaded_netdev: Add tests for IPv4/6 address registration 2024-09-23 14:08:34 +01:00
pm tests/samples: net: Fix the max number of file descriptors 2024-09-30 17:12:15 +01:00
ppp/driver lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
promiscuous tests|scripts/net: Change native_posix references to native_sim 2024-03-20 15:43:05 +01:00
ptp/clock tests/net: Don't test on native_posix 2024-09-25 04:04:36 -04:00
route lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
route_mcast lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
shell lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
socket net: sockets: socket_service: remove k_work related code 2024-10-23 11:32:21 +02:00
tcp misc: move lorem ipsum text to zephyr/misc/lorem_ipsum.h 2024-08-02 03:31:06 -04:00
traffic_class tests/net: Don't test on native_posix 2024-09-25 04:04:36 -04:00
trickle lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
tx_timestamp lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
udp lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
utils tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
virtual lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
vlan lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
wifi tests: net: wifi: Disable native/64 from tests 2024-10-25 22:42:28 +01:00