zephyr/tests/net
Jukka Rissanen 2b4e137656 tests: net: socket: Avoid macro error with zsock_sendto
The preprocessor gives this error when calling zsock_sendto
in user mode when there is a mismatch with amount of parameters
to the sendto wrapper call.

  tests/net/socket/udp/src/main.c: In function ‘comm_sendto_recvfrom’:
  tests/net/socket/udp/src/main.c:125:46: error: macro "zsock_sendto" \
                                 requires 6 arguments, but only 5 given
  125 |                             0, &addr, addrlen);
      |                                              ^
  In file included from include/zephyr/net/socket.h:1381,
                 from tests/net/socket/udp/src/main.c:15:
  include/generated/zephyr/syscalls/socket.h:266: note: \
                      macro "zsock_sendto" defined here
  266 | #define zsock_sendto(sock, buf, len, flags, dest_addr, addrlen)

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-06-10 15:03:20 -05:00
..
6lo net: Provide separate configs for TX/RX memory pool for variable bufs 2024-03-29 15:56:07 -05:00
all tests: net: all: Enable IPv4 ACD in the test suite 2024-06-10 00:59:28 -07:00
arp tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
bridge
buf tests: net: buf: Better clone coverage 2024-03-29 16:00:39 -05:00
buf_simple net: buf_simple: Add support for 40 bit data type 2024-03-26 19:32:27 -04:00
checksum_offload tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
conn_mgr_conn
conn_mgr_monitor test: net: conn_mgr: Add IPv4/IPv6 notif test coverage 2024-06-10 00:59:34 -07:00
context tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -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
hostname tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
icmp
icmpv4
icmpv6
ieee802154 modules: mbedtls: remove the default enabling of features 2024-05-31 16:33:06 -05:00
iface tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
igmp tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
ip-addr tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
ipv4_fragment net: Use always zephyr/posix/fcntl.h 2024-03-27 13:40:13 -05:00
ipv6 tests: net: ipv6: Add more test cases involving iface state changes 2024-05-20 14:26:24 +03:00
ipv6_fragment tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
lib tests: lwm2m: Allow server address to be changed 2024-06-07 15:05:09 +02:00
mgmt tests: Add a test for duplicate event handlers 2024-03-08 09:35:04 +01:00
mld tests: net: mld: Add more test cases involving iface state changes 2024-05-20 14:26:24 +03:00
mocks
neighbor net/ip: Removing useless extra data capability in neighbors 2024-03-01 15:33:53 +01:00
net_pkt tests: net: net_pkt: Fix typo 2024-05-23 07:46:17 -04:00
npf
offloaded_netdev
pm posix: deprecate POSIX_MAX_FDS and add POSIX_DEVICE_IO 2024-06-04 16:27:12 -05:00
ppp/driver
promiscuous tests|scripts/net: Change native_posix references to native_sim 2024-03-20 15:43:05 +01:00
ptp/clock drivers: ptp_clock_nxp_enet: misc fixes 2024-04-23 15:31:33 +02:00
route tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
route_mcast tests: net: mcast_routing: add verification of multiple interfaces 2024-04-17 14:39:35 +02:00
shell tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
socket tests: net: socket: Avoid macro error with zsock_sendto 2024-06-10 15:03:20 -05:00
tcp tests: net: tcp: Replace test case numbers with enums 2024-04-15 12:51:52 +02:00
traffic_class tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
trickle
tx_timestamp tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
udp tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
utils
virtual tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
vlan net: vlan: Add a function to check if interface is VLAN one 2024-04-25 11:06:23 +00:00
wifi/wifi_nm tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00