zephyr/tests/net/socket/udp
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
..
src tests: net: socket: Avoid macro error with zsock_sendto 2024-06-10 15:03:20 -05:00
CMakeLists.txt tests: net: socket: udp: verify that sent DGRAM was not fragmented 2022-06-01 11:17:07 +02:00
generate-c-string.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
prj.conf posix: deprecate POSIX_MAX_FDS and add POSIX_DEVICE_IO 2024-06-04 16:27:12 -05:00
testcase.yaml tests: net: udp: Verify that packet is dropped from stats 2023-12-04 15:07:43 +01:00