Home
last modified time | relevance | path

Searched refs:data_to_receive (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/net/socket/af_packet/src/
Dmain.c223 uint8_t data_to_receive[sizeof(data_to_send) + HDR_SIZE]; in ZTEST() local
251 memset(&data_to_receive, 0, sizeof(data_to_receive)); in ZTEST()
256 ret = zsock_recvfrom(sock3, data_to_receive, sizeof(data_to_receive), in ZTEST()
260 zassert_mem_equal(data_to_receive, data_to_send, sizeof(data_to_send), in ZTEST()
265 memset(&data_to_receive, 0, sizeof(data_to_receive)); in ZTEST()
274 ret = zsock_recvfrom(sock1, data_to_receive, sizeof(data_to_receive), 0, in ZTEST()
279 zassert_mem_equal(&data_to_receive[HDR_SIZE], data_to_send, in ZTEST()
302 uint8_t data_to_receive[32]; in ZTEST() local
345 ret = zsock_recvfrom(sock1, data_to_receive, sizeof(data_to_receive), in ZTEST()
355 zassert_mem_equal(data_to_send, data_to_receive, sizeof(data_to_send), in ZTEST()
[all …]
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c1958 uint8_t data_to_receive[sizeof(tx_buf) + MAX_HDR_SIZE]; in test_check_ttl() local
2003 ret = zsock_recvfrom(sock_p, data_to_receive, sizeof(data_to_receive), 0, in test_check_ttl()
2011 zassert_mem_equal(&data_to_receive[hdr_size], &tx_buf, in test_check_ttl()
2017 (struct net_ipv4_hdr *)&data_to_receive[0]; in test_check_ttl()
2030 (struct net_ipv6_hdr *)&data_to_receive[0]; in test_check_ttl()